summaryrefslogtreecommitdiffstats
path: root/device
diff options
context:
space:
mode:
authorYang Gu <yang.gu@intel.com>2014-03-14 16:46:16 +0800
committerTim Murray <timmurray@google.com>2014-03-17 11:35:54 -0700
commitca60783afbb79af3649a0d9e68b71902ff66a59f (patch)
tree1c782022aeb5ca9e1236aecfd6a71853825d62e8 /device
parentd3e2a43715e865c6f55f748652a9b29624ea1aab (diff)
downloadexternal_llvm-ca60783afbb79af3649a0d9e68b71902ff66a59f.zip
external_llvm-ca60783afbb79af3649a0d9e68b71902ff66a59f.tar.gz
external_llvm-ca60783afbb79af3649a0d9e68b71902ff66a59f.tar.bz2
Enable x86_64 build
Change-Id: I9feecd151ab91351c42e230df4eb3aa3af76799a
Diffstat (limited to 'device')
-rw-r--r--device/include/llvm/Config/AsmParsers.def2
-rw-r--r--device/include/llvm/Config/AsmPrinters.def2
-rw-r--r--device/include/llvm/Config/Disassemblers.def2
-rw-r--r--device/include/llvm/Config/Targets.def2
4 files changed, 4 insertions, 4 deletions
diff --git a/device/include/llvm/Config/AsmParsers.def b/device/include/llvm/Config/AsmParsers.def
index cf6b221..ca3af2c 100644
--- a/device/include/llvm/Config/AsmParsers.def
+++ b/device/include/llvm/Config/AsmParsers.def
@@ -28,7 +28,7 @@
LLVM_ASM_PARSER(ARM)
#elif defined(__mips__)
LLVM_ASM_PARSER(Mips)
-#elif defined(__i386__)
+#elif defined(__i386__) || defined(__x86_64__)
LLVM_ASM_PARSER(X86)
#elif defined(__aarch64__)
LLVM_ASM_PARSER(AArch64)
diff --git a/device/include/llvm/Config/AsmPrinters.def b/device/include/llvm/Config/AsmPrinters.def
index 57502f1..3a396c2 100644
--- a/device/include/llvm/Config/AsmPrinters.def
+++ b/device/include/llvm/Config/AsmPrinters.def
@@ -28,7 +28,7 @@
LLVM_ASM_PRINTER(ARM)
#elif defined(__mips__)
LLVM_ASM_PRINTER(Mips)
-#elif defined(__i386__)
+#elif defined(__i386__) || defined(__x86_64__)
LLVM_ASM_PRINTER(X86)
#elif defined(__aarch64__)
LLVM_ASM_PRINTER(AArch64)
diff --git a/device/include/llvm/Config/Disassemblers.def b/device/include/llvm/Config/Disassemblers.def
index 3f135e4..aba88f8 100644
--- a/device/include/llvm/Config/Disassemblers.def
+++ b/device/include/llvm/Config/Disassemblers.def
@@ -28,7 +28,7 @@
LLVM_DISASSEMBLER(ARM)
#elif defined(__mips__)
LLVM_DISASSEMBLER(Mips)
-#elif defined(__i386__)
+#elif defined(__i386__) || defined(__x86_64__)
LLVM_DISASSEMBLER(X86)
#elif defined(__aarch64__)
LLVM_DISASSEMBLER(AArch64)
diff --git a/device/include/llvm/Config/Targets.def b/device/include/llvm/Config/Targets.def
index 8a08894..f30c81f 100644
--- a/device/include/llvm/Config/Targets.def
+++ b/device/include/llvm/Config/Targets.def
@@ -27,7 +27,7 @@
LLVM_TARGET(ARM)
#elif defined(__mips__)
LLVM_TARGET(Mips)
-#elif defined(__i386__)
+#elif defined(__i386__) || defined(__x86_64__)
LLVM_TARGET(X86)
#elif defined(__aarch64__)
LLVM_TARGET(AArch64)