forked from OSchip/llvm-project
Remove redundant -enable-iv-rewrite=false flags from test cases.
llvm-svn: 153255
This commit is contained in:
parent
bf6c3395db
commit
db149f9e73
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt < %s -indvars -enable-iv-rewrite=false -S | FileCheck %s
|
||||
; RUN: opt < %s -indvars -S | FileCheck %s
|
||||
; Test WidenIV::GetExtendedOperandRecurrence.
|
||||
; add219 should be extended to i64 because it is nsw, even though its
|
||||
; sext cannot be hoisted outside the loop.
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
; RUN: opt < %s -indvars -S -enable-iv-rewrite=false "-default-data-layout=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-n8:16:32:64" | FileCheck %s
|
||||
; RUN: opt < %s -indvars -S -enable-iv-rewrite=true "-default-data-layout=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-n8:16:32:64" | FileCheck %s
|
||||
; RUN: opt < %s -indvars -S -enable-iv-rewrite=false "-default-data-layout=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:128:128-n8:16:32" | FileCheck %s
|
||||
; RUN: opt < %s -indvars -S -enable-iv-rewrite=true "-default-data-layout=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:128:128-n8:16:32" | FileCheck %s
|
||||
; RUN: opt < %s -indvars -S "-default-data-layout=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-n8:16:32:64" | FileCheck %s
|
||||
; RUN: opt < %s -indvars -S "-default-data-layout=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:128:128-n8:16:32" | FileCheck %s
|
||||
;
|
||||
; PR11279: Assertion !IVLimit->getType()->isPointerTy()
|
||||
;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
; RUN: opt < %s -indvars -S | FileCheck %s
|
||||
; RUN: opt < %s -indvars -enable-iv-rewrite=false -S | FileCheck %s
|
||||
;
|
||||
; PR1301
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt < %s -indvars -enable-iv-rewrite=false -S | FileCheck %s
|
||||
; RUN: opt < %s -indvars -S | FileCheck %s
|
||||
|
||||
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-n8:16:32:64"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt < %s -indvars -enable-iv-rewrite=false -S | FileCheck %s
|
||||
; RUN: opt < %s -indvars -S | FileCheck %s
|
||||
|
||||
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-n32:64"
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
; RUN: opt < %s -indvars -S | FileCheck %s
|
||||
; RUN: opt < %s -indvars -enable-iv-rewrite=false -S | FileCheck %s
|
||||
; CHECK-NOT: and
|
||||
; CHECK-NOT: zext
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt < %s -indvars -enable-iv-rewrite=false -S | FileCheck %s
|
||||
; RUN: opt < %s -indvars -S | FileCheck %s
|
||||
;
|
||||
; Make sure that indvars can perform LFTR without a canonical IV.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt < %s -indvars -enable-iv-rewrite=false -S | FileCheck %s
|
||||
; RUN: opt < %s -indvars -S | FileCheck %s
|
||||
;
|
||||
; Make sure that indvars isn't inserting canonical IVs.
|
||||
; This is kinda hard to do until linear function test replacement is removed.
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
; RUN: opt < %s -indvars -S | FileCheck %s
|
||||
; RUN: opt < %s -indvars -enable-iv-rewrite=false -S | FileCheck %s
|
||||
|
||||
; Indvars should insert a 64-bit induction variable to eliminate the
|
||||
; sext for the addressing, however it shouldn't eliminate the sext
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
; RUN: opt < %s -indvars -instcombine -S | FileCheck %s
|
||||
; RUN: opt < %s -indvars -enable-iv-rewrite=false -instcombine -S | FileCheck %s
|
||||
;
|
||||
; Test that -indvars can reduce variable stride IVs. If it can reduce variable
|
||||
; stride iv's, it will make %iv. and %m.0.0 isomorphic to each other without
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -S < %s -loop-unroll -unroll-count=4 -enable-iv-rewrite=false | FileCheck %s
|
||||
; RUN: opt -S < %s -loop-unroll -unroll-count=4 | FileCheck %s
|
||||
;
|
||||
; Test induction variable simplify after loop unrolling. It should
|
||||
; expose nice opportunities for GVN.
|
||||
|
|
Loading…
Reference in New Issue