projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Upgrade tests.
[oota-llvm.git]
/
test
/
Transforms
/
LowerSwitch
/
2003-08-23-EmptySwitch.ll
diff --git
a/test/Transforms/LowerSwitch/2003-08-23-EmptySwitch.ll
b/test/Transforms/LowerSwitch/2003-08-23-EmptySwitch.ll
index a193cd4645ee281114f949c9660919a9711668c1..71e5a4bcc4d75bc74344bcb981b509f7e041792d 100644
(file)
--- a/
test/Transforms/LowerSwitch/2003-08-23-EmptySwitch.ll
+++ b/
test/Transforms/LowerSwitch/2003-08-23-EmptySwitch.ll
@@
-1,7
+1,9
@@
-; RUN: llvm-
upgrade < %s | llvm-a
s | opt -lowerswitch
+; RUN: llvm-
as < %
s | opt -lowerswitch
-void %test() {
- switch uint 0, label %Next []
-Next:
+define void @test() {
+ switch i32 0, label %Next [
+ ]
+Next: ; preds = %0
ret void
}
+