projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45db29c
)
This test is wrong. If you have two weak functions F and G you can't make
author
Nick Lewycky
<nicholas@mxc.ca>
Fri, 12 Jun 2009 13:24:41 +0000
(13:24 +0000)
committer
Nick Lewycky
<nicholas@mxc.ca>
Fri, 12 Jun 2009 13:24:41 +0000
(13:24 +0000)
either one call the other since either one can be replaced at link time, and
they need to be independent.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73225
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Transforms/MergeFunc/fold-weak.ll
[deleted file]
patch
|
blob
|
history
diff --git
a/test/Transforms/MergeFunc/fold-weak.ll
b/test/Transforms/MergeFunc/fold-weak.ll
deleted file mode 100644
(file)
index
d98fde0
..0000000
--- a/
test/Transforms/MergeFunc/fold-weak.ll
+++ /dev/null
@@
-1,11
+0,0 @@
-; RUN: llvm-as < %s | opt -mergefunc | llvm-dis | grep {alias weak} | count 2
-
-define weak i32 @sum(i32 %x, i32 %y) {
- %sum = add i32 %x, %y
- ret i32 %sum
-}
-
-define weak i32 @add(i32 %x, i32 %y) {
- %sum = add i32 %x, %y
- ret i32 %sum
-}