summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-06 06:36:11 +0000
committerChris Lattner <sabre@nondot.org>2004-07-06 06:36:11 +0000
commit520df8464bd0e2d54b2189705596be86e8069aef (patch)
tree8cd9a3235db3c0a2e5840ffa0069c3941fd1dfd1 /llvm/lib/Transforms/Scalar/InstructionCombining.cpp
parent987e503e2e6a07b6a4f69b90c1ef76db781f8c8c (diff)
downloadbcm5719-llvm-520df8464bd0e2d54b2189705596be86e8069aef.tar.gz
bcm5719-llvm-520df8464bd0e2d54b2189705596be86e8069aef.zip
Fix a bug in the unreachable block elim pass. Dropping all references on a
basic block clear()'s all of the operands lists, including phis. This caused removePredecessor to get confused later. Because of this, we just nuke (without prejudice) PHI nodes in unreachable blocks. llvm-svn: 14635
Diffstat (limited to 'llvm/lib/Transforms/Scalar/InstructionCombining.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud