projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
This patch introduces A15 as a target in LLVM.
[oota-llvm.git]
/
lib
/
Target
/
ARM
/
MCTargetDesc
/
ARMMCCodeEmitter.cpp
diff --git
a/lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
b/lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
index 94f1082b5f6db37065743d1e4dd666e81f8cf538..191756490400f3ebd771802ddda0ed3671339b6f 100644
(file)
--- a/
lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
+++ b/
lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
@@
-783,7
+783,7
@@
getT2Imm8s4OpValue(const MCInst &MI, unsigned OpIdx,
// Immediate is always encoded as positive. The 'U' bit controls add vs sub.
if (Imm8 < 0)
- Imm8 = -Imm8;
+ Imm8 = -
(uint32_t)
Imm8;
// Scaled by 4.
Imm8 /= 4;