[PATCH] D16877: [X86] Enable LEA optimization pass by default

Quentin Colombet via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 10 16:59:55 PST 2016


qcolombet accepted this revision.
This revision is now accepted and ready to land.

================
Comment at: lib/Target/X86/X86OptimizeLEAs.cpp:40
@@ +39,3 @@
+    DisableX86LEAOpt("disable-x86-lea-opt", cl::Hidden,
+                     cl::desc("X86: Disable LEA optimizations."),
+                     cl::init(false));
----------------
I would have been fine just replacing the cl::init by true :).


http://reviews.llvm.org/D16877





More information about the llvm-commits mailing list