[llvm] [GlobalIsel] Combine logic of floating point compares (PR #81886)
Thorsten Schütt via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 20 00:25:49 PST 2024
================
@@ -6814,12 +6815,90 @@ bool CombinerHelper::tryFoldAndOrOrICmpsUsingRanges(GLogicalBinOp *Logic,
return true;
}
+bool CombinerHelper::tryFoldLogicOfFCmps(GLogicalBinOp *Logic,
+ BuildFnTy &MatchInfo) {
+ assert(Logic->getOpcode() != TargetOpcode::G_XOR && "unexpecte xor");
----------------
tschuett wrote:
`!=` ! The parameter is `GLogicalBinOp` which includes xor.
https://github.com/llvm/llvm-project/pull/81886
More information about the llvm-commits
mailing list