[llvm] [InstCombine] Optimize redundant floating point comparisons in `or` inst (PR #158097)
Rajveer Singh Bharadwaj via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 13 04:03:49 PDT 2025
================
@@ -1850,6 +1850,26 @@ static Value *simplifyAndOrOfFCmps(const SimplifyQuery &Q, FCmpInst *LHS,
: ConstantInt::getBool(LHS->getType(), !IsAnd);
}
+ Value *V0;
+ const APFloat *V0Op1, *V1Op1;
----------------
Rajveer100 wrote:
Yep, docs indeed :)
https://github.com/llvm/llvm-project/pull/158097
More information about the llvm-commits
mailing list