================ @@ -8728,9 +8928,9 @@ static bool combineCCMask(SDValue &CCReg, int &CCValid, int &CCMask) { auto *FalseVal = dyn_cast<ConstantSDNode>(CompareLHS->getOperand(1)); if (!FalseVal) return false; - if (CompareRHS->getAPIntValue() == FalseVal->getAPIntValue()) + if (CompareRHS->getZExtValue() == FalseVal->getZExtValue()) Invert = !Invert; - else if (CompareRHS->getAPIntValue() != TrueVal->getAPIntValue()) + else if (CompareRHS->getZExtValue() != TrueVal->getZExtValue()) ---------------- uweigand wrote:
These changes don't look correct to me? Why? https://github.com/llvm/llvm-project/pull/125970 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits