aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-07-24 20:47:38 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-07-24 20:47:38 +0000
commitace089079584cced3e3562d271f38b9d9ef3f8f8 (patch)
tree14794cdf639561a28a4c7cfa13a0a4f30f818cbf /lib/Target
parentcd3d6e4815bb5cc6b3e21ed62b8561eec8fbfd37 (diff)
downloadexternal_llvm-ace089079584cced3e3562d271f38b9d9ef3f8f8.zip
external_llvm-ace089079584cced3e3562d271f38b9d9ef3f8f8.tar.gz
external_llvm-ace089079584cced3e3562d271f38b9d9ef3f8f8.tar.bz2
Uh. It would be useful to actually print the operand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77004 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r--lib/Target/ARM/ARMInstrThumb2.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrThumb2.td b/lib/Target/ARM/ARMInstrThumb2.td
index 548c793..bb36a33 100644
--- a/lib/Target/ARM/ARMInstrThumb2.td
+++ b/lib/Target/ARM/ARMInstrThumb2.td
@@ -443,7 +443,7 @@ multiclass T2I_bin_rrot<string opc, PatFrag opnode> {
let isNotDuplicable = 1 in
def t2PICADD : T2XI<(outs GPR:$dst), (ins GPR:$lhs, pclabel:$cp),
- "$cp:\n\tadd $dst, pc",
+ "$cp:\n\tadd $dst, $lhs, pc",
[(set GPR:$dst, (ARMpic_add GPR:$lhs, imm:$cp))]>;