aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/VE/VEInstrInfo.td
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/VE/VEInstrInfo.td')
-rw-r--r--llvm/lib/Target/VE/VEInstrInfo.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/VE/VEInstrInfo.td b/llvm/lib/Target/VE/VEInstrInfo.td
index 75ef3b7336db..b459fbcad909 100644
--- a/llvm/lib/Target/VE/VEInstrInfo.td
+++ b/llvm/lib/Target/VE/VEInstrInfo.td
@@ -44,8 +44,8 @@ def ULO7 : SDNodeXForm<imm, [{
SDLoc(N), MVT::i32);
}]>;
def LO7 : SDNodeXForm<imm, [{
- return CurDAG->getTargetConstant(SignExtend32(N->getSExtValue(), 7),
- SDLoc(N), MVT::i32);
+ return CurDAG->getSignedTargetConstant(SignExtend64(N->getSExtValue(), 7),
+ SDLoc(N), MVT::i32);
}]>;
def MIMM : SDNodeXForm<imm, [{
return CurDAG->getTargetConstant(val2MImm(getImmVal(N)),