[llvm] [SimplifyCFG] Remove conservative fcmp guard from speculativelyExecuteBB (PR #211611)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 25 06:19:44 PDT 2026


================
@@ -3234,11 +3234,7 @@ bool SimplifyCFGOpt::speculativelyExecuteBB(CondBrInst *BI,
   if (!Options.SpeculateBlocks)
     return false;
 
-  // Be conservative for now. FP select instruction can often be expensive.
   Value *BrCond = BI->getCondition();
----------------
fhahn wrote:

I think this can now mmove closer to the next new first use?

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


More information about the llvm-commits mailing list