[llvm-commits] CVS: llvm/test/Regression/Transforms/DeadStoreElimination/simple.llx
Chris Lattner
lattner at cs.uiuc.edu
Thu Jul 22 00:59:30 PDT 2004
Changes in directory llvm/test/Regression/Transforms/DeadStoreElimination:
simple.llx added (r1.1)
---
Log message:
Trivial testcase for dse
---
Diffs of the changes: (+8 -0)
Index: llvm/test/Regression/Transforms/DeadStoreElimination/simple.llx
diff -c /dev/null llvm/test/Regression/Transforms/DeadStoreElimination/simple.llx:1.1
*** /dev/null Thu Jul 22 02:59:30 2004
--- llvm/test/Regression/Transforms/DeadStoreElimination/simple.llx Thu Jul 22 02:59:20 2004
***************
*** 0 ****
--- 1,8 ----
+ ; RUN: llvm-as < %s | opt -dse | llvm-dis | not grep DEAD
+
+ void %test(int* %Q, int* %P) {
+ %DEAD = load int* %Q
+ store int %DEAD, int* %P
+ store int 0, int* %P
+ ret void
+ }
More information about the llvm-commits
mailing list