Thanks to Vitaly Buka for helping catch this.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 4965 Build 4965: arc lint + arc unit
Event Timeline
lib/Target/ARM/ARMInstrThumb2.td | ||
---|---|---|
115 | Why not just use INT_MIN? |
lib/Target/ARM/ARMInstrThumb2.td | ||
---|---|---|
115 | getZExtValue() would have returned the unsigned value, i.e. (uint64_t)2147483648 |
llvm/trunk/lib/Target/ARM/ARMInstrThumb2.td | ||
---|---|---|
116 ↗ | (On Diff #92641) | I think you could simplify this pattern a bit like this: def t2_so_imm_neg : Operand<i32>, ImmLeaf<i32, [{ return Imm && ARM_AM::getT2SOImmVal(-(uint32_t)Imm) != -1; }] ... |
Why not just use INT_MIN?