aboutsummaryrefslogtreecommitdiff
path: root/test/BugPoint/remove_arguments_test.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/BugPoint/remove_arguments_test.ll')
-rw-r--r--test/BugPoint/remove_arguments_test.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/BugPoint/remove_arguments_test.ll b/test/BugPoint/remove_arguments_test.ll
index 5a0bd6f009..ed77da7cb8 100644
--- a/test/BugPoint/remove_arguments_test.ll
+++ b/test/BugPoint/remove_arguments_test.ll
@@ -1,4 +1,5 @@
-; RUN: bugpoint %s -bugpoint-crashcalls
+; RUN: llvm-upgrade < %s > %t1.ll
+; RUN: bugpoint %t1.ll -bugpoint-crashcalls
; Test to make sure that arguments are removed from the function if they are unnecessary.