Skip to content
Commit f3b1bf16 authored by Duncan Sands's avatar Duncan Sands
Browse files

Teach InstructionSimplify how to look through PHI nodes. Since PHI

nodes can be used in loops, this could result in infinite looping
if there is no recursion limit, so add such a limit.  It is also
used for the SelectInst case because in theory there could be an
infinite loop there too if the basic block is unreachable.

llvm-svn: 118694
parent ebfb6fb5
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