[PATCH] D46662: [X86] condition branches folding for three-way conditional codes

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 31 09:15:44 PDT 2019


lebedev.ri added inline comments.


================
Comment at: llvm/trunk/lib/Target/X86/X86TargetMachine.cpp:455-456
 bool X86PassConfig::addILPOpts() {
+  if (EnableCondBrFoldingPass)
+    addPass(createX86CondBrFolding());
   addPass(&EarlyIfConverterID);
----------------
So wait, shouldn't this respect `FeatureMergeToThreeWayBranch`?


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D46662/new/

https://reviews.llvm.org/D46662





More information about the llvm-commits mailing list