diff options
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2013-03-24 19:37:04 +0000 |
|---|---|---|
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2013-03-24 19:37:04 +0000 |
| commit | 9619fc0bd133810acbb4d342630e9d9784242a84 (patch) | |
| tree | ce1ad9a21199a1645bedd53819b6609504a2af6f | |
| parent | 99ffcc83e6872f7535d009d7150df4bd12953bc5 (diff) | |
| download | bcm5719-llvm-9619fc0bd133810acbb4d342630e9d9784242a84.tar.gz bcm5719-llvm-9619fc0bd133810acbb4d342630e9d9784242a84.zip | |
Clean up Sparc patterns.
The types of register variables no longer need to be specified in output
patterns.
llvm-svn: 177845
| -rw-r--r-- | llvm/lib/Target/Sparc/SparcInstrInfo.td | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Target/Sparc/SparcInstrInfo.td b/llvm/lib/Target/Sparc/SparcInstrInfo.td index 331d35991de..c3810b2a4d6 100644 --- a/llvm/lib/Target/Sparc/SparcInstrInfo.td +++ b/llvm/lib/Target/Sparc/SparcInstrInfo.td @@ -762,7 +762,7 @@ def POPCrr : F3_1<2, 0b101110, (outs IntRegs:$dst), (ins IntRegs:$src), "popc $src, $dst", []>, Requires<[HasV9]>; def : Pat<(ctpop i32:$src), - (POPCrr (SLLri i32:$src, 0))>; + (POPCrr (SLLri $src, 0))>; //===----------------------------------------------------------------------===// // Non-Instruction Patterns @@ -777,9 +777,9 @@ def : Pat<(i32 imm:$val), // subc def : Pat<(subc i32:$b, i32:$c), - (SUBCCrr i32:$b, i32:$c)>; + (SUBCCrr $b, $c)>; def : Pat<(subc i32:$b, simm13:$val), - (SUBCCri i32:$b, imm:$val)>; + (SUBCCri $b, imm:$val)>; // Global addresses, constant pool entries def : Pat<(SPhi tglobaladdr:$in), (SETHIi tglobaladdr:$in)>; @@ -789,9 +789,9 @@ def : Pat<(SPlo tconstpool:$in), (ORri G0, tconstpool:$in)>; // Add reg, lo. This is used when taking the addr of a global/constpool entry. def : Pat<(add i32:$r, (SPlo tglobaladdr:$in)), - (ADDri i32:$r, tglobaladdr:$in)>; + (ADDri $r, tglobaladdr:$in)>; def : Pat<(add i32:$r, (SPlo tconstpool:$in)), - (ADDri i32:$r, tconstpool:$in)>; + (ADDri $r, tconstpool:$in)>; // Calls: def : Pat<(call tglobaladdr:$dst), |

