mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
Move these tests to use FastDSE instead of old DSE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40444 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
275769a77a
commit
33d137f90a
@ -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}
|
; RUN: llvm-dis | not grep {ret int undef}
|
||||||
|
|
||||||
int %test(double %__x) {
|
int %test(double %__x) {
|
||||||
|
@ -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}
|
; RUN: grep {store i32 1234567}
|
||||||
|
|
||||||
; Do not delete stores that are only partially killed.
|
; Do not delete stores that are only partially killed.
|
||||||
|
@ -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) {
|
double %foo(sbyte* %X) {
|
||||||
%X_addr = alloca sbyte*
|
%X_addr = alloca sbyte*
|
||||||
|
@ -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 endian = big
|
||||||
target pointersize = 32
|
target pointersize = 32
|
||||||
target triple = "powerpc-apple-darwin8"
|
target triple = "powerpc-apple-darwin8"
|
||||||
|
@ -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}
|
; RUN: not grep {store sbyte}
|
||||||
; Ensure that the dead store is deleted in this case. It is wholely
|
; Ensure that the dead store is deleted in this case. It is wholely
|
||||||
; overwritten by the second store.
|
; overwritten by the second store.
|
||||||
|
@ -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) {
|
void %test(int* %Q) {
|
||||||
%P = alloca int
|
%P = alloca int
|
||||||
|
@ -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()
|
declare void %ext()
|
||||||
|
|
||||||
|
@ -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) {
|
void %test(int* %Q, int* %P) {
|
||||||
%DEAD = load int* %Q
|
%DEAD = load int* %Q
|
||||||
|
@ -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) {
|
void %test(int* %Q, int* %P) {
|
||||||
%DEAD = load int* %Q
|
%DEAD = load int* %Q
|
||||||
|
Loading…
Reference in New Issue
Block a user