We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff78cd5 commit f85be32Copy full SHA for f85be32
llvm/lib/Target/SystemZ/SystemZOperands.td
@@ -262,8 +262,8 @@ def UIMM16 : SDNodeXForm<imm, [{
262
263
// Truncate an immediate to a 32-bit signed quantity.
264
def SIMM32 : SDNodeXForm<imm, [{
265
- return CurDAG->getTargetConstant(int32_t(N->getZExtValue()), SDLoc(N),
266
- MVT::i64);
+ return CurDAG->getSignedTargetConstant(int32_t(N->getZExtValue()), SDLoc(N),
+ MVT::i64);
267
}]>;
268
269
// Negate and then truncate an immediate to a 32-bit unsigned quantity.
0 commit comments