projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM: Make "SMC" instructions conditional on new TrustZone architecture feature.
[oota-llvm.git]
/
lib
/
Target
/
ARM
/
ARMAsmPrinter.cpp
diff --git
a/lib/Target/ARM/ARMAsmPrinter.cpp
b/lib/Target/ARM/ARMAsmPrinter.cpp
index 58c779830e1168fb4326865e5b9e3346a7f2804c..13ec2087938af89003d1b7fd074dfeeb20d8e41d 100644
(file)
--- a/
lib/Target/ARM/ARMAsmPrinter.cpp
+++ b/
lib/Target/ARM/ARMAsmPrinter.cpp
@@
-1357,7
+1357,7
@@
void ARMAsmPrinter::EmitInstruction(const MachineInstr *MI) {
OutStreamer.EmitInstruction(MCInstBuilder(ARM::MOVr)
.addReg(ARM::PC)
- .add
Imm
(MI->getOperand(0).getReg())
+ .add
Reg
(MI->getOperand(0).getReg())
// Add predicate operands.
.addImm(ARMCC::AL)
.addReg(0)