---
title: "LLVM Dealing With Slower Performance On AMD CPUs When Targeting AMD Zen Optimizations"
url: https://daily.dev/posts/llvm-dealing-with-slower-performance-on-amd-cpus-when-targeting-amd-zen-optimizations-fyxiuoam4
source_url: https://www.phoronix.com/news/LLVM-Slower-With-AMD-Opts
type: article
source: "Phoronix"
published: 2024-05-10T20:13:19.762Z
updated: 2026-03-15T02:26:19.805Z
tags: ["amd", "general-programming", "performance"]
reading_time: 1
upvotes: 1
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# LLVM Dealing With Slower Performance On AMD CPUs When Targeting AMD Zen Optimizations

**[Phoronix](https://daily.dev/sources/phoronix)** · 1 min read · 1 upvotes · 0 comments

## Summary

LLVM is experiencing slower performance on AMD CPUs when targeting AMD Zen optimizations, specifically a 300% slowdown on Zen 4 when optimized for znver4 or skylake. There is a bug report addressing the issue and a suggestion to use i32 divisions instead of i64 divisions on AMD CPUs.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.phoronix.com/news/LLVM-Slower-With-AMD-Opts>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#amd](https://daily.dev/tags/amd), [#general-programming](https://daily.dev/tags/general-programming), [#performance](https://daily.dev/tags/performance)

[View this post on daily.dev](https://daily.dev/posts/llvm-dealing-with-slower-performance-on-amd-cpus-when-targeting-amd-zen-optimizations-fyxiuoam4)
