summaryrefslogtreecommitdiffstats
path: root/llvm/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
commited6c0408fa6a23ee3e7f076d561044b602c9decf (patch)
tree9bd4a0fe0a2a808eee8a0e0afaa5aa4fdd8f5acd /llvm/lib/Target/MSP430
parent6a81d3026945c39db6371afad39823ab85795bde (diff)
downloadbcm5719-llvm-ed6c0408fa6a23ee3e7f076d561044b602c9decf.tar.gz
bcm5719-llvm-ed6c0408fa6a23ee3e7f076d561044b602c9decf.zip
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. llvm-svn: 160189
Diffstat (limited to 'llvm/lib/Target/MSP430')
-rw-r--r--llvm/lib/Target/MSP430/MSP430InstrInfo.td6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/MSP430/MSP430InstrInfo.td b/llvm/lib/Target/MSP430/MSP430InstrInfo.td
index 4348dd5e54e..f003574eda0 100644
--- a/llvm/lib/Target/MSP430/MSP430InstrInfo.td
+++ b/llvm/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))]>;
}
OpenPOWER on IntegriCloud