forked from OSchip/llvm-project
[AMDGPU] Add divergence analysis as a dependency for ISel
AMDGPUDAGToDAGISel adds DivergenceAnalysis in getAnalysisUsage but does not list it in pass dependencies which may lead to crash. Differential Revision: https://reviews.llvm.org/D47151 llvm-svn: 332862
This commit is contained in:
parent
f17b149d8c
commit
9badad2051
|
@ -241,6 +241,7 @@ public:
|
|||
INITIALIZE_PASS_BEGIN(AMDGPUDAGToDAGISel, "isel",
|
||||
"AMDGPU DAG->DAG Pattern Instruction Selection", false, false)
|
||||
INITIALIZE_PASS_DEPENDENCY(AMDGPUArgumentUsageInfo)
|
||||
INITIALIZE_PASS_DEPENDENCY(DivergenceAnalysis)
|
||||
INITIALIZE_PASS_END(AMDGPUDAGToDAGISel, "isel",
|
||||
"AMDGPU DAG->DAG Pattern Instruction Selection", false, false)
|
||||
|
||||
|
|
Loading…
Reference in New Issue