diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-07-28 16:33:54 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-07-28 16:33:54 +0000 |
commit | 8b3184e540945583ccd761e0924ae80eff323118 (patch) | |
tree | 33d87f483e04317450764f9d3a511c826df57c15 /llvm/lib/Target | |
parent | 4356636fc02b090627e1fa82f2d94ae50c4f1aa1 (diff) | |
download | bcm5719-llvm-8b3184e540945583ccd761e0924ae80eff323118.tar.gz bcm5719-llvm-8b3184e540945583ccd761e0924ae80eff323118.zip |
ARM parsing and encoding for ADR.
The label does not have a '#' prefix. Add parsing and encoding tests.
llvm-svn: 136360
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r-- | llvm/lib/Target/ARM/ARMInstrInfo.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.td b/llvm/lib/Target/ARM/ARMInstrInfo.td index 6641cbd073b..42e91f4091b 100644 --- a/llvm/lib/Target/ARM/ARMInstrInfo.td +++ b/llvm/lib/Target/ARM/ARMInstrInfo.td @@ -1436,7 +1436,7 @@ let neverHasSideEffects = 1, isReMaterializable = 1 in // the instruction. The {24-21} opcode bits are set by the fixup, as we don't // know until then which form of the instruction will be used. def ADR : AI1<{0,?,?,0}, (outs GPR:$Rd), (ins adrlabel:$label), - MiscFrm, IIC_iALUi, "adr", "\t$Rd, #$label", []> { + MiscFrm, IIC_iALUi, "adr", "\t$Rd, $label", []> { bits<4> Rd; bits<12> label; let Inst{27-25} = 0b001; |