aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-12-03 07:48:08 +0000
committerChris Lattner <sabre@nondot.org>2008-12-03 07:48:08 +0000
commit421fa9e32e445c972df4a981c60fbec4e21ac187 (patch)
tree46eeb4f65d8c30446314a16cc0ac8d1a146e41d6 /lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
parent2973a25dbc0ee1081e34421e53b8f4308b624854 (diff)
Teach jump threading some more simple tricks:
1) have it fold "br undef", which does occur with surprising frequency as jump threading iterates. 2) teach j-t to delete dead blocks. This removes the successor edges, reducing the in-edges of other blocks, allowing recursive simplification. 3) Fold things like: br COND, BBX, BBY BBX: br COND, BBZ, BBW which also happens because jump threading iterates. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60470 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeTypes.cpp')
0 files changed, 0 insertions, 0 deletions