Use opt -S instead of piping bitcode output through llvm-dis.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81257 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman
2009-09-08 22:34:10 +00:00
parent f316579901
commit 3e054fe9ef
865 changed files with 973 additions and 973 deletions
@@ -1,6 +1,6 @@
; Update loop iteraton space to eliminate condition inside loop.
; RUN: opt %s -loop-index-split | llvm-dis | not grep bothcond
; RUN: opt %s -loop-index-split -S | not grep bothcond
define void @test(float* %x, i32 %ndat, float** %y, float %xcen, i32 %xmin, i32 %xmax, float %sigmal, float %contribution) {
entry:
%tmp519 = icmp sgt i32 %xmin, %xmax ; <i1> [#uses=1]
@@ -1,6 +1,6 @@
; PR714
; Update loop iteraton space to eliminate condition inside loop.
; RUN: opt %s -loop-index-split | llvm-dis | not grep bothcond
; RUN: opt %s -loop-index-split -S | not grep bothcond
define void @test(float* %x, i32 %ndat, float** %y, float %xcen, i32 %xmin, i32 %xmax, float %sigmal, float %contribution) {
entry:
@@ -1,4 +1,4 @@
; RUN: opt %s -loop-index-split | llvm-dis | not grep undef
; RUN: opt < %s -loop-index-split -S | not grep undef
define i32 @main() {
entry:
br label %header
+1 -1
View File
@@ -1,4 +1,4 @@
; RUN: opt %s -loop-index-split | llvm-dis | not grep "icmp ne"
; RUN: opt %s -loop-index-split -S | not grep "icmp ne"
define i32 @main() {
entry:
@@ -1,6 +1,6 @@
; Split loop. Split value is a constant and greater then exit value.
; Check whether optimizer inserts proper checkfor split value or not.
; RUN: opt %s -loop-index-split | llvm-dis | grep select
; RUN: opt %s -loop-index-split -S | grep select
@k = external global i32 ; <i32*> [#uses=2]