[llvm] [GlobalIsel] Combine logic of floating point compares (PR #81886)
Amara Emerson via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 20 00:12:33 PST 2024
Thorsten =?utf-8?q?Schütt?= <schuett at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/81886 at github.com>
================
@@ -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");
----------------
aemerson wrote:
Why checking for XOR? should be AND or OR?
https://github.com/llvm/llvm-project/pull/81886
More information about the llvm-commits
mailing list