diff options
author | Chris Lattner <sabre@nondot.org> | 2006-10-23 18:38:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-10-23 18:38:22 +0000 |
commit | b354343af79ce7b64e3b32696f37ad0ce29f3ffd (patch) | |
tree | 99e51df946f9942f847a7343a1dd09b308eb5a14 /lib/Analysis/DataStructure/BottomUpClosure.cpp | |
parent | 66ebf0973d717b4b2cdef731847aef3904fd04b2 (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31130 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/BottomUpClosure.cpp')
0 files changed, 0 insertions, 0 deletions