[clang] [lldb] [llvm] [APInt] Fix APInt constructions where value does not fit bitwidth (NFCI) (PR #80309)

David Green via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 14 23:14:05 PDT 2024


================
@@ -1159,7 +1159,9 @@ class ARMOperand : public MCParsedAsmOperand {
     if (!isImm()) return false;
     const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
     if (!CE) return false;
----------------
davemgreen wrote:

Can this check that CE->getActiveBits() > 32?

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


More information about the cfe-commits mailing list