projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A brief survey of priority_queue usage in the tree turned this up
[oota-llvm.git]
/
test
/
BugPoint
/
remove_arguments_test.ll
diff --git
a/test/BugPoint/remove_arguments_test.ll
b/test/BugPoint/remove_arguments_test.ll
index 5a0bd6f00936e004eb26c3d88854afcf808a3ccf..72bd8f882a0bfbe2e6cb0a9bc5f68e88e5c99fa8 100644
(file)
--- a/
test/BugPoint/remove_arguments_test.ll
+++ b/
test/BugPoint/remove_arguments_test.ll
@@
-1,9
+1,11
@@
-; RUN: bugpoint %s -bugpoint-crashcalls
+; RUN: bugpoint %s -bugpoint-crashcalls
-silence-passes
-; Test to make sure that arguments are removed from the function if they are unnecessary.
+; Test to make sure that arguments are removed from the function if they are
+; unnecessary.
-declare int %test2()
-int %test(int %A, int %B, float %C) {
- call int %test2()
- ret int %0
+declare i32 @test2()
+
+define i32 @test(i32 %A, i32 %B, float %C) {
+ call i32 @test2()
+ ret i32 %1
}
}