summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM64/ARM64AsmPrinter.cpp
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2014-04-23 10:26:40 +0000
committerJames Molloy <james.molloy@arm.com>2014-04-23 10:26:40 +0000
commit650cb57067c11ea7992866892d04bd9b277de72a (patch)
tree47d97295ad020f7abf0ecd2e916c62928bc8696f /llvm/lib/Target/ARM64/ARM64AsmPrinter.cpp
parent3a9a023eb6027654429d21114ed0f1481dd4f502 (diff)
downloadbcm5719-llvm-650cb57067c11ea7992866892d04bd9b277de72a.tar.gz
bcm5719-llvm-650cb57067c11ea7992866892d04bd9b277de72a.zip
[ARM64] Add a big endian version of the ARM64 target machine, and update all users.
This completes the porting of r202024 (cpirker "Add AArch64 big endian Target (aarch64_be)") to ARM64. llvm-svn: 206965
Diffstat (limited to 'llvm/lib/Target/ARM64/ARM64AsmPrinter.cpp')
-rw-r--r--llvm/lib/Target/ARM64/ARM64AsmPrinter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM64/ARM64AsmPrinter.cpp b/llvm/lib/Target/ARM64/ARM64AsmPrinter.cpp
index 22ccdf97e3b..6692e662e1c 100644
--- a/llvm/lib/Target/ARM64/ARM64AsmPrinter.cpp
+++ b/llvm/lib/Target/ARM64/ARM64AsmPrinter.cpp
@@ -593,5 +593,6 @@ void ARM64AsmPrinter::EmitInstruction(const MachineInstr *MI) {
// Force static initialization.
extern "C" void LLVMInitializeARM64AsmPrinter() {
- RegisterAsmPrinter<ARM64AsmPrinter> X(TheARM64Target);
+ RegisterAsmPrinter<ARM64AsmPrinter> X(TheARM64leTarget);
+ RegisterAsmPrinter<ARM64AsmPrinter> Y(TheARM64beTarget);
}
OpenPOWER on IntegriCloud