Commit 2e25042a authored by Mark Heffernan's avatar Mark Heffernan
Browse files

Remove setPreservesCFG from instcombine. The pass, in particular, does not

preserve LoopSimplify because instcombine may replace branch predicates
with undef which loop simplify then replaces with always exit.  Replace
setPreservesCFG with the more constrained preservation of DomTree and
LoopInfo.

llvm-svn: 221223
parent 04162eac
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment