forked from OSchip/llvm-project
Make these tests more interesting by using
-verify-dom-info and -verify-loop-info, which enable additional (expensive) consistency checks. llvm-svn: 85017
This commit is contained in:
parent
b979794e4b
commit
a484d17ec5
|
@ -1,4 +1,4 @@
|
||||||
; RUN: opt < %s -inline -loop-rotate | llvm-dis
|
; RUN: opt < %s -inline -loop-rotate -verify-dom-info -verify-loop-info -disable-output
|
||||||
; PR3601
|
; PR3601
|
||||||
declare void @solve()
|
declare void @solve()
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: opt < %s -jump-threading -loop-rotate -instcombine -indvars -loop-unroll -simplifycfg -S > %t
|
; RUN: opt < %s -jump-threading -loop-rotate -instcombine -indvars -loop-unroll -simplifycfg -S -verify-dom-info -verify-loop-info > %t
|
||||||
; RUN: grep {volatile store} %t | count 3
|
; RUN: grep {volatile store} %t | count 3
|
||||||
; RUN: not grep {br label} %t
|
; RUN: not grep {br label} %t
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: opt < %s -loop-rotate -licm -loop-unswitch -disable-output
|
; RUN: opt < %s -loop-rotate -licm -loop-unswitch -disable-output -verify-loop-info -verify-dom-info
|
||||||
|
|
||||||
define i32 @stringSearch_Clib(i32 %count) {
|
define i32 @stringSearch_Clib(i32 %count) {
|
||||||
entry:
|
entry:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: opt < %s -loop-rotate | llvm-dis
|
; RUN: opt < %s -loop-rotate -verify-dom-info -verify-loop-info -disable-output
|
||||||
; PR3408
|
; PR3408
|
||||||
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
|
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
|
||||||
target triple = "x86_64-unknown-linux-gnu"
|
target triple = "x86_64-unknown-linux-gnu"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: opt < %s -loop-rotate -disable-output
|
; RUN: opt < %s -loop-rotate -verify-dom-info -verify-loop-info -disable-output
|
||||||
|
|
||||||
%struct.relation = type { [4 x i16], i32, [4 x i16], i32, i32 }
|
%struct.relation = type { [4 x i16], i32, [4 x i16], i32, i32 }
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: opt < %s -loop-rotate -disable-output
|
; RUN: opt < %s -loop-rotate -verify-dom-info -verify-loop-info -disable-output
|
||||||
|
|
||||||
define void @findAllPairs() {
|
define void @findAllPairs() {
|
||||||
entry:
|
entry:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: opt < %s -loop-rotate -disable-output
|
; RUN: opt < %s -loop-rotate -verify-dom-info -verify-loop-info -disable-output
|
||||||
|
|
||||||
define void @_ZN9Classfile4readEv() {
|
define void @_ZN9Classfile4readEv() {
|
||||||
entry:
|
entry:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: opt < %s -loop-rotate -disable-output
|
; RUN: opt < %s -loop-rotate -verify-dom-info -verify-loop-info -disable-output
|
||||||
|
|
||||||
define void @InterpretSEIMessage(i8* %msg) {
|
define void @InterpretSEIMessage(i8* %msg) {
|
||||||
entry:
|
entry:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: opt < %s -loop-rotate -disable-output
|
; RUN: opt < %s -loop-rotate -verify-dom-info -verify-loop-info -disable-output
|
||||||
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
|
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
|
||||||
target triple = "x86_64-apple-darwin9"
|
target triple = "x86_64-apple-darwin9"
|
||||||
%struct.NSArray = type { %struct.NSObject }
|
%struct.NSArray = type { %struct.NSObject }
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: opt < %s -loop-rotate -S | not grep {\\\[ .tmp224}
|
; RUN: opt < %s -loop-rotate -verify-dom-info -verify-loop-info -S | not grep {\\\[ .tmp224}
|
||||||
; END.
|
; END.
|
||||||
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"
|
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"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: opt < %s -loop-rotate -disable-output
|
; RUN: opt < %s -loop-rotate -verify-dom-info -verify-loop-info -disable-output
|
||||||
; ModuleID = 'PhiSelfRefernce-1.bc'
|
; ModuleID = 'PhiSelfRefernce-1.bc'
|
||||||
|
|
||||||
define void @snrm2(i32 %incx) {
|
define void @snrm2(i32 %incx) {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: opt < %s -loop-deletion -loop-rotate -disable-output
|
; RUN: opt < %s -loop-deletion -loop-rotate -verify-dom-info -verify-loop-info -disable-output
|
||||||
; PR 2639
|
; PR 2639
|
||||||
|
|
||||||
%struct.HexxagonMove = type { i8, i8, i32 }
|
%struct.HexxagonMove = type { i8, i8, i32 }
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: opt < %s -loop-rotate -loop-reduce -disable-output
|
; RUN: opt < %s -loop-rotate -loop-reduce -verify-dom-info -verify-loop-info -disable-output
|
||||||
|
|
||||||
define fastcc void @foo() nounwind {
|
define fastcc void @foo() nounwind {
|
||||||
BB:
|
BB:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: opt < %s -loopsimplify -loop-rotate -instcombine -indvars -S > %t
|
; RUN: opt < %s -loopsimplify -loop-rotate -instcombine -indvars -S -verify-loop-info -verify-dom-info > %t
|
||||||
; RUN: not grep sext %t
|
; RUN: not grep sext %t
|
||||||
; RUN: grep {phi i64} %t | count 1
|
; RUN: grep {phi i64} %t | count 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue