diff options
author | Charlie Turner <charlie.turner@arm.com> | 2014-12-01 08:33:28 +0000 |
---|---|---|
committer | Charlie Turner <charlie.turner@arm.com> | 2014-12-01 08:33:28 +0000 |
commit | 4d88ae20026521a4a5ff1a8f74f482242c63f8c9 (patch) | |
tree | 8d121c4727a47f5ae83874b100b8dca40c32c4e0 /llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp | |
parent | 107d13c228687ff40d84172764c5082ea90b7fe1 (diff) | |
download | bcm5719-llvm-4d88ae20026521a4a5ff1a8f74f482242c63f8c9.tar.gz bcm5719-llvm-4d88ae20026521a4a5ff1a8f74f482242c63f8c9.zip |
Add ARM ERET and HVC virtualisation extension instructions.
Patch by Matthew Wahab.
Change-Id: Iad75f078fbaa4ecc7d7a4820ad9b3930679cbbbb
llvm-svn: 222989
Diffstat (limited to 'llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp b/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp index 0570084deb6..a51680c20da 100644 --- a/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp +++ b/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp @@ -269,7 +269,7 @@ void ARMInstPrinter::printInst(const MCInst *MI, raw_ostream &O, // expressed as a GPRPair, so we have to manually merge them. // FIXME: We would really like to be able to tablegen'erate this. case ARM::LDREXD: case ARM::STREXD: - case ARM::LDAEXD: case ARM::STLEXD: + case ARM::LDAEXD: case ARM::STLEXD: { const MCRegisterClass& MRC = MRI.getRegClass(ARM::GPRRegClassID); bool isStore = Opcode == ARM::STREXD || Opcode == ARM::STLEXD; unsigned Reg = MI->getOperand(isStore ? 1 : 0).getReg(); @@ -290,6 +290,8 @@ void ARMInstPrinter::printInst(const MCInst *MI, raw_ostream &O, printInstruction(&NewMI, O); return; } + break; + } } printInstruction(MI, O); |