projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LowerSwitch: replace unreachable default with popular case destination
[oota-llvm.git]
/
test
/
Transforms
/
SimplifyCFG
/
2003-08-17-FoldSwitch.ll
diff --git
a/test/Transforms/SimplifyCFG/2003-08-17-FoldSwitch.ll
b/test/Transforms/SimplifyCFG/2003-08-17-FoldSwitch.ll
index 8ba0ae99864d9302a0d59711ecd6c8a02c64394c..806659635e4b5864d1bca94e7ac2080865ef5078 100644
(file)
--- a/
test/Transforms/SimplifyCFG/2003-08-17-FoldSwitch.ll
+++ b/
test/Transforms/SimplifyCFG/2003-08-17-FoldSwitch.ll
@@
-1,5
+1,6
@@
-; RUN: opt %s -simplifycfg -S | \
-; RUN: not grep switch
+; RUN: opt < %s -simplifycfg -S | FileCheck %s
+
+; CHECK-NOT: switch
; Test normal folding
define i32 @test1() {