[llvm] LICM: teach hoistMinMax about samesign (PR #122730)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 13 07:57:51 PST 2025


================
@@ -2479,7 +2479,7 @@ static bool hoistMinMax(Instruction &I, Loop &L, ICFLoopSafetyInfo &SafetyInfo,
                                    (ICmpInst::isSigned(P1) ? "s" : "u") +
----------------
nikic wrote:

Use `*MatchingPred` here?

https://github.com/llvm/llvm-project/pull/122730


More information about the llvm-commits mailing list