diff options
author | Aditya Nandakumar <aditya_nandakumar@apple.com> | 2017-02-14 18:32:41 +0000 |
---|---|---|
committer | Aditya Nandakumar <aditya_nandakumar@apple.com> | 2017-02-14 18:32:41 +0000 |
commit | 3ca564103abdd0c70f28f270873a2e535c245a6f (patch) | |
tree | b6ad7a2ac43965088a98bdeeacd6ea8d377be110 /CMakeLists.txt | |
parent | b7004e071cb31bbb735e3d9115719d336b6105c0 (diff) |
[Tablegen] Instrumenting table gen DAGGenISelDAG
To help assist in debugging ISEL or to prioritize GlobalISel backend
work, this patch adds two more tables to <Target>GenISelDAGISel.inc -
one which contains the patterns that are used during selection and the
other containing include source location of the patterns
Enabled through CMake varialbe LLVM_ENABLE_DAGISEL_COV
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295081 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index df6ef8efedb..58ee3cf81bf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -174,6 +174,8 @@ if(LLVM_BUILD_GLOBAL_ISEL) add_definitions(-DLLVM_BUILD_GLOBAL_ISEL) endif() +option(LLVM_ENABLE_DAGISEL_COV "Debug: Prints tablegen patterns that were used for selecting" OFF) + # Add path for custom modules set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} |