Skip to content
Commit 4ed40f7c authored by Chris Lattner's avatar Chris Lattner
Browse files

Fix a problem that instcombine would hit when dealing with unreachable code.

Because the instcombine has to scan the entire function when it starts up
to begin with, we might as well do it in DFO so we can nuke unreachable code.

This fixes: Transforms/InstCombine/2005-07-07-DeadPHILoop.ll

llvm-svn: 22348
parent 2d0f468c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment