aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-05-12 03:22:33 +0000
committerChris Lattner <sabre@nondot.org>2004-05-12 03:22:33 +0000
commit3d1ca67fdd6e7de36b29fd46fedb532ea596373a (patch)
tree81b81b4b865830284c155d019ad59f8ba9ef65e7 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parentaf24e90c512e9d1b583548c8ddcfa127f68cfb45 (diff)
downloadllvm-3d1ca67fdd6e7de36b29fd46fedb532ea596373a.zip
llvm-3d1ca67fdd6e7de36b29fd46fedb532ea596373a.tar.gz
llvm-3d1ca67fdd6e7de36b29fd46fedb532ea596373a.tar.bz2
Two minor improvements:
1. Get rid of the silly abort block. When doing bb extraction, we get one abort block for every block extracted, which is kinda annoying. 2. If the switch ends up having a single destination, turn it into an unconditional branch. I would like to add support for conditional branches, but to do this we will want to have the function return a bool instead of a ushort. llvm-svn: 13478
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions