================ @@ -1688,7 +1688,7 @@ void PolynomialMultiplyRecognize::setupPreSimplifier(Simplifier &S) { if (I->getOpcode() != Instruction::Or) return nullptr; ConstantInt *Msb = dyn_cast<ConstantInt>(I->getOperand(1)); - if (!Msb || Msb->getZExtValue() != Msb->getType()->getSignBit()) + if (!Msb || Msb->getZExtValue() != Msb->getIntegerType()->getSignBit()) ---------------- nikic wrote:
```suggestion if (!Msb || !Msb->getValue().isSignMask()) ``` 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