Slower code with "-C target-cpu=native"

In https://www.agner.org/optimize/blog/read.php?i=285#285 Agner Fog made this observation about the Piledriver architecture:

LLVM doesn't seem to be aware of that, as it happily uses AVX if enabled.

15 Likes