summaryrefslogtreecommitdiffstats
path: root/llvm/test/Assembler/2003-05-15-SwitchBug.ll
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-02-14 07:57:12 +0000
committerTanya Lattner <tonic@nondot.org>2008-02-14 07:57:12 +0000
commit5429dbf6c7cbdf80665097a7eb8e69c6bcd68e1f (patch)
tree2065c2c3201f26587740dc02aa6e3883eccfc546 /llvm/test/Assembler/2003-05-15-SwitchBug.ll
parentb0aad621fdb143824ff27ba754d2a45ea71df890 (diff)
downloadbcm5719-llvm-5429dbf6c7cbdf80665097a7eb8e69c6bcd68e1f.tar.gz
bcm5719-llvm-5429dbf6c7cbdf80665097a7eb8e69c6bcd68e1f.zip
Remove llvm-upgrade
llvm-svn: 47119
Diffstat (limited to 'llvm/test/Assembler/2003-05-15-SwitchBug.ll')
-rw-r--r--llvm/test/Assembler/2003-05-15-SwitchBug.ll12
1 files changed, 7 insertions, 5 deletions
diff --git a/llvm/test/Assembler/2003-05-15-SwitchBug.ll b/llvm/test/Assembler/2003-05-15-SwitchBug.ll
index 748ef7a513c..78c5f9af1be 100644
--- a/llvm/test/Assembler/2003-05-15-SwitchBug.ll
+++ b/llvm/test/Assembler/2003-05-15-SwitchBug.ll
@@ -1,9 +1,11 @@
-; RUN: llvm-upgrade < %s | llvm-as -o /dev/null -f
+; RUN: llvm-as < %s -o /dev/null -f
; Check minimal switch statement
-void %test(int %X) {
- switch int %X, label %dest []
-dest:
- ret void
+define void @test(i32 %X) {
+ switch i32 %X, label %dest [
+ ]
+
+dest: ; preds = %0
+ ret void
}
OpenPOWER on IntegriCloud