projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecf05ca
)
Doh. PC displacement is between the constantpool and the add instruction.
author
Evan Cheng
<evan.cheng@apple.com>
Tue, 1 May 2007 20:27:19 +0000
(20:27 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Tue, 1 May 2007 20:27:19 +0000
(20:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36630
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMInstrThumb.td
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMInstrThumb.td
b/lib/Target/ARM/ARMInstrThumb.td
index fa66ddc717cec612975171c7729324cb46ea417c..141c1ec45e17e1c2ae5b28813e4911fad5e3a49a 100644
(file)
--- a/
lib/Target/ARM/ARMInstrThumb.td
+++ b/
lib/Target/ARM/ARMInstrThumb.td
@@
-511,7
+511,7
@@
let usesCustomDAGSchedInserter = 1 in // Expanded by the scheduler.
// assembler.
def tLEApcrel : TIx2<(ops GPR:$dst, i32imm:$label),
!strconcat(!strconcat(".set PCRELV${:uid}, ($label-(",
- "${:private}PCRELL${:uid}+
6
))\n"),
+ "${:private}PCRELL${:uid}+
4
))\n"),
!strconcat("\tmov $dst, #PCRELV${:uid}\n",
"${:private}PCRELL${:uid}:\n\tadd $dst, pc")),
[]>;