summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--lib/SPIRV/SPIRVWriter.cpp2
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;
}