aboutsummaryrefslogtreecommitdiff
path: root/lib/MC/MCContext.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-11-10 18:23:01 +0000
committerDuncan Sands <baldrick@free.fr>2010-11-10 18:23:01 +0000
commita74a58c83be492b7d5b7383656f049909394cff4 (patch)
treeab6a3c9367543fa15c84383d47e295341559537f /lib/MC/MCContext.cpp
parentb395e4a0262c36b17b18aa33514b2daf2a85e9a3 (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118694 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCContext.cpp')
0 files changed, 0 insertions, 0 deletions