diff options
author | Jérôme Glisse <jglisse@redhat.com> | 2018-08-10 15:36:54 -0400 |
---|---|---|
committer | Jérôme Glisse <jglisse@redhat.com> | 2018-09-21 13:22:18 -0400 |
commit | 77dd986a25e5bc558fcb0f27ee8ec55cbf306c25 (patch) | |
tree | 1a288610b912cc5179733a67d3dfd36b2a2cf1cd | |
parent | a61e6ed3fefd19f2c60fbffd4062e8ba5b281a0a (diff) |
build against llvm 8for_nouveau
Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | lib/SPIRV/SPIRVWriter.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7aced6e..73bec74 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,7 +22,7 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) ) endif(LLVM_INCLUDE_TESTS) - find_package(LLVM 7.0.0 REQUIRED + find_package(LLVM 8.0.0 REQUIRED COMPONENTS Analysis BitReader diff --git a/lib/SPIRV/SPIRVWriter.cpp b/lib/SPIRV/SPIRVWriter.cpp index f0767f6..bf04979 100644 --- a/lib/SPIRV/SPIRVWriter.cpp +++ b/lib/SPIRV/SPIRVWriter.cpp @@ -1919,7 +1919,7 @@ public: if (!L->contains(Pred)) LoopPreds.push_back(Pred); - SplitBlockPredecessors(HeadBlock, LoopPreds, "", &DT, &LI, true); + SplitBlockPredecessors(HeadBlock, LoopPreds, "", &DT, &LI, NULL, true); } return true; } |