projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
llvm-symbolizer: make mangled name heuristic apply to all symbols
[oota-llvm.git]
/
test
/
Feature
/
prototype.ll
diff --git
a/test/Feature/prototype.ll
b/test/Feature/prototype.ll
index a97f8129b138c063454d634d2df5fefa8c7bba0d..3754a1d9596e9fc0e911a020cae302cbef1cc7d7 100644
(file)
--- a/
test/Feature/prototype.ll
+++ b/
test/Feature/prototype.ll
@@
-1,14
+1,11
@@
-; RUN: llvm-as
%s -o -
| llvm-dis > %t1.ll
+; RUN: llvm-as
< %s
| llvm-dis > %t1.ll
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
; RUN: diff %t1.ll %t2.ll
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
; RUN: diff %t1.ll %t2.ll
-implementation
+declare i32 @bar(i32)
-declare int "bar"(int %in)
-
-int "foo"(int %blah)
-begin
- %xx = call int %bar(int %blah)
- ret int %xx
-end
+define i32 @foo(i32 %blah) {
+ %xx = call i32 @bar( i32 %blah ) ; <i32> [#uses=1]
+ ret i32 %xx
+}