summaryrefslogtreecommitdiff
path: root/lib/Target/MSP430
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-07-13 20:44:29 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-07-13 20:44:29 +0000
commit68c10a2ff74fe882cfd789983b2d0f12e42fb0ec (patch)
tree2eb1c748a9019ff5f8f2330d9db3c6a15e8af670 /lib/Target/MSP430
parent135fb455b72b1db12d93aa13b13872780db6315b (diff)
downloadllvm-68c10a2ff74fe882cfd789983b2d0f12e42fb0ec.tar.gz
llvm-68c10a2ff74fe882cfd789983b2d0f12e42fb0ec.tar.bz2
llvm-68c10a2ff74fe882cfd789983b2d0f12e42fb0ec.tar.xz
Remove variable_ops from call instructions in most targets.
Call instructions are no longer required to be variadic, and variable_ops should only be used for instructions that encode a variable number of arguments, like the ARM stm/ldm instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160189 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430')
-rw-r--r--lib/Target/MSP430/MSP430InstrInfo.td6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/MSP430/MSP430InstrInfo.td b/lib/Target/MSP430/MSP430InstrInfo.td
index 4348dd5e54..f003574eda 100644
--- a/lib/Target/MSP430/MSP430InstrInfo.td
+++ b/lib/Target/MSP430/MSP430InstrInfo.td
@@ -210,13 +210,13 @@ let isCall = 1 in
let Defs = [R12W, R13W, R14W, R15W, SRW],
Uses = [SPW] in {
def CALLi : II16i<0x0,
- (outs), (ins i16imm:$dst, variable_ops),
+ (outs), (ins i16imm:$dst),
"call\t$dst", [(MSP430call imm:$dst)]>;
def CALLr : II16r<0x0,
- (outs), (ins GR16:$dst, variable_ops),
+ (outs), (ins GR16:$dst),
"call\t$dst", [(MSP430call GR16:$dst)]>;
def CALLm : II16m<0x0,
- (outs), (ins memsrc:$dst, variable_ops),
+ (outs), (ins memsrc:$dst),
"call\t${dst:mem}", [(MSP430call (load addr:$dst))]>;
}