summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-exegesis/lib/CMakeLists.txt
diff options
context:
space:
mode:
authorJohn Brawn <john.brawn@arm.com>2018-07-03 10:10:29 +0000
committerJohn Brawn <john.brawn@arm.com>2018-07-03 10:10:29 +0000
commitc4ed60042fa942d1e2c42cd5e0edaff29815f6b7 (patch)
tree9bcd8dc30b7103dceb1905a2bf771151569b926b /llvm/tools/llvm-exegesis/lib/CMakeLists.txt
parent7fc854320861b4ff2e7bed6387d75b4f030c03c5 (diff)
downloadbcm5719-llvm-c4ed60042fa942d1e2c42cd5e0edaff29815f6b7.tar.gz
bcm5719-llvm-c4ed60042fa942d1e2c42cd5e0edaff29815f6b7.zip
[llvm-exegesis] Add an AArch64 target
The target does just enough to be able to run llvm-exegesis in latency mode for at least some opcodes. Differential Revision: https://reviews.llvm.org/D48780 llvm-svn: 336187
Diffstat (limited to 'llvm/tools/llvm-exegesis/lib/CMakeLists.txt')
-rw-r--r--llvm/tools/llvm-exegesis/lib/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/CMakeLists.txt b/llvm/tools/llvm-exegesis/lib/CMakeLists.txt
index 3c69dea7e24..175c2adf9de 100644
--- a/llvm/tools/llvm-exegesis/lib/CMakeLists.txt
+++ b/llvm/tools/llvm-exegesis/lib/CMakeLists.txt
@@ -2,6 +2,10 @@ if (LLVM_TARGETS_TO_BUILD MATCHES "X86")
add_subdirectory(X86)
set(LLVM_EXEGESIS_TARGETS "${LLVM_EXEGESIS_TARGETS} X86" PARENT_SCOPE)
endif()
+if (LLVM_TARGETS_TO_BUILD MATCHES "AArch64")
+ add_subdirectory(AArch64)
+ set(LLVM_EXEGESIS_TARGETS "${LLVM_EXEGESIS_TARGETS} AArch64" PARENT_SCOPE)
+endif()
add_library(LLVMExegesis
STATIC
OpenPOWER on IntegriCloud