clang -march=x86-64 is different from the generic x86-64 tuning #54472
Labels
backend:X86
question
A question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!
I was wondering why clang seems to prefer
add $1
overinc
when building Chromium, even though 0b7669f madeinc
no longer considered slow in the generic tuning.It seems it's because we pass
-march=x86-64
. Which is surprising to me, because that sounds generic enough.Consider:
Is this working as intended?
Adding
-mtune=generic
brings back theinc
instruction:The text was updated successfully, but these errors were encountered: