[llvm-commits] CVS: llvm/test/Regression/Transforms/GlobalDCE/2003-10-09-PreserveWeakGlobals.ll
Chris Lattner
lattner at cs.uiuc.edu
Thu Oct 9 23:55:10 PDT 2003
Changes in directory llvm/test/Regression/Transforms/GlobalDCE:
2003-10-09-PreserveWeakGlobals.ll added (r1.1)
---
Log message:
new testcase. globaldce should not delete the global
---
Diffs of the changes: (+6 -0)
Index: llvm/test/Regression/Transforms/GlobalDCE/2003-10-09-PreserveWeakGlobals.ll
diff -c /dev/null llvm/test/Regression/Transforms/GlobalDCE/2003-10-09-PreserveWeakGlobals.ll:1.1
*** /dev/null Thu Oct 9 23:54:33 2003
--- llvm/test/Regression/Transforms/GlobalDCE/2003-10-09-PreserveWeakGlobals.ll Thu Oct 9 23:54:23 2003
***************
*** 0 ****
--- 1,6 ----
+ ; Weak variables should be preserved by global DCE!
+
+ ; RUN: llvm-as < %s | opt -globaldce | llvm-dis | grep %A
+
+
+ %A = weak global int 54
More information about the llvm-commits
mailing list