summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorLogan Chien <loganchien@google.com>2011-11-26 14:18:36 +0800
committerLogan Chien <loganchien@google.com>2011-11-27 03:07:40 +0800
commit79f06f3cbcf2cb0394d33382186c31f2967cb400 (patch)
tree016178c03a53be4b8cf566971b39a0d06caedb3a /host
parentb170fad25ac66976b67eaab820e466db22a7f07d (diff)
downloadexternal_llvm-79f06f3cbcf2cb0394d33382186c31f2967cb400.zip
external_llvm-79f06f3cbcf2cb0394d33382186c31f2967cb400.tar.gz
external_llvm-79f06f3cbcf2cb0394d33382186c31f2967cb400.tar.bz2
Add build rules for MIPS.
Change-Id: Id929ad67b41e048102e89617bf6d2ba390aac1f1
Diffstat (limited to 'host')
-rw-r--r--host/include/llvm/Config/AsmParsers.def3
-rw-r--r--host/include/llvm/Config/AsmPrinters.def4
-rw-r--r--host/include/llvm/Config/Disassemblers.def2
-rw-r--r--host/include/llvm/Config/Targets.def1
4 files changed, 7 insertions, 3 deletions
diff --git a/host/include/llvm/Config/AsmParsers.def b/host/include/llvm/Config/AsmParsers.def
index dd5c70c..7e60e4e 100644
--- a/host/include/llvm/Config/AsmParsers.def
+++ b/host/include/llvm/Config/AsmParsers.def
@@ -24,6 +24,7 @@
# error Please define the macro LLVM_ASM_PARSER(TargetName)
#endif
-LLVM_ASM_PARSER(X86) LLVM_ASM_PARSER(X86)
+LLVM_ASM_PARSER(ARM)
+LLVM_ASM_PARSER(X86)
#undef LLVM_ASM_PARSER
diff --git a/host/include/llvm/Config/AsmPrinters.def b/host/include/llvm/Config/AsmPrinters.def
index cefdfeb..ed417b0 100644
--- a/host/include/llvm/Config/AsmPrinters.def
+++ b/host/include/llvm/Config/AsmPrinters.def
@@ -24,6 +24,8 @@
# error Please define the macro LLVM_ASM_PRINTER(TargetName)
#endif
-LLVM_ASM_PRINTER(ARM) LLVM_ASM_PRINTER(X86) LLVM_ASM_PRINTER(X86)
+LLVM_ASM_PRINTER(ARM)
+LLVM_ASM_PRINTER(Mips)
+LLVM_ASM_PRINTER(X86)
#undef LLVM_ASM_PRINTER
diff --git a/host/include/llvm/Config/Disassemblers.def b/host/include/llvm/Config/Disassemblers.def
index d3a679a..4b2abdd 100644
--- a/host/include/llvm/Config/Disassemblers.def
+++ b/host/include/llvm/Config/Disassemblers.def
@@ -24,7 +24,7 @@
# error Please define the macro LLVM_DISASSEMBLER(TargetName)
#endif
-LLVM_DISASSEMBLER(X86)
LLVM_DISASSEMBLER(ARM)
+LLVM_DISASSEMBLER(X86)
#undef LLVM_DISASSEMBLER
diff --git a/host/include/llvm/Config/Targets.def b/host/include/llvm/Config/Targets.def
index 9826f60..176bbbf 100644
--- a/host/include/llvm/Config/Targets.def
+++ b/host/include/llvm/Config/Targets.def
@@ -24,6 +24,7 @@
#endif
LLVM_TARGET(ARM)
+LLVM_TARGET(Mips)
LLVM_TARGET(X86)
#undef LLVM_TARGET