summaryrefslogtreecommitdiff
path: root/test/BugPoint/crash-narrowfunctiontest.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/BugPoint/crash-narrowfunctiontest.ll')
-rw-r--r--test/BugPoint/crash-narrowfunctiontest.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/BugPoint/crash-narrowfunctiontest.ll b/test/BugPoint/crash-narrowfunctiontest.ll
index 8927ba1905..197e42f59d 100644
--- a/test/BugPoint/crash-narrowfunctiontest.ll
+++ b/test/BugPoint/crash-narrowfunctiontest.ll
@@ -1,6 +1,7 @@
; Test that bugpoint can narrow down the testcase to the important function
;
-; RUN: bugpoint %s -bugpoint-crashcalls
+; RUN: llvm-upgrade < %s > %t1.ll
+; RUN: bugpoint %t1.ll -bugpoint-crashcalls
int %foo() { ret int 1 }