[llvm] [SimplifyCFG] Remove conservative fcmp guard from speculativelyExecuteBB (PR #211611)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 27 13:53:27 PDT 2026
================
@@ -3359,6 +3354,7 @@ bool SimplifyCFGOpt::speculativelyExecuteBB(CondBrInst *BI,
// Insert a select of the value of the speculated store.
if (SpeculatedStoreValue) {
IRBuilder<NoFolder> Builder(BI);
+ Value *BrCond = BI->getCondition();
----------------
fhahn wrote:
very minor, could still share with below
```suggestion
Value *BrCond = BI->getCondition();
// Insert a select of the value of the speculated store.
if (SpeculatedStoreValue) {
IRBuilder<NoFolder> Builder(BI);
```
https://github.com/llvm/llvm-project/pull/211611
More information about the llvm-commits
mailing list