[llvm] [ConstraintElim] Refactor `checkCondition`. NFC. (PR #75319)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 13 03:54:22 PST 2023


================
@@ -1293,9 +1291,10 @@ static std::optional<bool> checkCondition(CmpInst *Cmp, ConstraintInfo &Info,
 
     LLVM_DEBUG({
       if (*ImpliedCondition) {
-        dbgs() << "Condition " << *Cmp;
+        dbgs() << "Condition " << CmpInst::getPredicateName(Pred) << " " << *A
----------------
dtcxzyw wrote:

Done.

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


More information about the llvm-commits mailing list