aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-10-23 18:38:22 +0000
committerChris Lattner <sabre@nondot.org>2006-10-23 18:38:22 +0000
commit4c931502cc712e0f0f3d7fb59b2fe9f706910213 (patch)
treea5183c7340a60c2c0bc800fd1042c8e1fe53d1fb /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent5e1a34032b6298647b34b44cf19f330d9c49b6de (diff)
downloadllvm-4c931502cc712e0f0f3d7fb59b2fe9f706910213.zip
llvm-4c931502cc712e0f0f3d7fb59b2fe9f706910213.tar.gz
llvm-4c931502cc712e0f0f3d7fb59b2fe9f706910213.tar.bz2
Minor tweak. Instead of generating:
movl 32(%esp), %eax cmpl $1, %eax je LBB1_1 #bb LBB1_4: #entry cmpl $2, %eax je LBB1_2 #bb2 jmp LBB1_3 #UnifiedReturnBlock LBB1_1: #bb notice that we would miss the fall through and emit this instead: movl 32(%esp), %eax cmpl $2, %eax je LBB1_2 #bb2 LBB1_4: #entry cmpl $1, %eax jne LBB1_3 #UnifiedReturnBlock LBB1_1: #bb llvm-svn: 31130
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions