aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/README.txt
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-02-16 07:18:18 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-02-16 07:18:18 +0000
commitfd51e95171bd945f722dacc2b85a7866ad617242 (patch)
treee182ec8ccff68f8c5f235c02ff8711d3bf6e7b20 /lib/Target/README.txt
parentc5cb996e9cf871aab657e7c531c31b49a02819e3 (diff)
Remove outdated README entry.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125659 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/README.txt')
-rw-r--r--lib/Target/README.txt16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/Target/README.txt b/lib/Target/README.txt
index 12a71778a9..7362926875 100644
--- a/lib/Target/README.txt
+++ b/lib/Target/README.txt
@@ -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: