[llvm] [X86] Use generic CPU tuning when tune-cpu is empty (PR #83631)

via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 4 08:50:23 PST 2024


================
@@ -252,7 +252,7 @@ void X86Subtarget::initSubtargetFeatures(StringRef CPU, StringRef TuneCPU,
     CPU = "generic";
 
   if (TuneCPU.empty())
-    TuneCPU = "i586"; // FIXME: "generic" is more modern than llc tests expect.
+    TuneCPU = Is64Bit ? "x86-64" : "i586";
----------------
AtariDreams wrote:

Done!

https://github.com/llvm/llvm-project/pull/83631


More information about the llvm-commits mailing list