Skip to content

Commit

Permalink
Remove outdated README entry.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125659 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
eefriedman committed Feb 16, 2011
1 parent c5cb996 commit fd51e95
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions lib/Target/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1840,23 +1840,7 @@ something like the following, which eliminates a branch:
ret
.LBB0_2:
jmp foo # TAILCALL
//===---------------------------------------------------------------------===//
Given a branch where the two target blocks are identical ("ret i32 %b" in
both), simplifycfg will simplify them away. But not so for a switch statement:

define i32 @f(i32 %a, i32 %b) nounwind readnone {
entry:
switch i32 %a, label %bb3 [
i32 4, label %bb
i32 6, label %bb
]

bb: ; preds = %entry, %entry
ret i32 %b

bb3: ; preds = %entry
ret i32 %b
}
//===---------------------------------------------------------------------===//

We compile this:
Expand Down

0 comments on commit fd51e95

Please sign in to comment.