[llvm-commits] [llvm] r40444 - in /llvm/trunk/test/Transforms/DeadStoreElimination: 2004-11-28-LiveStoreDeleted.ll 2004-12-28-PartialStore.ll 2005-11-30-vaarg.ll 2006-06-27-AST-Remove.ll PartialStore.ll alloca.llx context-sensitive.llx free.llx simple.llx
Chris Lattner
clattner at apple.com
Mon Jul 23 14:25:14 PDT 2007
Silly thought, but when you remove the -dse pass, why not rename -
fdse to -dse ?
-Chris
On Jul 23, 2007, at 1:49 PM, Owen Anderson wrote:
> Author: resistor
> Date: Mon Jul 23 15:49:13 2007
> New Revision: 40444
>
> URL: http://llvm.org/viewvc/llvm-project?rev=40444&view=rev
> Log:
> Move these tests to use FastDSE instead of old DSE.
>
> Modified:
> llvm/trunk/test/Transforms/DeadStoreElimination/2004-11-28-
> LiveStoreDeleted.ll
> llvm/trunk/test/Transforms/DeadStoreElimination/2004-12-28-
> PartialStore.ll
> llvm/trunk/test/Transforms/DeadStoreElimination/2005-11-30-
> vaarg.ll
> llvm/trunk/test/Transforms/DeadStoreElimination/2006-06-27-AST-
> Remove.ll
> llvm/trunk/test/Transforms/DeadStoreElimination/PartialStore.ll
> llvm/trunk/test/Transforms/DeadStoreElimination/alloca.llx
> llvm/trunk/test/Transforms/DeadStoreElimination/context-
> sensitive.llx
> llvm/trunk/test/Transforms/DeadStoreElimination/free.llx
> llvm/trunk/test/Transforms/DeadStoreElimination/simple.llx
>
> Modified: llvm/trunk/test/Transforms/DeadStoreElimination/
> 2004-11-28-LiveStoreDeleted.ll
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/
> DeadStoreElimination/2004-11-28-LiveStoreDeleted.ll?
> rev=40444&r1=40443&r2=40444&view=diff
>
> ======================================================================
> ========
> --- llvm/trunk/test/Transforms/DeadStoreElimination/2004-11-28-
> LiveStoreDeleted.ll (original)
> +++ llvm/trunk/test/Transforms/DeadStoreElimination/2004-11-28-
> LiveStoreDeleted.ll Mon Jul 23 15:49:13 2007
> @@ -1,4 +1,4 @@
> -; RUN: llvm-upgrade < %s | llvm-as | opt -dse -scalarrepl -
> instcombine | \
> +; RUN: llvm-upgrade < %s | llvm-as | opt -fdse -scalarrepl -
> instcombine | \
> ; RUN: llvm-dis | not grep {ret int undef}
>
> int %test(double %__x) {
>
> Modified: llvm/trunk/test/Transforms/DeadStoreElimination/
> 2004-12-28-PartialStore.ll
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/
> DeadStoreElimination/2004-12-28-PartialStore.ll?
> rev=40444&r1=40443&r2=40444&view=diff
>
> ======================================================================
> ========
> --- llvm/trunk/test/Transforms/DeadStoreElimination/2004-12-28-
> PartialStore.ll (original)
> +++ llvm/trunk/test/Transforms/DeadStoreElimination/2004-12-28-
> PartialStore.ll Mon Jul 23 15:49:13 2007
> @@ -1,4 +1,4 @@
> -; RUN: llvm-upgrade < %s | llvm-as | opt -dse | llvm-dis | \
> +; RUN: llvm-upgrade < %s | llvm-as | opt -fdse | llvm-dis | \
> ; RUN: grep {store i32 1234567}
>
> ; Do not delete stores that are only partially killed.
>
> Modified: llvm/trunk/test/Transforms/DeadStoreElimination/
> 2005-11-30-vaarg.ll
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/
> DeadStoreElimination/2005-11-30-vaarg.ll?
> rev=40444&r1=40443&r2=40444&view=diff
>
> ======================================================================
> ========
> --- llvm/trunk/test/Transforms/DeadStoreElimination/2005-11-30-
> vaarg.ll (original)
> +++ llvm/trunk/test/Transforms/DeadStoreElimination/2005-11-30-
> vaarg.ll Mon Jul 23 15:49:13 2007
> @@ -1,4 +1,4 @@
> -; RUN: llvm-upgrade < %s | llvm-as | opt -dse | llvm-dis | grep store
> +; RUN: llvm-upgrade < %s | llvm-as | opt -fdse | llvm-dis | grep
> store
>
> double %foo(sbyte* %X) {
> %X_addr = alloca sbyte*
>
> Modified: llvm/trunk/test/Transforms/DeadStoreElimination/
> 2006-06-27-AST-Remove.ll
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/
> DeadStoreElimination/2006-06-27-AST-Remove.ll?
> rev=40444&r1=40443&r2=40444&view=diff
>
> ======================================================================
> ========
> --- llvm/trunk/test/Transforms/DeadStoreElimination/2006-06-27-AST-
> Remove.ll (original)
> +++ llvm/trunk/test/Transforms/DeadStoreElimination/2006-06-27-AST-
> Remove.ll Mon Jul 23 15:49:13 2007
> @@ -1,4 +1,4 @@
> -; RUN: llvm-upgrade < %s | llvm-as | opt -globalsmodref-aa -dse -
> disable-output
> +; RUN: llvm-upgrade < %s | llvm-as | opt -globalsmodref-aa -fdse -
> disable-output
> target endian = big
> target pointersize = 32
> target triple = "powerpc-apple-darwin8"
>
> Modified: llvm/trunk/test/Transforms/DeadStoreElimination/
> PartialStore.ll
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/
> DeadStoreElimination/PartialStore.ll?
> rev=40444&r1=40443&r2=40444&view=diff
>
> ======================================================================
> ========
> --- llvm/trunk/test/Transforms/DeadStoreElimination/PartialStore.ll
> (original)
> +++ llvm/trunk/test/Transforms/DeadStoreElimination/PartialStore.ll
> Mon Jul 23 15:49:13 2007
> @@ -1,4 +1,4 @@
> -; RUN: llvm-upgrade < %s | llvm-as | opt -dse | llvm-dis | \
> +; RUN: llvm-upgrade < %s | llvm-as | opt -fdse | llvm-dis | \
> ; RUN: not grep {store sbyte}
> ; Ensure that the dead store is deleted in this case. It is wholely
> ; overwritten by the second store.
>
> Modified: llvm/trunk/test/Transforms/DeadStoreElimination/alloca.llx
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/
> DeadStoreElimination/alloca.llx?rev=40444&r1=40443&r2=40444&view=diff
>
> ======================================================================
> ========
> --- llvm/trunk/test/Transforms/DeadStoreElimination/alloca.llx
> (original)
> +++ llvm/trunk/test/Transforms/DeadStoreElimination/alloca.llx Mon
> Jul 23 15:49:13 2007
> @@ -1,4 +1,4 @@
> -; RUN: llvm-upgrade < %s | llvm-as | opt -dse | llvm-dis | not
> grep DEAD
> +; RUN: llvm-upgrade < %s | llvm-as | opt -fdse | llvm-dis | not
> grep DEAD
>
> void %test(int* %Q) {
> %P = alloca int
>
> Modified: llvm/trunk/test/Transforms/DeadStoreElimination/context-
> sensitive.llx
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/
> DeadStoreElimination/context-sensitive.llx?
> rev=40444&r1=40443&r2=40444&view=diff
>
> ======================================================================
> ========
> --- llvm/trunk/test/Transforms/DeadStoreElimination/context-
> sensitive.llx (original)
> +++ llvm/trunk/test/Transforms/DeadStoreElimination/context-
> sensitive.llx Mon Jul 23 15:49:13 2007
> @@ -1,4 +1,4 @@
> -; RUN: llvm-upgrade < %s | llvm-as | opt -dse | llvm-dis | not
> grep DEAD
> +; RUN: llvm-upgrade < %s | llvm-as | opt -fdse | llvm-dis | not
> grep DEAD
>
> declare void %ext()
>
>
> Modified: llvm/trunk/test/Transforms/DeadStoreElimination/free.llx
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/
> DeadStoreElimination/free.llx?rev=40444&r1=40443&r2=40444&view=diff
>
> ======================================================================
> ========
> --- llvm/trunk/test/Transforms/DeadStoreElimination/free.llx
> (original)
> +++ llvm/trunk/test/Transforms/DeadStoreElimination/free.llx Mon
> Jul 23 15:49:13 2007
> @@ -1,4 +1,4 @@
> -; RUN: llvm-upgrade < %s | llvm-as | opt -dse | llvm-dis | not
> grep DEAD
> +; RUN: llvm-upgrade < %s | llvm-as | opt -fdse | llvm-dis | not
> grep DEAD
>
> void %test(int* %Q, int* %P) {
> %DEAD = load int* %Q
>
> Modified: llvm/trunk/test/Transforms/DeadStoreElimination/simple.llx
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/
> DeadStoreElimination/simple.llx?rev=40444&r1=40443&r2=40444&view=diff
>
> ======================================================================
> ========
> --- llvm/trunk/test/Transforms/DeadStoreElimination/simple.llx
> (original)
> +++ llvm/trunk/test/Transforms/DeadStoreElimination/simple.llx Mon
> Jul 23 15:49:13 2007
> @@ -1,4 +1,4 @@
> -; RUN: llvm-upgrade < %s | llvm-as | opt -dse | llvm-dis | not
> grep DEAD
> +; RUN: llvm-upgrade < %s | llvm-as | opt -fdse | llvm-dis | not
> grep DEAD
>
> void %test(int* %Q, int* %P) {
> %DEAD = load int* %Q
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list