summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-02 05:46:10 +0000
committerChris Lattner <sabre@nondot.org>2004-07-02 05:46:10 +0000
commit693244fb3360b44803cabe50220bd920b3434e9d (patch)
treec6edac2bc899e9c78043b0615f6a9a5076615624 /llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
parent1661358d7eeadfbae960eb3be3ff4fb635370410 (diff)
downloadbcm5719-llvm-693244fb3360b44803cabe50220bd920b3434e9d.tar.gz
bcm5719-llvm-693244fb3360b44803cabe50220bd920b3434e9d.zip
Add a trivially simple pass to delete unreachable blocks from the CFG. This
pass is required to paper over problems in the code generator (primarily live variables and its clients) which doesn't really have any well defined semantics for unreachable code. The proper solution to this problem is to have instruction selectors not select blocks that are unreachable. Until we have a instruction selection framework available for use, however, we can't expect all instruction selector writers to do this. Until then, this pass should be used. llvm-svn: 14563
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud