mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 04:09:45 +00:00
Eliminate more redundant llvm-as calls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81540 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d5b9cbacbc
commit
cabfea2a58
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -licm -disable-output
|
||||
; RUN: opt < %s -licm -disable-output
|
||||
target datalayout = "E-p:32:32"
|
||||
target triple = "powerpc-apple-darwin8.7.0"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -loop-rotate -loop-unswitch -disable-output
|
||||
; RUN: opt < %s -loop-rotate -loop-unswitch -disable-output
|
||||
|
||||
define i32 @stringSearch_Clib(i32 %count) {
|
||||
entry:
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -loop-rotate -licm -loop-unswitch -disable-output
|
||||
; RUN: opt < %s -loop-rotate -licm -loop-unswitch -disable-output
|
||||
|
||||
define i32 @main(i32 %argc, i8** %argv) {
|
||||
entry:
|
||||
|
@ -1,4 +1,4 @@
|
||||
;RUN: llvm-as <%s | opt -gvn -S | grep {load } | count 1
|
||||
; RUN: opt < %s -gvn -S | grep {load } | count 1
|
||||
; ModuleID = 'db2-before.bc'
|
||||
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
|
||||
target triple = "i386-pc-linux-gnu"
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -domtree -gvn -domtree -constmerge -disable-output
|
||||
; RUN: opt < %s -domtree -gvn -domtree -constmerge -disable-output
|
||||
|
||||
define i32 @test1() {
|
||||
unreachable
|
||||
|
@ -1,7 +1,7 @@
|
||||
; RUN: llvm-as < %s | opt -analyze -inline -disable-output
|
||||
; PR 1526
|
||||
; RUN: llvm-as < %s | opt -analyze -indvars -disable-output
|
||||
; PR 1539
|
||||
; RUN: opt < %s -analyze -inline -disable-output
|
||||
; PR1526
|
||||
; RUN: opt < %s -analyze -indvars -disable-output
|
||||
; PR1539
|
||||
define i32 @test1() {
|
||||
ret i32 0;
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llvm-as < %s | opt -loop-unroll -loop-rotate -simplifycfg -disable-output
|
||||
; PR 2028
|
||||
; RUN: opt < %s -loop-unroll -loop-rotate -simplifycfg -disable-output
|
||||
; PR2028
|
||||
define i32 @test1() {
|
||||
ret i32 0;
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llvm-as < %s | opt -loop-deletion -loop-index-split -disable-output
|
||||
; PR 2640
|
||||
; RUN: opt < %s -loop-deletion -loop-index-split -disable-output
|
||||
; PR2640
|
||||
define i32 @test1() {
|
||||
ret i32 0;
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -partial-inliner -disable-output
|
||||
; RUN: opt < %s -partial-inliner -disable-output
|
||||
|
||||
define i32 @f() {
|
||||
entry:
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: opt < %s -loop-unswitch -disable-output
|
||||
; PR1333
|
||||
; RUN: llvm-as < %s | opt -loop-unswitch -disable-output
|
||||
|
||||
define void @pp_cxx_expression() {
|
||||
entry:
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as <%s | opt -raiseallocs -stats -disable-output |& \
|
||||
; RUN: opt < %s -raiseallocs -stats -disable-output |& \
|
||||
; RUN: not grep {Number of allocations raised}
|
||||
define void @foo() {
|
||||
entry:
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llvm-as < %s | opt -sccp -disable-output
|
||||
; PR 1431
|
||||
; RUN: opt < %s -sccp -disable-output
|
||||
; PR1431
|
||||
|
||||
define void @_ada_bench() {
|
||||
entry:
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -ipsccp -S > %t
|
||||
; RUN: opt < %s -ipsccp -S > %t
|
||||
; RUN: grep {ret i32 36} %t
|
||||
; RUN: grep {%mrv = insertvalue %T undef, i32 18, 0} %t
|
||||
; RUN: grep {%mrv1 = insertvalue %T %mrv, i32 17, 1} %t
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -sccp -S | grep {ret i32 %Z}
|
||||
; RUN: opt < %s -sccp -S | grep {ret i32 %Z}
|
||||
; rdar://5778210
|
||||
|
||||
declare {i32, i32} @bar(i32 %A)
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -sccp -S | not grep xor
|
||||
; RUN: opt < %s -sccp -S | not grep xor
|
||||
|
||||
define i11129 @test1() {
|
||||
%B = shl i11129 1, 11128
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -sccp -S | not grep load
|
||||
; RUN: opt < %s -sccp -S | not grep load
|
||||
|
||||
@Y = constant [6 x i101] [ i101 12, i101 123456789000000, i101 -12,
|
||||
i101 -123456789000000, i101 0,i101 9123456789000000]
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -ipsccp -S | not grep global
|
||||
; RUN: opt < %s -ipsccp -S | not grep global
|
||||
|
||||
@G = internal global i66 undef
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -sccp -S | not grep select
|
||||
; RUN: opt < %s -sccp -S | not grep select
|
||||
|
||||
@A = constant i32 10
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as <%s | opt -tailcallelim -S | grep call | count 3
|
||||
; RUN: opt < %s -tailcallelim -S | grep call | count 3
|
||||
; PR4323
|
||||
|
||||
; Several cases where tail call elimination should not move the load above the
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as <%s | opt -tailcallelim -S | not grep call
|
||||
; RUN: opt < %s -tailcallelim -S | not grep call
|
||||
; PR4323
|
||||
|
||||
; Several cases where tail call elimination should move the load above the call,
|
||||
|
Loading…
Reference in New Issue
Block a user