diff options
author | Chris Lattner <sabre@nondot.org> | 2004-05-12 04:14:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-05-12 04:14:24 +0000 |
commit | ffc4926263344a9fa825a75fe273ccd93643ec7c (patch) | |
tree | 3684a9bbac62bae087cf7d407a3bcbc86cc34802 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 3d1ca67fdd6e7de36b29fd46fedb532ea596373a (diff) | |
download | llvm-ffc4926263344a9fa825a75fe273ccd93643ec7c.zip llvm-ffc4926263344a9fa825a75fe273ccd93643ec7c.tar.gz llvm-ffc4926263344a9fa825a75fe273ccd93643ec7c.tar.bz2 |
Generate substantially better code when there are a limited number of exits
from the extracted region. If the return has 0 or 1 exit blocks, the new
function returns void. If it has 2 exits, it returns bool, otherwise it
returns a ushort as before.
This allows us to use a conditional branch instruction when there are two
exit blocks, as often happens during block extraction.
llvm-svn: 13481
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions