forked from OSchip/llvm-project
Add dependency to intrinsics_gen
The IndVarSimplify pass in Polly uses the intrinsics header. We need to ensure that the header is generated, before we use it. This patch fixes the problem for the cmake build (it did not show up in the autoconf one). Contributed by: Sameer Sahasrabuddhe <sameer.sahasrabuddhe@amd.com> llvm-svn: 163130
This commit is contained in:
parent
c942e6b781
commit
ad41c4ce20
|
@ -37,6 +37,11 @@ add_polly_loadable_module(LLVMPolly
|
|||
${POLLY_PLUTO_FILES}
|
||||
)
|
||||
|
||||
if (TARGET intrinsics_gen)
|
||||
# Check if we are building as part of an LLVM build
|
||||
add_dependencies(LLVMPolly intrinsics_gen)
|
||||
endif()
|
||||
|
||||
add_dependencies(LLVMPolly
|
||||
PollyAnalysis
|
||||
PollyCodeGen
|
||||
|
|
Loading…
Reference in New Issue