1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Move these tests to use FastDSE instead of old DSE.

llvm-svn: 40444
This commit is contained in:
Owen Anderson 2007-07-23 20:49:13 +00:00
parent 54b8032d64
commit c133ed619f
9 changed files with 9 additions and 9 deletions

View File

@ -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) {

View File

@ -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.

View File

@ -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*

View File

@ -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"

View File

@ -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.

View File

@ -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

View File

@ -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()

View File

@ -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

View File

@ -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