projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add encoding tests for flds/filds
[oota-llvm.git]
/
test
/
BugPoint
/
crash-narrowfunctiontest.ll
diff --git
a/test/BugPoint/crash-narrowfunctiontest.ll
b/test/BugPoint/crash-narrowfunctiontest.ll
index 8927ba1905eb78a7dc559cb305ee248573979d77..d080d9dd4b0cac54d64b4fe42e9853ebddc2c2e2 100644
(file)
--- a/
test/BugPoint/crash-narrowfunctiontest.ll
+++ b/
test/BugPoint/crash-narrowfunctiontest.ll
@@
-1,13
+1,13
@@
; Test that bugpoint can narrow down the testcase to the important function
;
; Test that bugpoint can narrow down the testcase to the important function
;
-; RUN: bugpoint %s -bugpoint-crashcalls
+; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes > /dev/null
+; REQUIRES: loadable_module
-
int %foo() { ret int
1 }
+
define i32 @foo() { ret i32
1 }
-
int %
test() {
- call i
nt %
test()
- ret i
nt %0
+
define i32 @
test() {
+ call i
32 @
test()
+ ret i
32 %1
}
}
-int %bar() { ret int 2 }
-
+define i32 @bar() { ret i32 2 }