[llvm-commits] CVS: llvm/test/Regression/CodeGen/Alpha/weak.ll
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Thu Dec 7 09:38:09 PST 2006
Changes in directory llvm/test/Regression/CodeGen/Alpha:
weak.ll added (r1.1)
---
Log message:
Copy ARM's weak symbol test
---
Diffs of the changes: (+18 -0)
weak.ll | 18 ++++++++++++++++++
1 files changed, 18 insertions(+)
Index: llvm/test/Regression/CodeGen/Alpha/weak.ll
diff -c /dev/null llvm/test/Regression/CodeGen/Alpha/weak.ll:1.1
*** /dev/null Thu Dec 7 11:38:04 2006
--- llvm/test/Regression/CodeGen/Alpha/weak.ll Thu Dec 7 11:37:54 2006
***************
*** 0 ****
--- 1,18 ----
+ ; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha &&
+ ; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha | grep .weak.*f &&
+ ; RUN: llvm-upgrade < %s | llvm-as | llc -march=alpha | grep .weak.*h
+
+ implementation ; Functions:
+
+ weak uint %f() {
+ entry:
+ unreachable
+ }
+
+ void %g() {
+ entry:
+ tail call void %h( )
+ ret void
+ }
+
+ declare extern_weak void %h()
More information about the llvm-commits
mailing list