[GVN] Always require LoopInfo
GVN behavior depends on LoopInfo in multiple ways, most notably as a dependency for loop load PRE. As this is not a preserved-only analysis, using a cached analysis is inappropriate. In the actual optimization pipeline LoopInfo is always available at the point GVN runs, but this will ensure it stays this way even if the pipeline changes.
parent
a21abc78
Please register or sign in to comment