mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
685f324068
In this patch, I'm adding an extra check to the Latch's terminator in llvm::UnrollRuntimeLoopRemainder, similar to how it is already done in the llvm::UnrollLoop. The compiler would crash if this function is called with a malformed loop. Patch by Rodrigo Caetano Rocha! Differential Revision: https://reviews.llvm.org/D51486 llvm-svn: 342958
21 lines
358 B
CMake
21 lines
358 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Analysis
|
|
AsmParser
|
|
Core
|
|
Support
|
|
TransformUtils
|
|
)
|
|
|
|
add_llvm_unittest(UtilsTests
|
|
ASanStackFrameLayoutTest.cpp
|
|
BasicBlockUtilsTest.cpp
|
|
CloningTest.cpp
|
|
CodeExtractorTest.cpp
|
|
FunctionComparatorTest.cpp
|
|
IntegerDivisionTest.cpp
|
|
LocalTest.cpp
|
|
SSAUpdaterBulkTest.cpp
|
|
UnrollLoopTest.cpp
|
|
ValueMapperTest.cpp
|
|
)
|