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:
291512f
)
Correct for my over-eager delete finger.
author
Jim Grosbach
<grosbach@apple.com>
Fri, 30 Sep 2011 22:02:45 +0000
(22:02 +0000)
committer
Jim Grosbach
<grosbach@apple.com>
Fri, 30 Sep 2011 22:02:45 +0000
(22:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140892
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
b/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
index e815a71754a102538e80f1c532f787e3a05664c6..c31c5e6b84520d7c89a415befaded8949f51883c 100644
(file)
--- a/
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
+++ b/
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
@@
-203,6
+203,7
@@
static unsigned adjustFixupValue(unsigned Kind, uint64_t Value) {
// inst{26} = i;
// inst{14-12} = Mid3;
// inst{7-0} = Lo8;
+ Value = (Hi4 << 16) | (i << 26) | (Mid3 << 12) | (Lo8);
uint64_t swapped = (Value & 0xFFFF0000) >> 16;
swapped |= (Value & 0x0000FFFF) << 16;
return swapped;