[test] Switch to use -passes syntax in various test cases
This commit is contained in:
parent
d59a196b8c
commit
a11faeed44
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt < %s -dse -S | FileCheck %s
|
||||
; RUN: opt < %s -passes=dse -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-S128"
|
||||
target triple = "x86_64-apple-macosx10.8.0"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -licm -verify-memoryssa -S < %s | FileCheck %s
|
||||
; RUN: opt -passes=licm -verify-memoryssa -S < %s | FileCheck %s
|
||||
; REQUIRES: asserts
|
||||
|
||||
target datalayout = "E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -licm -verify-memoryssa -S < %s | FileCheck %s
|
||||
; RUN: opt -passes=licm -verify-memoryssa -S < %s | FileCheck %s
|
||||
; REQUIRES: asserts
|
||||
|
||||
target datalayout = "E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -licm -verify-memoryssa -S < %s | FileCheck %s
|
||||
; RUN: opt -passes=licm -verify-memoryssa -S < %s | FileCheck %s
|
||||
; REQUIRES: asserts
|
||||
|
||||
target datalayout = "E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -licm -verify-memoryssa -S %s | FileCheck %s
|
||||
; RUN: opt -passes=licm -verify-memoryssa -S %s | FileCheck %s
|
||||
; REQUIRES: asserts
|
||||
|
||||
target datalayout = "E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -licm -verify-memoryssa -S < %s | FileCheck %s
|
||||
; RUN: opt -passes=licm -verify-memoryssa -S < %s | FileCheck %s
|
||||
; REQUIRES: asserts
|
||||
|
||||
target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -licm -S %s | FileCheck %s
|
||||
; RUN: opt -passes=licm -S %s | FileCheck %s
|
||||
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
|
||||
target triple = "x86_64-unknown-linux-gnu"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -loop-rotate -verify-memoryssa -S %s | FileCheck %s
|
||||
; RUN: opt -passes=loop-rotate -verify-memoryssa -S %s | FileCheck %s
|
||||
; REQUIRES: asserts
|
||||
|
||||
; CHECK-LABEL: @func_35()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -S -licm %s | FileCheck %s
|
||||
; RUN: opt -S -passes=licm %s | FileCheck %s
|
||||
@v_1 = global i8 0, align 1
|
||||
@v_2 = global i8 0, align 1
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -gvn-hoist -S < %s | FileCheck %s
|
||||
; RUN: opt -passes=gvn-hoist -S < %s | FileCheck %s
|
||||
; REQUIRES: asserts
|
||||
%struct.job_pool.6.7 = type { i32 }
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -gvn-hoist -verify-memoryssa -S < %s | FileCheck %s
|
||||
; RUN: opt -passes=gvn-hoist -verify-memoryssa -S < %s | FileCheck %s
|
||||
; REQUIRES: asserts
|
||||
|
||||
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -licm -S < %s | FileCheck %s
|
||||
; RUN: opt -passes=licm -S < %s | FileCheck %s
|
||||
; REQUIRES: asserts
|
||||
|
||||
@global1 = external global i64, align 8
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -licm -verify-memoryssa -S %s | FileCheck %s
|
||||
; RUN: opt -passes=licm -verify-memoryssa -S %s | FileCheck %s
|
||||
; REQUIRES: asserts
|
||||
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
||||
target triple = "x86_64-unknown-linux-gnu"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -licm -verify-memoryssa %s -S | FileCheck %s
|
||||
; RUN: opt -passes=licm -verify-memoryssa %s -S | FileCheck %s
|
||||
; REQUIRES: asserts
|
||||
; Ensure verification doesn't fail with unreachable blocks.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt < %s -indvars -S | FileCheck %s
|
||||
; RUN: opt < %s -passes=indvars -S | FileCheck %s
|
||||
; PR1798
|
||||
|
||||
; CHECK: printd(i32 1206807378)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -indvars < %s
|
||||
; RUN: opt -passes=indvars < %s
|
||||
; PR9424: Attempt to use a SCEVCouldNotCompute object!
|
||||
; The inner loop computes the Step and Start of the outer loop.
|
||||
; Call that Vexit. The outer End value is max(2,Vexit), because
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -S -indvars < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=indvars < %s | FileCheck %s
|
||||
|
||||
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
|
||||
target triple = "x86_64-apple-macosx10.11.0"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -S -indvars < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=indvars < %s | FileCheck %s
|
||||
|
||||
declare void @use(i1)
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -S -indvars < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=indvars < %s | FileCheck %s
|
||||
|
||||
; Check that SCEV is able to recognize and use guards to prove
|
||||
; conditions gaurding loop entries and backedges. This isn't intended
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -indvars -S < %s | FileCheck %s
|
||||
; RUN: opt -passes=indvars -S < %s | FileCheck %s
|
||||
|
||||
declare void @use(i1)
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -indvars -S < %s | FileCheck %s
|
||||
; RUN: opt -passes=indvars -S < %s | FileCheck %s
|
||||
|
||||
define void @infer_via_ranges(i32 *%arr, i32 %n) {
|
||||
; CHECK-LABEL: @infer_via_ranges
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -S -indvars < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=indvars < %s | FileCheck %s
|
||||
|
||||
declare void @side_effect(i1)
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -S -indvars < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=indvars < %s | FileCheck %s
|
||||
|
||||
; Check that SCEV does not assume sub nuw X Y == add nuw X, -Y
|
||||
define void @f(i32* %loc) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -S -indvars < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=indvars < %s | FileCheck %s
|
||||
|
||||
; CHECK: @test
|
||||
; CHECK: %5 = add i32 %local_6_, %local_0_
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -S -indvars < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=indvars < %s | FileCheck %s
|
||||
|
||||
; CHECK: @main
|
||||
; CHECK: %mul.lcssa5 = phi i32 [ %a.promoted4, %entry ], [ %mul.30, %for.body3 ]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt < %s -scalar-evolution-max-arith-depth=0 -indvars -S | FileCheck %s
|
||||
; RUN: opt < %s -scalar-evolution-max-arith-depth=0 -passes=indvars -S | FileCheck %s
|
||||
|
||||
target datalayout = "e-m:e-i32:64-f80:128-n8:16:32:64-S128-ni:1"
|
||||
target triple = "x86_64-unknown-linux-gnu"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt < %s -indvars -disable-output
|
||||
; RUN: opt < %s -passes=indvars -disable-output
|
||||
; PR 3909
|
||||
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
; NOTE: Only %local_3_4 is important here.
|
||||
; All other instructions are needed to lure LLVM into executing
|
||||
; specific code to trigger a bug.
|
||||
; RUN: opt < %s -indvars -S | FileCheck %s
|
||||
; RUN: opt < %s -passes=indvars -S | FileCheck %s
|
||||
define i32 @test() {
|
||||
; CHECK-LABEL: @test(
|
||||
; CHECK-NEXT: entry:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
; PR26529: Check the assumption of IndVarSimplify to do SCEV expansion in literal mode
|
||||
; instead of CanonicalMode is properly maintained in SCEVExpander::expand.
|
||||
; RUN: opt -indvars < %s
|
||||
; RUN: opt -passes=indvars < %s
|
||||
|
||||
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
||||
target triple = "x86_64-unknown-linux-gnu"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -indvars -S < %s | FileCheck %s
|
||||
; RUN: opt -passes=indvars -S < %s | FileCheck %s
|
||||
|
||||
declare void @use(i32)
|
||||
declare void @use.i8(i8)
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
; of the bug that was causing the Olden Health benchmark to output incorrect
|
||||
; results!
|
||||
;
|
||||
; RUN: opt -instsimplify -S > %t.1 < %s
|
||||
; RUN: llvm-as < %s | llvm-dis | llvm-as | opt -instsimplify | \
|
||||
; RUN: opt -passes=instsimplify -S > %t.1 < %s
|
||||
; RUN: llvm-as < %s | llvm-dis | llvm-as | opt -passes=instsimplify | \
|
||||
; RUN: llvm-dis > %t.2
|
||||
; RUN: diff %t.1 %t.2
|
||||
; RUN: verify-uselistorder %s
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
; Check by running globaldce, which will remove the constant if there are
|
||||
; no references to it!
|
||||
;
|
||||
; RUN: opt < %s -globaldce -S | \
|
||||
; RUN: opt < %s -passes=globaldce -S | \
|
||||
; RUN: not grep constant
|
||||
;
|
||||
; RUN: verify-uselistorder %s
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
; Testcase that seems to break the bytecode reader. This comes from the
|
||||
; "crafty" spec benchmark.
|
||||
;
|
||||
; RUN: opt < %s -instcombine | llvm-dis
|
||||
; RUN: opt < %s -passes=instcombine | llvm-dis
|
||||
; RUN: verify-uselistorder %s
|
||||
|
||||
%CHESS_POSITION = type { i32, i32 }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt < %s -instcombine -simplifycfg -S | not grep br
|
||||
; RUN: opt < %s -passes=instcombine,simplifycfg -S | not grep br
|
||||
; RUN: verify-uselistorder %s
|
||||
|
||||
@.str_1 = internal constant [6 x i8] c"_Bool\00" ; <[6 x i8]*> [#uses=2]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt < %s -strip -S | llvm-as | llvm-dis
|
||||
; RUN: opt < %s -passes=strip -S | llvm-as | llvm-dis
|
||||
; RUN: verify-uselistorder %s
|
||||
|
||||
; Stripping the name from A should not break references to it.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -loop-vectorize -S < %s | FileCheck %s
|
||||
; RUN: opt -passes=loop-vectorize -S < %s | FileCheck %s
|
||||
|
||||
; These tests check that we don't crash if vectorizer decides to cast
|
||||
; a float value to be stored into a pointer type or vice-versa.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -march=hexagon -loop-vectorize -hexagon-autohvx -debug-only=loop-vectorize -S < %s 2>&1 | FileCheck %s
|
||||
; RUN: opt -march=hexagon -passes=loop-vectorize -hexagon-autohvx -debug-only=loop-vectorize -S < %s 2>&1 | FileCheck %s
|
||||
; REQUIRES: asserts
|
||||
|
||||
; Check that the cost model makes vectorization non-profitable.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -march=hexagon -hexagon-autohvx -loop-vectorize -S < %s | FileCheck %s
|
||||
; RUN: opt -march=hexagon -hexagon-autohvx -passes=loop-vectorize -S < %s | FileCheck %s
|
||||
; Check that the loop has been interleaved.
|
||||
; CHECK: store <64 x i32> %interleaved.vec
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt < %s -gvn -S | FileCheck %s
|
||||
; RUN: opt < %s -passes=gvn -S | FileCheck %s
|
||||
;
|
||||
; Produced at -O2 from:
|
||||
; int a, b;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -instcombine -S < %s | FileCheck %s
|
||||
; RUN: opt -passes=instcombine -S < %s | FileCheck %s
|
||||
|
||||
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
||||
target triple = "x86_64-unknown-linux-gnu"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -instcombine -S %s | FileCheck %s
|
||||
; RUN: opt -passes=instcombine -S %s | FileCheck %s
|
||||
|
||||
;; Ensure that debug uses of a select are replaced when the select is replaced
|
||||
;; with one of its operands in InstCombine's replacedSelectWithOperand.
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
; RUN: opt -instcombine -S < %s | FileCheck %s
|
||||
; RUN: opt -passes=instcombine -S < %s | FileCheck %s
|
||||
;
|
||||
; Generated with:
|
||||
;
|
||||
; clang -S -gmlt -emit-llvm test.c -o 1.ll
|
||||
; opt -sroa -S 1.ll -o test.ll
|
||||
; opt -passes=sroa -S 1.ll -o test.ll
|
||||
;
|
||||
; extern int bar(int i);
|
||||
; extern int bar2(int i);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
; RUN: llc -filetype=obj -O0 -relocation-model=pic < %s -mtriple mips-unknown-linux-gnu | llvm-dwarfdump -a - | FileCheck %s
|
||||
; PR19815
|
||||
|
||||
; Generated using clang -target mips-linux-gnu -g test.c -S -o - -flto|opt -sroa -S
|
||||
; Generated using clang -target mips-linux-gnu -g test.c -S -o - -flto|opt -passes=sroa -S
|
||||
; test.c:
|
||||
;
|
||||
; int foo(int x) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
; RUN: llc %s -mtriple=x86_64-unknown-unknown -use-unknown-locations=Enable -o - | FileCheck %s
|
||||
|
||||
; Generated with "clang -gline-tables-only -c -emit-llvm -o - | opt -sroa -S"
|
||||
; Generated with "clang -gline-tables-only -c -emit-llvm -o - | opt -passes=sroa -S"
|
||||
; from source:
|
||||
;
|
||||
; extern int foo(int);
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
; RUN: opt -lint -disable-output < %s 2>&1 | FileCheck %s
|
||||
; RUN: opt -aa-pipeline=basic-aa -passes=lint -disable-output < %s 2>&1 | FileCheck %s
|
||||
target datalayout = "e-p:64:64:64"
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
; The pass here doesn't matter (we use deadargelim), but test
|
||||
; that the -run-twice options exists, generates output, and
|
||||
; doesn't crash
|
||||
; RUN: opt -run-twice -deadargelim -S < %s | FileCheck %s
|
||||
; RUN: opt -run-twice -passes=deadargelim -S < %s | FileCheck %s
|
||||
|
||||
; CHECK: define internal void @test
|
||||
define internal {} @test() {
|
||||
|
|
|
@ -1,12 +1,5 @@
|
|||
; Check that BFI is not computed when -pass-remarks-with-hotness is off
|
||||
|
||||
; RUN: opt -loop-distribute -enable-loop-distribute -S -pass-remarks-missed=loop-distribute \
|
||||
; RUN: -debug-only=block-freq,branch-prob -pass-remarks-with-hotness \
|
||||
; RUN: < %s 2>&1 | FileCheck %s --check-prefix=HOTNESS
|
||||
; RUN: opt -loop-distribute -enable-loop-distribute -S -pass-remarks-missed=loop-distribute \
|
||||
; RUN: -debug-only=block-freq,branch-prob \
|
||||
; RUN: < %s 2>&1 | FileCheck %s --check-prefix=NO_HOTNESS
|
||||
|
||||
; RUN: opt -passes='require<aa>,loop-distribute' -S -pass-remarks-missed=loop-distribute \
|
||||
; RUN: -debug-only=block-freq,branch-prob -pass-remarks-with-hotness \
|
||||
; RUN: < %s 2>&1 | FileCheck %s --check-prefix=HOTNESS
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
; RUN: opt < %s -o /dev/null -instsimplify -stats -stats-json 2>&1 | FileCheck %s --check-prefix=JSON
|
||||
; RUN: opt < %s -o /dev/null -instsimplify -stats -stats-json -info-output-file %t && FileCheck %s < %t --check-prefix=JSON
|
||||
; RUN: opt < %s -o /dev/null -instsimplify -stats 2>&1 | FileCheck %s --check-prefix=DEFAULT
|
||||
; RUN: opt < %s -o /dev/null -instsimplify -stats -info-output-file %t && FileCheck %s < %t --check-prefix=DEFAULT
|
||||
; RUN: opt < %s -o /dev/null -p=instsimplify -stats -stats-json 2>&1 | FileCheck %s --check-prefix=JSON
|
||||
; RUN: opt < %s -o /dev/null -p=instsimplify -stats -stats-json -info-output-file %t && FileCheck %s < %t --check-prefix=JSON
|
||||
; RUN: opt < %s -o /dev/null -p=instsimplify -stats 2>&1 | FileCheck %s --check-prefix=DEFAULT
|
||||
; RUN: opt < %s -o /dev/null -p=instsimplify -stats -info-output-file %t && FileCheck %s < %t --check-prefix=DEFAULT
|
||||
; REQUIRES: asserts
|
||||
|
||||
; JSON: {
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
; RUN: opt -mtriple i686-win32 -rewrite-symbols -rewrite-map-file %p/rewrite.map \
|
||||
; RUN: %s -o - | llvm-dis | FileCheck %s
|
||||
; RUN: opt -mtriple i686-win32 -passes='rewrite-symbols' -rewrite-map-file %p/rewrite.map \
|
||||
; RUN: %s -o - | llvm-dis | FileCheck %s
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -S -indvars < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=indvars < %s | FileCheck %s
|
||||
|
||||
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
||||
target triple = "x86_64-unknown-linux-gnu"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -S -indvars < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=indvars < %s | FileCheck %s
|
||||
|
||||
; Check that this test does not crash.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -S -indvars < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=indvars < %s | FileCheck %s
|
||||
|
||||
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
|
||||
target triple = "x86_64-apple-macosx10.11.0"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -S -indvars < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=indvars < %s | FileCheck %s
|
||||
|
||||
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
|
||||
target triple = "x86_64-apple-macosx10.11.0"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -S -indvars < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=indvars < %s | FileCheck %s
|
||||
|
||||
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
||||
target triple = "x86_64-unknown-linux-gnu"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -S -indvars < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=indvars < %s | FileCheck %s
|
||||
|
||||
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
|
||||
target triple = "x86_64-apple-macosx10.11.0"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -S -indvars < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=indvars < %s | FileCheck %s
|
||||
|
||||
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
||||
target triple = "x86_64-unknown-linux-gnu"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -S -indvars < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=indvars < %s | FileCheck %s
|
||||
target datalayout = "E-m:e-i64:64-n32:64"
|
||||
target triple = "powerpc64-unknown-linux-gnu"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
||||
; RUN: opt -S -indvars < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=indvars < %s | FileCheck %s
|
||||
|
||||
; Check that we replace signed comparisons between non-negative values with
|
||||
; unsigned comparisons if we can.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
||||
; RUN: opt -S -indvars < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=indvars < %s | FileCheck %s
|
||||
|
||||
; Do not rewrite the user outside the loop because we must keep the instruction
|
||||
; inside the loop due to store. Rewrite doesn't give us any profit.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
||||
; RUN: opt -S -indvars < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=indvars < %s | FileCheck %s
|
||||
|
||||
target datalayout = "E-m:e-i64:64-n32:64"
|
||||
target triple = "powerpc64-unknown-linux-gnu"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -S -indvars < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=indvars < %s | FileCheck %s
|
||||
|
||||
define i16 @fn1() {
|
||||
; CHECK-LABEL: @fn1(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -S -indvars < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=indvars < %s | FileCheck %s
|
||||
|
||||
; This is not an IndVarSimplify bug, but the original symptom
|
||||
; manifested as one.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
||||
; RUN: opt -S -indvars < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=indvars < %s | FileCheck %s
|
||||
|
||||
; This test used to assert when expanding an addrec into a loop without
|
||||
; preheader.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
||||
; RUN: opt -S -indvars < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=indvars < %s | FileCheck %s
|
||||
|
||||
; This tests the case where a terminator can be modeled by SCEV,
|
||||
; because it has a returned attribute.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
||||
; RUN: opt -S -indvars < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=indvars < %s | FileCheck %s
|
||||
|
||||
declare void @use(i1)
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
||||
; RUN: opt -S -indvars < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=indvars < %s | FileCheck %s
|
||||
target datalayout = "n8:16:32:64"
|
||||
@G = external global i32
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
;; RUN: opt -S < %s -indvars | FileCheck %s
|
||||
;; RUN: opt -S < %s -passes=indvars | FileCheck %s
|
||||
; RUN: opt -lcssa -loop-simplify -S < %s | opt -S -passes='require<targetir>,require<scalar-evolution>,require<domtree>,loop(indvars)'
|
||||
|
||||
;; Check if llvm can narrow !range metadata based on loop entry
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
||||
; RUN: opt -S < %s -indvars | FileCheck %s
|
||||
; RUN: opt -S < %s -passes=indvars | FileCheck %s
|
||||
|
||||
declare i1 @cond()
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
||||
; RUN: opt -S -indvars < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=indvars < %s | FileCheck %s
|
||||
|
||||
; Provide legal integer types.
|
||||
target datalayout = "n8:16:32:64"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
;; RUN: opt -S < %s -indvars | FileCheck %s
|
||||
;; RUN: opt -S < %s -passes=indvars | FileCheck %s
|
||||
|
||||
;; Check if IndVarSimplify understands !range metadata.
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
; annotate.ll.
|
||||
;
|
||||
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
||||
; RUN: opt < %s -inferattrs -opaque-pointers -S | FileCheck %s --match-full-lines
|
||||
; RUN: opt < %s -passes=inferattrs -opaque-pointers -S | FileCheck %s --match-full-lines
|
||||
|
||||
|
||||
; Exercise <math.h> function declarations.
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
; RUN: opt < %s -mtriple=x86_64-- -inferattrs -S | FileCheck --match-full-lines --check-prefixes=CHECK,CHECK-NOLINUX,CHECK-OPEN,CHECK-UNKNOWN %s
|
||||
; RUN: opt < %s -mtriple=x86_64-- -passes=inferattrs -S | FileCheck --match-full-lines --check-prefixes=CHECK,CHECK-NOLINUX,CHECK-OPEN,CHECK-UNKNOWN %s
|
||||
; RUN: opt < %s -mtriple=x86_64-apple-macosx10.8.0 -inferattrs -S | FileCheck --match-full-lines --check-prefixes=CHECK,CHECK-KNOWN,CHECK-NOLINUX,CHECK-OPEN,CHECK-DARWIN %s
|
||||
; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -inferattrs -S | FileCheck --match-full-lines --check-prefixes=CHECK,CHECK-KNOWN,CHECK-LINUX %s
|
||||
; RUN: opt < %s -mtriple=nvptx -inferattrs -S | FileCheck --match-full-lines --check-prefixes=CHECK-NOLINUX,CHECK-NVPTX %s
|
||||
; RUN: opt < %s -mtriple=powerpc-ibm-aix-xcoff -inferattrs -S | FileCheck --match-full-lines --check-prefixes=CHECK-AIX %s
|
||||
; RUN: opt < %s -mtriple=x86_64-apple-macosx10.8.0 -passes=inferattrs -S | FileCheck --match-full-lines --check-prefixes=CHECK,CHECK-KNOWN,CHECK-NOLINUX,CHECK-OPEN,CHECK-DARWIN %s
|
||||
; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes=inferattrs -S | FileCheck --match-full-lines --check-prefixes=CHECK,CHECK-KNOWN,CHECK-LINUX %s
|
||||
; RUN: opt < %s -mtriple=nvptx -passes=inferattrs -S | FileCheck --match-full-lines --check-prefixes=CHECK-NOLINUX,CHECK-NVPTX %s
|
||||
; RUN: opt < %s -mtriple=powerpc-ibm-aix-xcoff -passes=inferattrs -S | FileCheck --match-full-lines --check-prefixes=CHECK-AIX %s
|
||||
|
||||
declare i32 @__nvvm_reflect(i8*)
|
||||
; CHECK-NVPTX: declare noundef i32 @__nvvm_reflect(i8* noundef) [[NOFREE_NOUNWIND_READNONE:#[0-9]+]]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt < %s -inferattrs -S | FileCheck %s
|
||||
; RUN: opt < %s -passes=inferattrs -S | FileCheck %s
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt < %s -inferattrs -S | FileCheck %s
|
||||
; RUN: opt < %s -passes=inferattrs -S | FileCheck %s
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; RUN: opt < %s -mtriple=x86_64-unknown-linux -inferattrs -S | FileCheck --match-full-lines %s
|
||||
; RUN: opt < %s -mtriple=x86_64-apple-macosx10.8.0 -inferattrs -S | FileCheck --match-full-lines %s
|
||||
; RUN: opt < %s -mtriple=x86_64-unknown-linux -passes=inferattrs -S | FileCheck --match-full-lines %s
|
||||
; RUN: opt < %s -mtriple=x86_64-apple-macosx10.8.0 -passes=inferattrs -S | FileCheck --match-full-lines %s
|
||||
|
||||
; Check that we don't modify libc functions with invalid prototypes.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -S -inferattrs < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=inferattrs < %s | FileCheck %s
|
||||
|
||||
; CHECK: Function Attrs: nobuiltin allocsize(0){{$}}
|
||||
; CHECK: declare i8* @_Znwm(i32)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -inferattrs -S | FileCheck %s
|
||||
; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes=inferattrs -S | FileCheck %s
|
||||
%struct.statvfs64 = type { i32 }
|
||||
|
||||
; Function Attrs: norecurse uwtable
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt < %s -internalize -internalize-public-api-list main -S | FileCheck %s
|
||||
; RUN: opt < %s -passes=internalize -internalize-public-api-list main -S | FileCheck %s
|
||||
|
||||
@A = global i32 0
|
||||
; CHECK: @A = internal global i32 0
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
; RUN: opt < %s -mtriple=x86_64 -internalize -internalize-public-api-list main -internalize-public-api-list c1 -internalize-public-api-list c2 \
|
||||
; RUN: opt < %s -mtriple=x86_64 -passes=internalize -internalize-public-api-list main -internalize-public-api-list c1 -internalize-public-api-list c2 \
|
||||
; RUN: -internalize-public-api-list c3 -internalize-public-api-list c4 -S | FileCheck %s --check-prefixes=CHECK,NODUP
|
||||
; RUN: opt < %s -mtriple=x86_64-windows -internalize -internalize-public-api-list main -internalize-public-api-list c1 -internalize-public-api-list c2 \
|
||||
; RUN: opt < %s -mtriple=x86_64-windows -passes=internalize -internalize-public-api-list main -internalize-public-api-list c1 -internalize-public-api-list c2 \
|
||||
; RUN: -internalize-public-api-list c3 -internalize-public-api-list c4 -S | FileCheck %s --check-prefixes=CHECK,NODUP
|
||||
; RUN: opt < %s -mtriple=wasm32 -internalize -internalize-public-api-list main -internalize-public-api-list c1 -internalize-public-api-list c2 \
|
||||
; RUN: opt < %s -mtriple=wasm32 -passes=internalize -internalize-public-api-list main -internalize-public-api-list c1 -internalize-public-api-list c2 \
|
||||
; RUN: -internalize-public-api-list c3 -internalize-public-api-list c4 -S | FileCheck %s --check-prefixes=CHECK,WASM
|
||||
|
||||
$c1 = comdat any
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
; RUN: opt < %s -internalize -S | FileCheck %s
|
||||
; RUN: opt < %s -passes=internalize -S | FileCheck %s
|
||||
|
||||
; CHECK: @G0
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt < %s -internalize -internalize-public-api-list 'bar?,_*,*_,[ab]' -S | FileCheck %s
|
||||
; RUN: opt < %s -passes=internalize -internalize-public-api-list 'bar?,_*,*_,[ab]' -S | FileCheck %s
|
||||
|
||||
; CHECK: @foo = internal global
|
||||
@foo = global i32 0
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
; No arguments means internalize everything
|
||||
; RUN: opt < %s -internalize -S | FileCheck --check-prefix=ALL %s
|
||||
; RUN: opt < %s -passes=internalize -S | FileCheck --check-prefix=ALL %s
|
||||
|
||||
; Non-existent files should be treated as if they were empty (so internalize
|
||||
; everything)
|
||||
; RUN: opt < %s -internalize -internalize-public-api-file /nonexistent/file 2> /dev/null -S | FileCheck --check-prefix=ALL %s
|
||||
; RUN: opt < %s -passes=internalize -internalize-public-api-file /nonexistent/file 2> /dev/null -S | FileCheck --check-prefix=ALL %s
|
||||
|
||||
; Internalize all but foo and j
|
||||
; RUN: opt < %s -internalize -internalize-public-api-list foo -internalize-public-api-list j -S | FileCheck --check-prefix=FOO_AND_J %s
|
||||
; RUN: opt < %s -passes=internalize -internalize-public-api-list foo -internalize-public-api-list j -S | FileCheck --check-prefix=FOO_AND_J %s
|
||||
|
||||
; RUN: opt < %s -S -internalize -internalize-public-api-list bar -internalize-public-api-list foo -internalize-public-api-file /nonexistent/file 2> /dev/null | FileCheck --check-prefix=FOO_AND_BAR %s
|
||||
; RUN: opt < %s -S -passes=internalize -internalize-public-api-list bar -internalize-public-api-list foo -internalize-public-api-file /nonexistent/file 2> /dev/null | FileCheck --check-prefix=FOO_AND_BAR %s
|
||||
|
||||
; -file and -list options should be merged, the apifile contains foo and j
|
||||
; RUN: opt < %s -internalize -internalize-public-api-list bar -internalize-public-api-file %S/apifile -S | FileCheck --check-prefix=FOO_J_AND_BAR %s
|
||||
; RUN: opt < %s -passes=internalize -internalize-public-api-list bar -internalize-public-api-file %S/apifile -S | FileCheck --check-prefix=FOO_J_AND_BAR %s
|
||||
|
||||
; ALL: @i = internal global
|
||||
; FOO_AND_J: @i = internal global
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt < %s -internalize -S | FileCheck %s
|
||||
; RUN: opt < %s -passes=internalize -S | FileCheck %s
|
||||
; Internalized symbols should have default visibility.
|
||||
|
||||
; CHECK: @global = global i32 0
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
; __stack_chk_guard and __stack_chk_fail should not be internalized.
|
||||
; RUN: opt < %s -internalize -S | FileCheck %s
|
||||
; RUN: opt < %s -passes=internalize -S | FileCheck %s
|
||||
; RUN: opt -mtriple=powerpc64-ibm-aix-xcoff < %s -passes=internalize -S | FileCheck %s --check-prefix=AIX
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
; RUN: opt < %s -internalize -S | FileCheck %s
|
||||
; RUN: opt < %s -passes=internalize -S | FileCheck %s
|
||||
|
||||
@llvm.used = appending global [1 x void ()*] [void ()* @f], section "llvm.metadata"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt < %s -internalize -S | FileCheck %s
|
||||
; RUN: opt < %s -passes=internalize -S | FileCheck %s
|
||||
|
||||
%struct.A = type { i32 (...)** }
|
||||
%struct.B = type { i32 (...)** }
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
; RUN: opt -mcpu=kryo -mtriple=aarch64-gnu-linux -loop-data-prefetch -max-prefetch-iters-ahead=1000 -S < %s | FileCheck %s --check-prefix=LARGE_PREFETCH --check-prefix=ALL
|
||||
; RUN: opt -mcpu=kryo -mtriple=aarch64-gnu-linux -loop-data-prefetch -S < %s | FileCheck %s --check-prefix=NO_LARGE_PREFETCH --check-prefix=ALL
|
||||
; RUN: opt -mcpu=kryo -mtriple=aarch64-gnu-linux -passes=loop-data-prefetch -max-prefetch-iters-ahead=1000 -S < %s | FileCheck %s --check-prefix=LARGE_PREFETCH --check-prefix=ALL
|
||||
; RUN: opt -mcpu=kryo -mtriple=aarch64-gnu-linux -passes=loop-data-prefetch -S < %s | FileCheck %s --check-prefix=NO_LARGE_PREFETCH --check-prefix=ALL
|
||||
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
; RUN: opt -mcpu=cyclone -mtriple=arm64-apple-ios -loop-data-prefetch -max-prefetch-iters-ahead=100 -S < %s | FileCheck %s --check-prefix=LARGE_PREFETCH --check-prefix=ALL
|
||||
; RUN: opt -mcpu=cyclone -mtriple=arm64-apple-ios -loop-data-prefetch -S < %s | FileCheck %s --check-prefix=NO_LARGE_PREFETCH --check-prefix=ALL
|
||||
; RUN: opt -mcpu=generic -mtriple=arm64-apple-ios -loop-data-prefetch -S < %s | FileCheck %s --check-prefix=NO_LARGE_PREFETCH --check-prefix=ALL
|
||||
; RUN: opt -mcpu=cyclone -mtriple=arm64-apple-ios -passes=loop-data-prefetch -max-prefetch-iters-ahead=100 -S < %s | FileCheck %s --check-prefix=LARGE_PREFETCH --check-prefix=ALL
|
||||
; RUN: opt -mcpu=cyclone -mtriple=arm64-apple-ios -passes=loop-data-prefetch -S < %s | FileCheck %s --check-prefix=NO_LARGE_PREFETCH --check-prefix=ALL
|
||||
; RUN: opt -mcpu=generic -mtriple=arm64-apple-ios -passes=loop-data-prefetch -S < %s | FileCheck %s --check-prefix=NO_LARGE_PREFETCH --check-prefix=ALL
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
; RUN: opt -mcpu=cyclone -mtriple=arm64-apple-ios -loop-data-prefetch \
|
||||
; RUN: -pass-remarks=loop-data-prefetch -S -max-prefetch-iters-ahead=100 \
|
||||
; RUN: -pass-remarks-with-hotness \
|
||||
; RUN: < %s 2>&1 | FileCheck %s
|
||||
; RUN: opt -mcpu=cyclone -mtriple=arm64-apple-ios -passes=loop-data-prefetch \
|
||||
; RUN: -pass-remarks=loop-data-prefetch -S -max-prefetch-iters-ahead=100 \
|
||||
; RUN: -pass-remarks-with-hotness \
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
; RUN: opt -mcpu=cyclone -mtriple=arm64-apple-ios -loop-data-prefetch \
|
||||
; RUN: -pass-remarks=loop-data-prefetch -S -max-prefetch-iters-ahead=100 \
|
||||
; RUN: < %s 2>&1 | FileCheck %s
|
||||
; RUN: opt -mcpu=cyclone -mtriple=arm64-apple-ios -passes=loop-data-prefetch \
|
||||
; RUN: -pass-remarks=loop-data-prefetch -S -max-prefetch-iters-ahead=100 \
|
||||
; RUN: < %s 2>&1 | FileCheck %s
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
; RUN: opt -mcpu=a2 -loop-data-prefetch -mtriple=powerpc64le-unknown-linux -enable-ppc-prefetching -S < %s | FileCheck %s
|
||||
; RUN: opt -mcpu=a2 -passes=loop-data-prefetch -mtriple=powerpc64le-unknown-linux -enable-ppc-prefetching -S < %s | FileCheck %s
|
||||
target datalayout = "E-m:e-i64:64-n32:64"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt < %s -loop-rotate -verify-dom-info -verify-loop-info -verify-memoryssa -disable-output
|
||||
; RUN: opt < %s -passes=loop-rotate -verify-dom-info -verify-loop-info -verify-memoryssa -disable-output
|
||||
; 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 triple = "x86_64-unknown-linux-gnu"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt < %s -loop-rotate -verify-dom-info -verify-loop-info -verify-memoryssa -S | FileCheck %s
|
||||
; RUN: opt < %s -passes=loop-rotate -verify-dom-info -verify-loop-info -verify-memoryssa -S | FileCheck %s
|
||||
; CHECK-NOT: [ {{.}}tmp224
|
||||
|
||||
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 -verify-dom-info -verify-loop-info -verify-memoryssa -disable-output
|
||||
; RUN: opt < %s -passes=loop-rotate -verify-dom-info -verify-loop-info -verify-memoryssa -disable-output
|
||||
; ModuleID = 'PhiSelfReference-1.bc'
|
||||
|
||||
define void @snrm2(i32 %incx) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
||||
; RUN: opt -S -loop-rotate -verify-memoryssa < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=loop-rotate -verify-memoryssa < %s | FileCheck %s
|
||||
; RUN: opt -S -passes='require<targetir>,require<assumptions>,loop(loop-rotate)' < %s | FileCheck %s
|
||||
|
||||
; Demonstrate handling of invalid costs in LoopRotate. This test uses
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
; RUN: opt < %s -loop-rotate -S | FileCheck %s
|
||||
; RUN: opt < %s -loop-rotate -verify-memoryssa -S | FileCheck %s
|
||||
; RUN: opt < %s -passes=loop-rotate -verify-memoryssa -S | FileCheck %s
|
||||
|
||||
; Test alloca in -loop-rotate.
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -S -loop-rotate -verify-memoryssa < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=loop-rotate -verify-memoryssa < %s | FileCheck %s
|
||||
; RUN: opt -S -passes='require<targetir>,require<assumptions>,loop(loop-rotate)' < %s | FileCheck %s
|
||||
; RUN: opt -S -passes='require<targetir>,require<assumptions>,loop-mssa(loop-rotate)' -verify-memoryssa < %s | FileCheck %s
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
||||
; RUN: opt < %s -S -loop-rotate -o - -verify-loop-info -verify-dom-info | FileCheck %s
|
||||
; RUN: opt < %s -S -passes=loop-rotate -o - -verify-loop-info -verify-dom-info | FileCheck %s
|
||||
|
||||
@d = external global i64, align 8
|
||||
@f = external global i32, align 4
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt < %s -loop-rotate -verify-memoryssa -S | FileCheck %s
|
||||
; RUN: opt < %s -passes=loop-rotate -verify-memoryssa -S | FileCheck %s
|
||||
|
||||
target triple = "x86_64-pc-windows-msvc"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt -S -loop-rotate -verify-memoryssa < %s | FileCheck %s
|
||||
; RUN: opt -S -passes=loop-rotate -verify-memoryssa < %s | FileCheck %s
|
||||
|
||||
@e = global i32 10
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue