summaryrefslogtreecommitdiffstats
path: root/llvm/test/BugPoint/crash-narrowfunctiontest.ll
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-03-19 18:08:42 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-03-19 18:08:42 +0000
commit104b47041a16427149e2e5a4456f92d3f2bd0443 (patch)
tree6839effc65b0e56f410941a975897c9c13b5d729 /llvm/test/BugPoint/crash-narrowfunctiontest.ll
parent25d00d545d178fb30d31b11f59f9531031ac4016 (diff)
downloadbcm5719-llvm-104b47041a16427149e2e5a4456f92d3f2bd0443.tar.gz
bcm5719-llvm-104b47041a16427149e2e5a4456f92d3f2bd0443.zip
Don't upgrade these.
llvm-svn: 35166
Diffstat (limited to 'llvm/test/BugPoint/crash-narrowfunctiontest.ll')
-rw-r--r--llvm/test/BugPoint/crash-narrowfunctiontest.ll14
1 files changed, 6 insertions, 8 deletions
diff --git a/llvm/test/BugPoint/crash-narrowfunctiontest.ll b/llvm/test/BugPoint/crash-narrowfunctiontest.ll
index 197e42f59d5..ef0db8d980b 100644
--- a/llvm/test/BugPoint/crash-narrowfunctiontest.ll
+++ b/llvm/test/BugPoint/crash-narrowfunctiontest.ll
@@ -1,14 +1,12 @@
; Test that bugpoint can narrow down the testcase to the important function
;
-; RUN: llvm-upgrade < %s > %t1.ll
-; RUN: bugpoint %t1.ll -bugpoint-crashcalls
+; RUN: bugpoint %s -bugpoint-crashcalls
-int %foo() { ret int 1 }
+define i32 @foo() { ret i32 1 }
-int %test() {
- call int %test()
- ret int %0
+define i32 @test() {
+ call i32 @test()
+ ret i32 %1
}
-int %bar() { ret int 2 }
-
+define i32 @bar() { ret i32 2 }
OpenPOWER on IntegriCloud