DSE no longer requires LoopInfo, so this dependency is no longer correct. Update it to CycleInfo to fix a crash when using the legacy PM. Note: This crash is kind of hard to hit with default LLVM tools since `opt` can no longer use the legacy PM, but it happens on any invocation of clang when targeting the DirectX backend.
This commit is contained in:
parent
ebd62d652c
commit
b491bd9826
@ -2831,7 +2831,7 @@ INITIALIZE_PASS_DEPENDENCY(GlobalsAAWrapperPass)
|
||||
INITIALIZE_PASS_DEPENDENCY(MemorySSAWrapperPass)
|
||||
INITIALIZE_PASS_DEPENDENCY(MemoryDependenceWrapperPass)
|
||||
INITIALIZE_PASS_DEPENDENCY(TargetLibraryInfoWrapperPass)
|
||||
INITIALIZE_PASS_DEPENDENCY(LoopInfoWrapperPass)
|
||||
INITIALIZE_PASS_DEPENDENCY(CycleInfoWrapperPass)
|
||||
INITIALIZE_PASS_DEPENDENCY(AssumptionCacheTracker)
|
||||
INITIALIZE_PASS_END(DSELegacyPass, "dse", "Dead Store Elimination", false,
|
||||
false)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user