[llvm] [ConstraintElimination] Add support for UCMP/SCMP intrinsics (PR #97974)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 10 11:58:57 PDT 2024
================
@@ -1750,6 +1774,8 @@ static bool eliminateConstraints(Function &F, DominatorTree &DT, LoopInfo &LI,
Changed |= Simplified;
} else if (auto *MinMax = dyn_cast<MinMaxIntrinsic>(Inst)) {
Changed |= checkAndReplaceMinMax(MinMax, Info, ToRemove);
+ } else if (auto *CmpIntrinsic = dyn_cast<class CmpIntrinsic>(Inst)) {
----------------
nikic wrote:
Oh, I see. In that case please make it `auto *Cmp =` or something...
https://github.com/llvm/llvm-project/pull/97974
More information about the llvm-commits
mailing list