aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-12-01 04:48:07 +0000
committerChris Lattner <sabre@nondot.org>2008-12-01 04:48:07 +0000
commitef0c6744d5050ad724e1ae90e6ac2b932ce01e13 (patch)
tree0d464d26742bb180609160a827752095f81c9fe2 /lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
parent11240d0fdd4e26b9035ccb31fe1f962580cdb19b (diff)
Teach jump threading to clean up after itself, DCE and constfolding the
new instructions it simplifies. Because we're threading jumps on edges with constants coming in from PHI's, we inherently are exposing a lot more constants to the new block. Folding them and deleting dead conditions allows the cost model in jump threading to be more accurate as it iterates. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60327 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeTypes.cpp')
0 files changed, 0 insertions, 0 deletions