[llvm] VT: teach isImpliedCondOperands about samesign (PR #120263)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 18 07:38:24 PST 2024


================
@@ -9223,8 +9223,8 @@ static bool isTruePredicate(CmpInst::Predicate Pred, const Value *LHS,
 /// Return true if "icmp Pred BLHS BRHS" is true whenever "icmp Pred
 /// ALHS ARHS" is true.  Otherwise, return std::nullopt.
 static std::optional<bool>
-isImpliedCondOperands(CmpInst::Predicate Pred, const Value *ALHS,
-                      const Value *ARHS, const Value *BLHS, const Value *BRHS) {
+isImpliedCondOperands(CmpPredicate Pred, const Value *ALHS, const Value *ARHS,
----------------
dtcxzyw wrote:

This change looks unnecessary.


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


More information about the llvm-commits mailing list