================ @@ -1577,7 +1577,7 @@ Value *PolynomialMultiplyRecognize::generate(BasicBlock::iterator At, static bool hasZeroSignBit(const Value *V) { if (const auto *CI = dyn_cast<const ConstantInt>(V)) - return (CI->getType()->getSignBit() & CI->getSExtValue()) == 0; + return (CI->getIntegerType()->getSignBit() & CI->getSExtValue()) == 0; ---------------- nikic wrote:
```suggestion return CI->getValue().isNonNegative(); ``` https://github.com/llvm/llvm-project/pull/75217 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits