[test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC
authorBjorn Pettersson <bjorn.a.pettersson@ericsson.com>
Fri, 4 Feb 2022 10:45:19 +0000 (11:45 +0100)
committerBjorn Pettersson <bjorn.a.pettersson@ericsson.com>
Mon, 7 Feb 2022 13:26:58 +0000 (14:26 +0100)
Another step moving away from the deprecated syntax of specifying
pass pipeline in opt.

Differential Revision: https://reviews.llvm.org/D119080

197 files changed:
llvm/test/Transforms/InstSimplify/2010-12-20-Boolean.ll
llvm/test/Transforms/InstSimplify/2011-01-14-Thread.ll
llvm/test/Transforms/InstSimplify/2011-02-01-Vector.ll
llvm/test/Transforms/InstSimplify/2011-09-05-InsertExtractValue.ll
llvm/test/Transforms/InstSimplify/2011-11-23-MaskedBitsCrash.ll
llvm/test/Transforms/InstSimplify/2013-04-19-ConstantFoldingCrash.ll
llvm/test/Transforms/InstSimplify/AndOrXor.ll
llvm/test/Transforms/InstSimplify/ConstProp/2002-03-11-ConstPropCrash.ll
llvm/test/Transforms/InstSimplify/ConstProp/2002-05-03-DivideByZeroException.ll
llvm/test/Transforms/InstSimplify/ConstProp/2002-05-03-NotOperator.ll
llvm/test/Transforms/InstSimplify/ConstProp/2003-05-12-DivideError.ll
llvm/test/Transforms/InstSimplify/ConstProp/2005-01-28-SetCCGEP.ll
llvm/test/Transforms/InstSimplify/ConstProp/2006-11-30-vector-cast.ll
llvm/test/Transforms/InstSimplify/ConstProp/2006-12-01-bool-casts.ll
llvm/test/Transforms/InstSimplify/ConstProp/2007-02-05-BitCast.ll
llvm/test/Transforms/InstSimplify/ConstProp/2008-07-07-VectorCompare.ll
llvm/test/Transforms/InstSimplify/ConstProp/2009-09-01-GEP-Crash.ll
llvm/test/Transforms/InstSimplify/ConstProp/AArch64/aarch64-sve-convert-from-svbool.ll
llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/cos.ll
llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/cubeid.ll
llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/cubema.ll
llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/cubesc.ll
llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/cubetc.ll
llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/fma_legacy.ll
llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/fmul_legacy.ll
llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/fract.ll
llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/perm.ll
llvm/test/Transforms/InstSimplify/ConstProp/AMDGPU/sin.ll
llvm/test/Transforms/InstSimplify/ConstProp/ARM/mve-vctp.ll
llvm/test/Transforms/InstSimplify/ConstProp/InsertElement-inseltpoison.ll
llvm/test/Transforms/InstSimplify/ConstProp/InsertElement.ll
llvm/test/Transforms/InstSimplify/ConstProp/WebAssembly/trunc.ll
llvm/test/Transforms/InstSimplify/ConstProp/abs.ll
llvm/test/Transforms/InstSimplify/ConstProp/active-lane-mask.ll
llvm/test/Transforms/InstSimplify/ConstProp/avx512.ll
llvm/test/Transforms/InstSimplify/ConstProp/binop-identity-undef.ll
llvm/test/Transforms/InstSimplify/ConstProp/bitcast.ll
llvm/test/Transforms/InstSimplify/ConstProp/bitcount.ll
llvm/test/Transforms/InstSimplify/ConstProp/bswap.ll
llvm/test/Transforms/InstSimplify/ConstProp/calls-math-finite.ll
llvm/test/Transforms/InstSimplify/ConstProp/calls.ll
llvm/test/Transforms/InstSimplify/ConstProp/cast-vector.ll
llvm/test/Transforms/InstSimplify/ConstProp/cast.ll
llvm/test/Transforms/InstSimplify/ConstProp/convert-from-fp16.ll
llvm/test/Transforms/InstSimplify/ConstProp/copysign.ll
llvm/test/Transforms/InstSimplify/ConstProp/extractelement-vscale.ll
llvm/test/Transforms/InstSimplify/ConstProp/extractvalue.ll
llvm/test/Transforms/InstSimplify/ConstProp/float-to-ptr-cast.ll
llvm/test/Transforms/InstSimplify/ConstProp/fma.ll
llvm/test/Transforms/InstSimplify/ConstProp/fneg.ll
llvm/test/Transforms/InstSimplify/ConstProp/fp-undef.ll
llvm/test/Transforms/InstSimplify/ConstProp/freeze.ll
llvm/test/Transforms/InstSimplify/ConstProp/funnel-shift.ll
llvm/test/Transforms/InstSimplify/ConstProp/gep-zeroinit-vector.ll
llvm/test/Transforms/InstSimplify/ConstProp/insertvalue.ll
llvm/test/Transforms/InstSimplify/ConstProp/libfunc.ll
llvm/test/Transforms/InstSimplify/ConstProp/loads.ll
llvm/test/Transforms/InstSimplify/ConstProp/min-max.ll
llvm/test/Transforms/InstSimplify/ConstProp/overflow-ops.ll
llvm/test/Transforms/InstSimplify/ConstProp/poison.ll
llvm/test/Transforms/InstSimplify/ConstProp/saturating-add-sub.ll
llvm/test/Transforms/InstSimplify/ConstProp/shift.ll
llvm/test/Transforms/InstSimplify/ConstProp/smul-fix-sat.ll
llvm/test/Transforms/InstSimplify/ConstProp/smul-fix.ll
llvm/test/Transforms/InstSimplify/ConstProp/sse.ll
llvm/test/Transforms/InstSimplify/ConstProp/trunc_vec.ll
llvm/test/Transforms/InstSimplify/ConstProp/vecreduce.ll
llvm/test/Transforms/InstSimplify/ConstProp/vector-undef-elts-inseltpoison.ll
llvm/test/Transforms/InstSimplify/ConstProp/vector-undef-elts.ll
llvm/test/Transforms/InstSimplify/X86/fp-nan-strictfp.ll
llvm/test/Transforms/InstSimplify/abs_intrinsic.ll
llvm/test/Transforms/InstSimplify/add-mask.ll
llvm/test/Transforms/InstSimplify/add.ll
llvm/test/Transforms/InstSimplify/addsub.ll
llvm/test/Transforms/InstSimplify/and-icmps-same-ops.ll
llvm/test/Transforms/InstSimplify/and-or-icmp-min-max.ll
llvm/test/Transforms/InstSimplify/and-or-icmp-nullptr.ll
llvm/test/Transforms/InstSimplify/and-or-icmp-zero.ll
llvm/test/Transforms/InstSimplify/and.ll
llvm/test/Transforms/InstSimplify/assume-non-zero.ll
llvm/test/Transforms/InstSimplify/assume_icmp.ll
llvm/test/Transforms/InstSimplify/bitcast-vector-fold.ll
llvm/test/Transforms/InstSimplify/bitreverse-fold.ll
llvm/test/Transforms/InstSimplify/bitreverse.ll
llvm/test/Transforms/InstSimplify/bswap.ll
llvm/test/Transforms/InstSimplify/call.ll
llvm/test/Transforms/InstSimplify/cast-unsigned-icmp-cmp-0.ll
llvm/test/Transforms/InstSimplify/cast.ll
llvm/test/Transforms/InstSimplify/cmp-vec-fast-path.ll
llvm/test/Transforms/InstSimplify/cmp_ext.ll
llvm/test/Transforms/InstSimplify/cmp_of_min_max.ll
llvm/test/Transforms/InstSimplify/compare.ll
llvm/test/Transforms/InstSimplify/constantfold-add-nuw-allones-to-allones.ll
llvm/test/Transforms/InstSimplify/constantfold-shl-nuw-C-to-C.ll
llvm/test/Transforms/InstSimplify/constfold-constrained.ll
llvm/test/Transforms/InstSimplify/dead-code-removal.ll
llvm/test/Transforms/InstSimplify/distribute.ll
llvm/test/Transforms/InstSimplify/div-by-0-guard-before-smul_ov-not.ll
llvm/test/Transforms/InstSimplify/div-by-0-guard-before-smul_ov.ll
llvm/test/Transforms/InstSimplify/div-by-0-guard-before-umul_ov-not.ll
llvm/test/Transforms/InstSimplify/div-by-0-guard-before-umul_ov.ll
llvm/test/Transforms/InstSimplify/div.ll
llvm/test/Transforms/InstSimplify/exact-nsw-nuw.ll
llvm/test/Transforms/InstSimplify/extract-element.ll
llvm/test/Transforms/InstSimplify/extract-vector.ll
llvm/test/Transforms/InstSimplify/fast-math-strictfp.ll
llvm/test/Transforms/InstSimplify/fast-math.ll
llvm/test/Transforms/InstSimplify/fcmp-select.ll
llvm/test/Transforms/InstSimplify/fcmp.ll
llvm/test/Transforms/InstSimplify/fdiv-strictfp.ll
llvm/test/Transforms/InstSimplify/fdiv.ll
llvm/test/Transforms/InstSimplify/floating-point-arithmetic-strictfp.ll
llvm/test/Transforms/InstSimplify/floating-point-arithmetic.ll
llvm/test/Transforms/InstSimplify/floating-point-compare.ll
llvm/test/Transforms/InstSimplify/fminmax-folds.ll
llvm/test/Transforms/InstSimplify/fold-intrinsics.ll
llvm/test/Transforms/InstSimplify/fold-vscale.ll
llvm/test/Transforms/InstSimplify/fp-nan.ll
llvm/test/Transforms/InstSimplify/fp-undef-poison-strictfp.ll
llvm/test/Transforms/InstSimplify/fp-undef-poison.ll
llvm/test/Transforms/InstSimplify/fptoi-range.ll
llvm/test/Transforms/InstSimplify/fptoi-sat.ll
llvm/test/Transforms/InstSimplify/freeze-noundef.ll
llvm/test/Transforms/InstSimplify/freeze.ll
llvm/test/Transforms/InstSimplify/gc_relocate.ll
llvm/test/Transforms/InstSimplify/gep.ll
llvm/test/Transforms/InstSimplify/icmp-abs-nabs.ll
llvm/test/Transforms/InstSimplify/icmp-bool-constant.ll
llvm/test/Transforms/InstSimplify/icmp-constant.ll
llvm/test/Transforms/InstSimplify/icmp-not-bool-constant.ll
llvm/test/Transforms/InstSimplify/icmp-ranges.ll
llvm/test/Transforms/InstSimplify/icmp.ll
llvm/test/Transforms/InstSimplify/implies.ll
llvm/test/Transforms/InstSimplify/insert-vector.ll
llvm/test/Transforms/InstSimplify/insertelement.ll
llvm/test/Transforms/InstSimplify/insertvalue.ll
llvm/test/Transforms/InstSimplify/known-never-nan.ll
llvm/test/Transforms/InstSimplify/known-non-zero-opaque-ptrs.ll
llvm/test/Transforms/InstSimplify/known-non-zero.ll
llvm/test/Transforms/InstSimplify/load-relative-32.ll
llvm/test/Transforms/InstSimplify/load-relative.ll
llvm/test/Transforms/InstSimplify/load.ll
llvm/test/Transforms/InstSimplify/log-exp-intrinsic.ll
llvm/test/Transforms/InstSimplify/log10-pow10-intrinsic.ll
llvm/test/Transforms/InstSimplify/log2-pow2-intrinsic.ll
llvm/test/Transforms/InstSimplify/logic-of-fcmps.ll
llvm/test/Transforms/InstSimplify/maxmin.ll
llvm/test/Transforms/InstSimplify/maxmin_intrinsics.ll
llvm/test/Transforms/InstSimplify/mul.ll
llvm/test/Transforms/InstSimplify/named-vector-shuffle-reverse.ll
llvm/test/Transforms/InstSimplify/negate.ll
llvm/test/Transforms/InstSimplify/noalias-ptr.ll
llvm/test/Transforms/InstSimplify/null-ptr-is-valid-attribute.ll
llvm/test/Transforms/InstSimplify/null-ptr-is-valid.ll
llvm/test/Transforms/InstSimplify/or-icmps-same-ops.ll
llvm/test/Transforms/InstSimplify/or.ll
llvm/test/Transforms/InstSimplify/past-the-end.ll
llvm/test/Transforms/InstSimplify/phi-cse.ll
llvm/test/Transforms/InstSimplify/phi.ll
llvm/test/Transforms/InstSimplify/pr28725.ll
llvm/test/Transforms/InstSimplify/pr49495.ll
llvm/test/Transforms/InstSimplify/ptr_diff.ll
llvm/test/Transforms/InstSimplify/reassociate.ll
llvm/test/Transforms/InstSimplify/redundant-null-check-in-uadd_with_overflow-of-nonnull-ptr.ll
llvm/test/Transforms/InstSimplify/rem.ll
llvm/test/Transforms/InstSimplify/require-dominator.ll
llvm/test/Transforms/InstSimplify/result-of-add-of-negative-is-non-zero-and-no-underflow.ll
llvm/test/Transforms/InstSimplify/result-of-usub-by-nonzero-is-non-zero-and-no-overflow.ll
llvm/test/Transforms/InstSimplify/result-of-usub-is-non-zero-and-no-overflow.ll
llvm/test/Transforms/InstSimplify/returned.ll
llvm/test/Transforms/InstSimplify/round-intrinsics.ll
llvm/test/Transforms/InstSimplify/saturating-add-sub.ll
llvm/test/Transforms/InstSimplify/sdiv.ll
llvm/test/Transforms/InstSimplify/select-and-cmp.ll
llvm/test/Transforms/InstSimplify/select-implied.ll
llvm/test/Transforms/InstSimplify/select-inseltpoison.ll
llvm/test/Transforms/InstSimplify/select-logical.ll
llvm/test/Transforms/InstSimplify/select-or-cmp.ll
llvm/test/Transforms/InstSimplify/select.ll
llvm/test/Transforms/InstSimplify/shift-128-kb.ll
llvm/test/Transforms/InstSimplify/shift-knownbits.ll
llvm/test/Transforms/InstSimplify/shift.ll
llvm/test/Transforms/InstSimplify/shr-nop.ll
llvm/test/Transforms/InstSimplify/shr-scalar-vector-consistency.ll
llvm/test/Transforms/InstSimplify/shufflevector-inseltpoison.ll
llvm/test/Transforms/InstSimplify/shufflevector.ll
llvm/test/Transforms/InstSimplify/signed-div-rem.ll
llvm/test/Transforms/InstSimplify/smul_fix.ll
llvm/test/Transforms/InstSimplify/srem.ll
llvm/test/Transforms/InstSimplify/strictfp-fadd.ll
llvm/test/Transforms/InstSimplify/strictfp-fsub.ll
llvm/test/Transforms/InstSimplify/sub.ll
llvm/test/Transforms/InstSimplify/undef.ll
llvm/test/Transforms/InstSimplify/vec-cmp.ll
llvm/test/Transforms/InstSimplify/vector_gep.ll
llvm/test/Transforms/InstSimplify/vector_ptr_bitcast.ll
llvm/test/Transforms/InstSimplify/xor.ll

index 33f2176f7c91b2a42f3c99f1d77856d0a05a16b2..4a6134f6ec7498120e457f6af6e094b3491d9e7b 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i1 @add(i1 %x) {
 ; CHECK-LABEL: @add(
index 9de06600c0c3d0a775298bf70accf80d8d3f145b..b05ec344bbc22fd031b0a2a07e63d0a907f436a4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i32 @shift_select(i1 %cond) {
 ; CHECK-LABEL: @shift_select(
index 3cbbf350ec1282eafc9fe755ac75f7dd17074aa4..e4c41ec4ba7a3092506d48029fc7c00ed0ba8519 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define <2 x i32> @sdiv(<2 x i32> %x) {
 ; CHECK-LABEL: @sdiv(
index 78acdf27de1afbe18ec21dd74ca1033cb01e973a..d51dfe454f703936e18d9f53216832c693831c51 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 declare void @bar()
 
index 6166536726ae52babc5e7eb271030002acbe2119..7d7eaeb9b287aa1a673413b5e2466e49cbc61e4c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -instsimplify
+; RUN: opt < %s -passes=instsimplify
 
 ; The mul can be proved to always overflow (turning a negative value
 ; into a positive one) and thus results in undefined behaviour.  At
index 164751784a65f68d6a1f3296c8eac676146e3612..b382d2e9c4c4e0e949b762f8c5b17f01a46e2de0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -instsimplify
+; RUN: opt < %s -passes=instsimplify
 
 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"
 
index e0d9258e9a8ab8efe9dd2dfadc2f52bb238eced2..c5189464f3c6fca8a263917566a83b3437108f91 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 declare i32 @llvm.smax.i32(i32, i32)
 declare <2 x i32> @llvm.umin.v2i32(<2 x i32>, <2 x i32>)
index fd74fff636ae09ace5a21600f858b7de6930c92a..e45f76e7bef1282fe042b61a1d8453944ee47904 100644 (file)
@@ -1,11 +1,11 @@
 ; When constant propogating terminator instructions, the basic block iterator
 ; was not updated to refer to the final position of the new terminator.  This
-; can be bad, f.e. because constproping a terminator can lead to the 
+; can be bad, f.e. because constproping a terminator can lead to the
 ; destruction of PHI nodes, which invalidates the iterator!
 ;
 ; Fixed by adding new arguments to ConstantFoldTerminator
 ;
-; RUN: opt < %s -instsimplify
+; RUN: opt < %s -passes=instsimplify
 
 define void @build_tree(i32 %ml) {
 ; <label>:0
index 00fb09cf16af8b0ce8e1a340e3964905a4140122..683599a74f2a3a51382163b1a95a77796974d815 100644 (file)
@@ -1,6 +1,6 @@
 ; Make sure that the constant propogator doesn't divide by zero!
 ;
-; RUN: opt < %s -instsimplify
+; RUN: opt < %s -passes=instsimplify
 ;
 
 define i32 @test() {
index aa0bdc9fd41e653d7cee955e78207680284dfabe..dde462ab518bc822329b8f497dd110704946b1cf 100644 (file)
@@ -4,7 +4,7 @@
 
 ; Fix #2: The unary not instruction now no longer exists. Change to xor.
 
-; RUN: opt < %s -instsimplify -S | \
+; RUN: opt < %s -passes=instsimplify -S | \
 ; RUN:   not grep "i32 0"
 
 define i32 @test1() {
index 52bb044f45e871f30da73fcd9262ca4a6d96d8e1..6fab7d37b4d8593081689944e1f932a8031b0af6 100644 (file)
@@ -1,6 +1,6 @@
 ; Make sure that the constant propagator doesn't cause a sigfpe
 ;
-; RUN: opt < %s -instsimplify
+; RUN: opt < %s -passes=instsimplify
 ;
 
 define i32 @test() {
index 0518a91f0c667ca0b70076113dc807d383f253c2..4f67c7d332acfab93497d6b342e83de1c2d07bbf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -instsimplify -S | \
+; RUN: opt < %s -passes=instsimplify -S | \
 ; RUN:    not grep "ret i1 false"
 
 @b = external global [2 x {  }]         ; <[2 x {  }]*> [#uses=2]
index bf5615414aa2773e9dbc1076f117ae706d79e628..72eb5bcafd1330ba9f3206e0251e903b3d5f1b3b 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: opt < %s -instsimplify -S | \
+; RUN: opt < %s -passes=instsimplify -S | \
 ; RUN:   grep "i32 -1"
-; RUN: opt < %s -instsimplify -S | \
+; RUN: opt < %s -passes=instsimplify -S | \
 ; RUN:   not grep zeroinitializer
 
 define <4 x i32> @test() {
index 6d323435c425f2a98db213346fc1f46218d634f5..5fb28d647ae8a35e6cbae7fde24f2c6707770308 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: opt < %s -instsimplify -S | \
+; RUN: opt < %s -passes=instsimplify -S | \
 ; RUN:    grep "ret i32 -1"
-; RUN: opt < %s -instsimplify -S | \
+; RUN: opt < %s -passes=instsimplify -S | \
 ; RUN:    grep "ret i32 1"
 
 define i32 @test1() {
index 8df5c405dd9ee9aa012dfd692f91fa46fca70008..c04b08cbf67444bfe6c9c33756e1208bf364d641 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -instsimplify -S | grep 1065353216
+; RUN: opt < %s -passes=instsimplify -S | grep 1065353216
 
 define i32 @test() {
         %A = bitcast float 1.000000e+00 to i32          ; <i32> [#uses=1]
index bc8eed58970a8b47be66158b4caa94d9fa184610..5ec6bf6158db2abed319a1b4eb8b859c811df6af 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -instsimplify -disable-output
+; RUN: opt < %s -passes=instsimplify -disable-output
 ; PR2529
 define <4 x i1> @test1(i32 %argc, i8** %argv) {
 entry:  
index 25cd3bb59fc83d934b5693785f6e810c770d830e..0caa1008694ac620d1a93af17f211dbaf45413fd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -instsimplify | llvm-dis
+; RUN: opt < %s -passes=instsimplify | llvm-dis
 ; PR4848
 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"
index c5115e46175aeea0e9a11c0515094f7a0e2f9514..d4710310987384ed501b5eda4c8797e68acef04a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -instsimplify -S -o - < %s | FileCheck %s
+; RUN: opt -passes=instsimplify -S -o - < %s | FileCheck %s
 
 define <vscale x 2 x i1> @reinterpret_zero() {
 ; CHECK-LABEL:  @reinterpret_zero(
index afbd20d1ce197450eca84cc2bd5a2f3b3d771b2b..dadae81b724027997c9fa674114961d70a4cc310 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 declare half @llvm.amdgcn.cos.f16(half) #0
 declare float @llvm.amdgcn.cos.f32(float) #0
index aaa7e172e96f2993d82cf52ec82d71d9ae508299..8a033661d1244a73092bf7e2c5d292b4944fce05 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 declare float @llvm.amdgcn.cubeid(float, float, float)
 
index 3d6282675967dfc2c105f2b5bcb489ab41bc7f64..97ab7b4229b6c12b89008d28edc65d90a068c4f1 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 declare float @llvm.amdgcn.cubema(float, float, float)
 
index d78d64c604a3f2ed72f37745f339fd2bef259783..c6abdf8f514676a7b47b972b2dd1b6d1f77915e9 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 declare float @llvm.amdgcn.cubesc(float, float, float)
 
index 2452815de5ce03693796830099f87b61dabe64ee..a14b2f37a529ccdb8b304c007f03497336dcb1a8 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 declare float @llvm.amdgcn.cubetc(float, float, float)
 
index 6e855a668b4a5517a9b3c2a28cc57fa662fb5a26..a0d68e4f3bd467865c1473c1983422dfba27b6a7 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 declare float @llvm.amdgcn.fma.legacy(float, float, float)
 
index 86cfe70ea0b53e7331ebf819e19f39d2badd3162..0ad4fc9a5c063bbbf5753d00b19beb1890bcb6ed 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 declare float @llvm.amdgcn.fmul.legacy(float, float)
 
index 27cfd17eec2e97d16ebf5e3da846fde0f5d3c2b2..69d351bc22fee381ff3495200f1284c352aa7820 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 declare half @llvm.amdgcn.fract.f16(half)
 declare float @llvm.amdgcn.fract.f32(float)
index 7483b54cbb297d5924183c553b1c77d3a7536b89..9fc38aa8230156f053717935bda15e2fd0593ea8 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 declare i32 @llvm.amdgcn.perm(i32, i32, i32)
 
index 825b974f00bf03e5098ecab5061110fb508c08e2..1c4a3e773d42ae0a628d0373df0d7d8d89868a69 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 declare half @llvm.amdgcn.sin.f16(half) #0
 declare float @llvm.amdgcn.sin.f32(float) #0
index dc2f48fd91d24c9f3201a6e4f0e052c31a07a0db..34aea14b594c57002e31fcf79d07e067198ce53d 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -instsimplify -S -o - %s | FileCheck %s
+; RUN: opt -passes=instsimplify -S -o - %s | FileCheck %s
 
 target datalayout = "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64"
 
index 54b862c8514a543b7389d3063f88ef3c19210188..9fc420e474de5d3d214b1d83ae4455bf9368cf0d 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i32 @test1() {
 ; CHECK-LABEL: @test1(
index 127c1692b5b8324bf973f113c806b4a3a2828239..ec98a13233c05d85902ef9dee8d99cc1ed0e0e48 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i32 @test1() {
 ; CHECK-LABEL: @test1(
index adaab5e64811d4d9e5f5f2fe27bab21deb4c8073..9ae059e6f9e8b549f4d887a8c30d73674bbf4cc0 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
 target triple = "wasm32-unknown-unknown"
index 73e12f956382bfacf73c82463a2a5fd6811b8ed0..e313bd453a152b7c3ad4a4f6623433b522620872 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 declare i8 @llvm.abs.i8(i8, i1)
 declare <8 x i8> @llvm.abs.v8i8(<8 x i8>, i1)
index a6006bca169cfdabd030fbac3e02694ae5cbd6d7..7260381222896e8fbd373c5358002aa9ea1f6869 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -instsimplify -S -o - %s | FileCheck %s
+; RUN: opt -passes=instsimplify -S -o - %s | FileCheck %s
 
 target datalayout = "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64"
 
index 9649611fd8fe77a1f2ebfe392a1278b064b94be6..9e93ddabe77aefab7396f6a7969859b570bf456a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 ; REQUIRES: x86-registered-target
 
 define i1 @test_avx512_cvts_exact() nounwind readnone {
index 7b36b5555ae7bcab55c70d1651aa0ae7f79d2ed0..09da7a6e463e5e326bbf9f6cdbfcc11de4688de8 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -instsimplify -S %s | FileCheck %s
+; RUN: opt -passes=instsimplify -S %s | FileCheck %s
 
 define i32 @and1() {
 ; CHECK-LABEL: @and1(
index 19165da28bba9f04a9a380985a4bbeece1b15d7f..8445a0562e78bdbac2964988c6c90906359fa449 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 ; PR2165
 
 define <1 x i64> @test1() {
index 5d020e9677e3b9720d51db5d0acde06cdf24cd88..68b45a94af4bc321c8a72eb341ca1cc99c1b2678 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 declare i31 @llvm.ctpop.i31(i31 %val)
 declare i32 @llvm.cttz.i32(i32 %val, i1)
index d06545dcde341fdd05a624f3a525d0711a62ac6d..d168422a2a9bc8e37e1a34a12ca583bc9493dc0f 100644 (file)
@@ -1,6 +1,6 @@
 ; bswap should be constant folded when it is passed a constant argument
 
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 declare i16 @llvm.bswap.i16(i16)
 
index 8d18d9a145a2d8a94dae40ead535d86dac33d5a5..7744ca7d32409da8a534691776a3d5d1127bc101 100644 (file)
@@ -1,6 +1,6 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
-; RUN: opt < %s -instsimplify -S -mtriple=unknown-unknown-linux-musl | FileCheck -check-prefix=MUSL %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S -mtriple=unknown-unknown-linux-musl | FileCheck -check-prefix=MUSL %s
 
 ; Test to verify constant folding can occur when math routines are mapped
 ; to the __<func>_finite versions of functions due to __FINITE_MATH_ONLY__
index 92115d4f9bf7322a2bde80cd1f72e5c0dde62af9..36b9280ff308c4615e9c7285051e8fe120d1849f 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: opt < %s -instsimplify -S | FileCheck %s
-; RUN: opt < %s -instsimplify -disable-simplify-libcalls -S | FileCheck %s --check-prefix=FNOBUILTIN
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -disable-simplify-libcalls -S | FileCheck %s --check-prefix=FNOBUILTIN
 
 declare double @acos(double) readnone nounwind willreturn
 declare double @asin(double) readnone nounwind willreturn
index f73058741e543c4fec219a8bb48a451cd8e052d0..9e468d9c232e0263a325fa8c12996413ca6856bd 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py\r
-; RUN: opt < %s -instsimplify -S | FileCheck %s\r
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s\r
 \r
 ; Test constant fold of constant expression GEP used by ptrtoint (the\r
 ; "offsetof-like expression" case).\r
index 1136151f7157629a160d9613a9d8f46cb5840c4b..8e9fd5fbae300f2b9f739ccca01cdd7d2d9f5897 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; Overflow on a float to int or int to float conversion is undefined (PR21130).
 
index f5b6705fe78c942a6e149940b25fdaf6f2bce52b..86924b945a4e55694bcc40c352a472fc039678ba 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -instsimplify -S < %s | FileCheck %s
+; RUN: opt -passes=instsimplify -S < %s | FileCheck %s
 
 ; Verify that we don't crash with an assertion failure when constant folding
 ; a call to intrinsic 'convert.from.fp16' if the return type is not 'float'.
index 35bc5990df69f5477422a5e80b46c74a4e4af5a9..051cb84fd0daffc7d36ce297cd422d2d4b7db50a 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -S -instsimplify < %s | FileCheck %s
+; RUN: opt -S -passes=instsimplify < %s | FileCheck %s
 
 declare float @llvm.copysign.f32(float, float)
 declare double @llvm.copysign.f64(double, double)
index f754c2b7a77fb9d1fbb27bd3c4164ca8ce396194..d0f9b2276177e393e295188ed4e29308e9a23030 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -S -instsimplify < %s | FileCheck %s
+; RUN: opt -S -passes=instsimplify < %s | FileCheck %s
 
 ; CHECK-LABEL: definitely_in_bounds
 ; CHECK: ret i8 0
index 2c29cf0a61a34bc3a6cadb70949e79f09ec178b8..5bba81e1cd81a183cf71a3f5ac6677f7fa4412ee 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 %struct = type { i32, [4 x i8] }
 
index 56b1704db0d2b4048135d1dd87957c96718d27f6..a0c82b21ccb4aa8f9ff49614cc4c5bffec5cf90e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i32* @test1() {
         %X = inttoptr i64 0 to i32*             ; <i32*> [#uses=1]
index 90a6142b956b5fb75e37eabcfbb07b279aad0578..d3ade92a6db05aa5984c74cd027cf8bd2effac1f 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -instsimplify -S < %s | FileCheck %s
+; RUN: opt -passes=instsimplify -S < %s | FileCheck %s
 
 ; Fixes PR20832
 ; Make sure that we correctly fold a fused multiply-add where operands
index 752dfa929eec490a7dd444c59439194fd1695e84..9ea87314401a775c954a8a97d4476f675fd0c8c2 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define float @fneg_constant() {
 ; CHECK-LABEL: @fneg_constant(
index fd139f0b880fe4da5b3ed911543871e472a0319a..5cfe55862a2da98cd7f86f6a2fc8ff86eedf30f5 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 declare <2 x double> @llvm.minnum.v2f64(<2 x double>, <2 x double>)
 declare <2 x double> @llvm.maxnum.v2f64(<2 x double>, <2 x double>)
index ef032a6b1624b4626b0ac6b7953da90cc8177065..472fcd9138588b405c02d07577e214943b3bd84c 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 @g = external global i16, align 1
 @g2 = external global i16, align 1
index 8533224b8e93942b47fcee7fd24d88a33189cd0a..49e4e4bb3ed0c60cb86a51f0c4bfd8d9530230d2 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S -o - | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S -o - | FileCheck %s
 
 declare i32 @llvm.fshl.i32(i32, i32, i32)
 declare i32 @llvm.fshr.i32(i32, i32, i32)
index 7ec1aa833fc4edd5cf082cbd16988927e909e9bd..bbb2b56b904fce498d6e9f6f8f7114fcc9ab1eb0 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S -o - | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S -o - | FileCheck %s
 
 ; Testcase that verify that we don't get a faulty bitcast that cast between
 ; different sizes.
index 778a9734d19edaa170407a8e03609f850011235a..3ade9be7d0fcbb08bca120ddd48b913565f75c05 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 %struct = type { i32, [4 x i8] }
 
index 59ab959a46880faa578de99416c579b72c56cbc6..348d90225a1a78dab458ca360ced837ce25bc08a 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; This is not the mathlib call you were looking for.
 
index 5e28f166b9ebf8ac36c3f43332b46041c4fa2453..58701bf5a63b5aa5f481e493bc06ed3b18aa3249 100644 (file)
@@ -1,6 +1,6 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -data-layout="e-p:64:64:64-p1:16:16:16-p2: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-ni:2" -instsimplify -S | FileCheck %s --check-prefixes=CHECK,LE
-; RUN: opt < %s -data-layout="E-p:64:64:64-p1:16:16:16-p2: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-ni:2" -instsimplify -S | FileCheck %s --check-prefixes=CHECK,BE
+; RUN: opt < %s -data-layout="e-p:64:64:64-p1:16:16:16-p2: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-ni:2" -passes=instsimplify -S | FileCheck %s --check-prefixes=CHECK,LE
+; RUN: opt < %s -data-layout="E-p:64:64:64-p1:16:16:16-p2: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-ni:2" -passes=instsimplify -S | FileCheck %s --check-prefixes=CHECK,BE
 
 ; {{ 0xDEADBEEF, 0xBA }, 0xCAFEBABE}
 @g1 = constant {{i32,i8},i32} {{i32,i8} { i32 -559038737, i8 186 }, i32 -889275714 }
index 975ff36fd73e06ff99d6c3a1a2279e77b60ec6c2..4e0f4ccae4c3ae8c1a548f65bb4c77ed7ecbf29f 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -instsimplify -S < %s | FileCheck %s
+; RUN: opt -passes=instsimplify -S < %s | FileCheck %s
 
 declare float @llvm.minnum.f32(float, float)
 declare bfloat @llvm.minnum.bf16(bfloat, bfloat)
index 43c71543e1b5d970845b36e68b62b1e0b07d614b..aaf0f8e53dbb4b500a8d4a5e79e22d8a5965b69b 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 declare {i8, i1} @llvm.uadd.with.overflow.i8(i8, i8)
 declare {i8, i1} @llvm.usub.with.overflow.i8(i8, i8)
index ee698657266bceece1fccba82bc97fda5b296566..0fe1858e533d75c3bcedc150d50f96ba2aaa53f9 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 declare void @use(...)
 
index 9d250627c1b572a965a02dacffd52c72e10ed43c..262b00081ebe93329f2dfe0c28f87687f6dc4798 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 declare i8 @llvm.uadd.sat.i8(i8, i8)
 declare i8 @llvm.sadd.sat.i8(i8, i8)
index a7a60e562117efbeb2d1e5aac03e253f6ba6a8fb..0fd0e8fa97be634055aae56e159a23ee7ae39f87 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; CHECK-LABEL: shift_undef_64
 define void @shift_undef_64(i64* %p) {
index 83a43f418a68a3143e472c52bf72a93d469af46c..2f559853a341a81c148372c28eca9914e2497714 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ;-----------------------------------------------------------------------------
 ; Simple test using scalar layout.
index a18b3cff15befa0577aa7b6b0848734a003f0365..fb604a4435ae76be4e6760737e3868ce86222c6b 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ;-----------------------------------------------------------------------------
 ; Simple test using scalar layout.
index 5d5c3e3309ad44a7298be02d6f53d8bc7e9450b2..5bd511ed5461c3a8755be7b7b97dc0baa10e77b2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 ; REQUIRES: x86-registered-target
 
 define i1 @test_sse_cvts_exact() nounwind readnone {
index 3f4882e18171dd13b810066a8e57c88284f8dd91..e08c715b9933d5542b7a0de8e9aaee59cb870289 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -instsimplify < %s
+; RUN: opt -passes=instsimplify < %s
 
 ; Make sure we don't crash on this one
 
index b407c908cf2a2828df38b668ae32925a9e19d535..e994921f625747abf785a2c67f60a37dcdba6b44 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 declare i32 @llvm.vector.reduce.add.v1i32(<1 x i32> %a)
 declare i32 @llvm.vector.reduce.add.v8i32(<8 x i32> %a)
index 6ce03dd2e0f08f4e00078144ed9436f16b243e6d..08ec5dfbab774fe1dcba357cee9205b560752fdc 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S -o - | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S -o - | FileCheck %s
 
 ; When both operands are undef in a lane, that lane should produce an undef result.
 
index 99cc2527d12e85c07bd69bb8624a54e5751f1619..0e29e8c53f330e7f63b268ef0c4f4512a1b1df4a 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S -o - | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S -o - | FileCheck %s
 
 ; When both operands are undef in a lane, that lane should produce an undef result.
 
index 86789277e8ac57e6f6d23da3928e7bd2cf6b0daa..809104cf7fa038b7b2376fc30762a1c211409de4 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -mtriple=x86_64-- -instsimplify -S | FileCheck %s
+; RUN: opt < %s -mtriple=x86_64-- -passes=instsimplify -S | FileCheck %s
 
 ;
 ; constrained fadd
index 9d5980fbf782d9896ef7bb744d8f0ac1400f4ee3..aac07d5dd8254eb17d9ebd1a532e8558af4424b4 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 declare i8 @llvm.abs.i8(i8, i1)
 declare i32 @llvm.abs.i32(i32, i1)
index cd0c8719812058e02220783a2e9d88504fd9e809..f26c8e6d2cf8a08a3b79ba7d8ab80ad9e77c1ae6 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -S -instsimplify < %s | FileCheck %s
+; RUN: opt -S -passes=instsimplify < %s | FileCheck %s
 
 define i1 @test1(i32 %a) {
 ; CHECK-LABEL: @test1(
index b271c87d188fe92a6cfedbebd07a92644c762907..8cf88b4f1efd2cda1b4b19d0fc59dc277dda3f8f 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i32 @common_sub_operand(i32 %X, i32 %Y) {
 ; CHECK-LABEL: @common_sub_operand(
index 2f19a4d205e77190765d90f08a115e434635e028..dcfdb4d2a5404b02b0482d8d77d799e47bd9ea62 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i1 @test1(i1 %a) {
 ; CHECK-LABEL: @test1(
index 4da79388f723e8bd34e774a52f8345501b916e0b..4215543cca83c59656134a3b7635dc36012fbf14 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; There are 10 * 10 combinations of icmp predicates that can be AND'd together.
 ; The majority of these can be simplified to always false or just one of the icmps.
index e0ea02a11faa10c4d0197387c86436c3c4d0ea1e..7ea1797c99898fded83ff815070a9405cad6a108 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; There are 12 basic patterns (or 6 with DeMorganized equivalent) with
 ;    2 (commute logic op) *
index a6a702e1f68c3f716f452448a3e2c8c892ae5210..e5da52801aad3b01c00c6f96e7e02d218d4ed670 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; This is a specialization of generic folds for min/max values targeted to the
 ; 'null' ptr constant.
index 04bf5ace36a33b2675020ebeb4de1ad47956b74a..b251bbf7aa571fd8f66c0f74de565fab0d19cee0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; In the next 16 tests (4 commutes * 2 (and/or) * 2 optional ptrtoint casts),
 ; eliminate the simple (not) null check because that compare is implied by the
index 4900d48c5ffec4e37a26e7d57c912c431cc55c57..f92aeee5d09df2d2c21358f217c34d14db39b428 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i32 @poison(i32 %x) {
 ; CHECK-LABEL: @poison(
index a506b2559f231c5257a5ba24f5ac5c423f8a88b9..7d8d009ffbf4a96c150ddf65f4616bb9843e5707 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
index 0a4e8e89d194a1c069fa4a9466a082d042d03edb..9ac3f468ab604f0625c32cedd186f586cc74b364 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 declare void @llvm.assume(i1)
 declare void @use(i1)
index 608c95688f3958e239ea1932d40d5fa0bd6ed395..b9e2753d3feb021e0639963548ad51e874244009 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-f64:32:64-v64:64:64-v128:128:128"
 
 define <2 x i64> @test1() {
index eab4b07a16e9463d62395439ca07e27c6b0ed617..d872a5bbbccfd4152d0398bc8e64d2747f75baf3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i32 @identity_bitreverse_i32(i32 %p) {
 ; CHECK-LABEL: @identity_bitreverse_i32(
index 2194fd45418b6b8cf62e4678899be34e339620cf..aac38c7689b405ec0877c1daa7774bdbbdeb5527 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -S -instsimplify | FileCheck %s
+; RUN: opt < %s -S -passes=instsimplify | FileCheck %s
 
 declare i32 @llvm.bitreverse.i32(i32)
 declare <2 x i32> @llvm.bitreverse.v2i32(<2 x i32>)
index 3e7616c3bdc565a35cb6ad36aff7249389524f7d..73de879a5846f2c654ee158821937c2f8306bece 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -S -instsimplify | FileCheck %s
+; RUN: opt < %s -S -passes=instsimplify | FileCheck %s
 
 declare i16 @llvm.bswap.i16(i16)
 declare <2 x i16> @llvm.bswap.v2i16(<2 x i16>)
index 7aad90759d49d580ec2d67bba9aad5a960aa3499..cb59201e37040ed15b1723fd7fdf384b3283ef5e 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 ; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 declare {i8, i1} @llvm.uadd.with.overflow.i8(i8 %a, i8 %b)
index 3c068c8deb0c01f9e3ebedb9049623d72c181d7b..8014133c5d3739f69ace47620ff317b642cdbda5 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; This is related to https://bugs.llvm.org/show_bug.cgi?id=36682
 
index 1ba3c76d02370ca4e8477b8d94d92e4c6e5991ab..e5440c0390375f670ce01bbc4c4344f705c7011b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -S -instsimplify < %s | FileCheck %s
+; RUN: opt -S -passes=instsimplify < %s | FileCheck %s
 target datalayout = "p:32:32"
 
 define i1 @test1(i1 %V) {
index 4d8ed468ae98009122aa80876f997d0a1c5ad1a0..7986dbfa1e392702189898d01d933c19ad47da59 100644 (file)
@@ -1,7 +1,7 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
 ; Check that cmp's of scalable vector splats are simplified
 
-; RUN: opt -instsimplify -S < %s | FileCheck %s
+; RUN: opt -passes=instsimplify -S < %s | FileCheck %s
 
 define <2 x i1> @i32cmp_eq_fixed_zero() {
 ; CHECK-LABEL: @i32cmp_eq_fixed_zero(
index 63d3652fefe56302640bb1393bed0637ba43f2e2..5feb6ae0ddf6412f5b52312bee8fa5af413af004 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i1 @zext_uge_sext(i32 %x) {
 ; CHECK-LABEL: @zext_uge_sext(
index 34c4a15aed141f75315682acd29313f98af74b6c..fc0f77aa654ef6d19b03644cb11d6a2152f37064 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i1 @test_umax1(i32 %n) {
 ; CHECK-LABEL: @test_umax1(
index dce8f95ef7f1db6c23056517e8d03835aafb4775..571b2a4a7d051a069fd830e08c39996439d68cad 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 target datalayout = "p:32:32-p1:64:64"
 
 declare void @llvm.assume(i1)
index 53393c1cf0d469d400b8a598700a4023c43e17f7..7c9d9a9e2c7ce730936cc1266890849c94374ccb 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; %ret = add nuw i8 %x, C
 ; nuw means no unsigned wrap, from -1 to 0.
index 5103d70c4ea4e6ab3ec7747e7739f6a90d187b78..b5b5773fee538e5e29c2ec7a10f63eef266df3c6 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; %r = shl nuw i8 C, %x
 ; As per langref: If the nuw keyword is present, then the shift produces
index ff850e5949bda98cad86333b6fbcb0c423b2167c..f659b82d9748d88ff5e4e470f0eee20fe63d22c5 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 
 ; Verify that floor(10.1) is folded to 10.0 when the exception behavior is 'ignore'.
index e181f3b60d5bd383354525c8629ed27565eb670b..f383021faa9dda820960019a324b5fafca595569 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -instsimplify -S < %s | FileCheck %s
+; RUN: opt -passes=instsimplify -S < %s | FileCheck %s
 
 define void @foo() nounwind {
   br i1 undef, label %1, label %4
index 9134938406d70ab293c84cbf22d16882371695b7..b7eead7c92a1717c95d4155fc3fb63de47942644 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; %result = x & (1 ^ sel) = (x & 1) ^ (x & sel)
 ;         = x ^ (select cond, false, false)
index 6ed3b1e57c80594c1031ac835e4b803ae34ed50c..ef2416eccb839c497c609441f20375278a657f43 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt %s -instsimplify -S | FileCheck %s
+; RUN: opt %s -passes=instsimplify -S | FileCheck %s
 
 declare { i4, i1 } @llvm.smul.with.overflow.i4(i4, i4) #1
 
index 004c365608fe4c73bd43222d4275b0c0a510412d..84462567271ac5ff2fea16c9b990a7fcf11ff114 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt %s -instsimplify -S | FileCheck %s
+; RUN: opt %s -passes=instsimplify -S | FileCheck %s
 
 declare { i4, i1 } @llvm.smul.with.overflow.i4(i4, i4) #1
 
index c3c28a726f9bc895b456fcfa36f1299dceb5b508..c332b35fc1874d45df551ede5ee5678a1dcffc24 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt %s -instsimplify -S | FileCheck %s
+; RUN: opt %s -passes=instsimplify -S | FileCheck %s
 
 declare { i4, i1 } @llvm.umul.with.overflow.i4(i4, i4) #1
 
index 337de40f5d5eb51f79a803873bd86ef58fdd935b..9ab0819e214e7e168b024c4f7cc095684082e68e 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt %s -instsimplify -S | FileCheck %s
+; RUN: opt %s -passes=instsimplify -S | FileCheck %s
 
 declare { i4, i1 } @llvm.umul.with.overflow.i4(i4, i4) #1
 
index 7eed067b284dcb7a9a2762a9310402733c9b7ce6..d2989f5cba7e78043c1ed53519b9eff347e9cbb6 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i32 @zero_dividend(i32 %A) {
 ; CHECK-LABEL: @zero_dividend(
index 2cf4405e3c18fe0479ef717ff8a09a6e891c353f..dc8bd539411674678a7389085eb7e563ddb287a7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; PR8862
 
index fef09528bbf2ac2fd5645cc53932ef6fb222439c..3060586b25a791a4fe111dd247ec897259a7d3da 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; Weird Types
 
index 8bc29545dabaecea70d0902639c8bc64dde944a6..29379ad9e18b64dd46320973831ed4619ad20190 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define <16 x i8> @redundant_insert_extract_chain(<16 x i8> %x) {
 ; CHECK-LABEL: @redundant_insert_extract_chain(
index ee0a4ff390f21ff6d282b379fb026780e9df0e7f..5598968f571361c11098f4b01af02742e7aba680 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ;; x * 0 ==> 0 when no-nans and no-signed-zero
 define float @mul_zero_1(float %a) #0 {
index 2eea3efb1cd11006869338c3d099e6889b887c84..d1818e6346d7a37539d6cb970eec349419425d28 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ;; x * 0 ==> 0 when no-nans and no-signed-zero
 define float @mul_zero_1(float %a) {
index e10069126f1c331a665725eecbbc44e0a41973c8..470235a83631185a9d6373f935aaf75a62e5d6f4 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; X == 42.0 ? X : 42.0 --> 42.0
 
index 309b7f2176088ddbf4200a4809e73a042b6f8341..64132f5fb7db752e8d7c65145c6692c16891749f 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i1 @poison(float %x) {
 ; CHECK-LABEL: @poison(
index 39222b1916afbed5d50f236557e0f56ad38c17f9..a0fd8fe74bc676011912b2eea9b21ada5222adc3 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define float @fdiv_constant_fold() #0 {
 ; CHECK-LABEL: @fdiv_constant_fold(
index b245c2e435926215531445567e2a7d50fbef0676..2905fe0e5b7adbf2d681dd537e5d8a636264f1bd 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define float @fdiv_constant_fold() {
 ; CHECK-LABEL: @fdiv_constant_fold(
index f775d93e99a3cc97069931a6e7bcdf8da7c087b1..8895ffca50f4a249e4662309f85688d153fae6a8 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; fneg (fsub -0.0, X) ==> X
 define float @fsub_-0_x(float %a) #0 {
index b1dd69c19f8136db2495ced54078af481668e68c..be84594e72027c6dd7fda9082091197aa298efd0 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; fneg (fneg X) ==> X
 define float @fneg_fneg_var(float %a) {
index 1d2be21e949d34d2734244327d82ea165f2457c4..a45e39bd20cb0e1396ebd0be06050512df2ef7b8 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; Infinity
 
index 92b9204d3d66b6e0e6f0ac51a53a07eb4aa2d0e2..49acac8579451aca078a15ce27c80f08bc300ff0 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 declare float @llvm.minnum.f32(float, float)
 declare float @llvm.maxnum.f32(float, float)
index a9b4997d3f524a20b73b9f203b80c61769eb6475..7e7df8ee322f7f999da210f7c99f1e62b2cd49ed 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 declare float @llvm.powi.f32.i16(float, i16) nounwind readonly
 declare double @llvm.powi.f64.i32(double, i32) nounwind readonly
index d5259b8ff435fcc00f1f0dd97b370c069a3e4632..e72edf26836d73501700c2810c8069dfa1dd36da 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i64 @vscale_i64_range_none() #0 {
 ; CHECK-LABEL: @vscale_i64_range_none(
index 4cce3be002e9ea1e8d41f73802da3cf27792e19e..8ecb79df973d1ef38288ff57e659ba6f7c0c7128 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; Default NaN constant
 
index 065b1f6410888e26063daffb46ef315520329b20..30c82562f43068de4078e943f55a2700dbcdce04 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; TODO: the instructions with poison operands should return poison
 
index 6a8036c37b634d8a1f3859b96a504ab9b6e845d0..4ec782e0636c39b7ddc432ef84d7c015cc05c47e 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define float @fadd_undef_op0(float %x) {
 ; CHECK-LABEL: @fadd_undef_op0(
index bce665c2777412e6968bc3c55dd4ea39e74d59a7..cc9605259aa811ed9ed99a152d86aeecebb39be9 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -S -instsimplify < %s | FileCheck %s
+; RUN: opt -S -passes=instsimplify < %s | FileCheck %s
 
 define i1 @f16_si_max1(half %f) {
 ; CHECK-LABEL: @f16_si_max1(
index dcc0505a0cd85b2bed89cabf78ec57a2359e9c50..ef15b1ee7a33a4e4e964e18196b9fced096cd71f 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -S -instsimplify < %s | FileCheck %s
+; RUN: opt -S -passes=instsimplify < %s | FileCheck %s
 
 declare i32 @llvm.fptosi.sat.i32.f64(double)
 declare i32 @llvm.fptoui.sat.i32.f64(double)
index 2260f2aa3e584db38cb6d8fcf6ed25bc80e55aeb..3cd960311c9987f3ecf7b842404b830073be44b7 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i8 @noundef(i8 noundef %x) {
 ; CHECK-LABEL: @noundef(
index cb418b4e59283624b716aedc552f32da7427abd5..dd5842710a08fd257fd0a0331735e3ed081477e2 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i32 @fold(i32 %x) {
 ; CHECK-LABEL: @fold(
index 07a4443be43b0ed4e21db2656132480e81724be1..60a852f391d69b6ffa6c0d85124f798b64ba645f 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -instsimplify -S < %s | FileCheck %s
+; RUN: opt -passes=instsimplify -S < %s | FileCheck %s
 
 declare void @func()
 
index 66bcbd9be8667893ed6f4c173c5a387c75a4d6f6..a6764eb1142dca0dfede7139c4cfa7ad6a5f8362 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -S -instsimplify < %s | FileCheck %s
+; RUN: opt -S -passes=instsimplify < %s | FileCheck %s
 
 target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
 
index 31f71cba84fd31642b8404a7e9e12553ab3017f0..3bf583c940cf4665959f1db178820cd104935928 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; This is canonical form for this IR.
 
index 0b7a8297c682cff5513942ddc724390c0e3afd0c..fd7e487ccfd9d34fbd8275e0142c6e50f8854e6e 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; Test all integer predicates with bool types and true/false constants.
 ; Use vectors to provide test coverage that is not duplicated in other folds.
index 46ac6f6b9dacc7a5df8846bd704a66c29e84b821..04261f6f40b7c333b5d812d7940feff6c1bb7c78 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; Fold icmp with a constant operand.
 
index 855647dfe1444b543653d5a6f568eb2425d81c08..f4a0b6ddf662143642ccf39e3ebb610b589f2e42 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; Test all integer predicates with bool types and true/false constants,
 ; with not on LHS (icmp pred not(X), true|false).
index 45194f2df4f14f42e88def83cc0473b2e42afbea..3c1b364dbe4dca9464d310f208f42a41900d0cc4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; Cycle through all pairs of predicates to test
 ; simplification of range-intersection or range-union.
index b7cab480ed58e68f2f60b2fc9f9cb2380f525bc8..eaec21c41fc57e55a4888d5bc5715e957b737873 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 target datalayout = "e-p:64:64:64-p1:16:16:16-p2:32:32:32-p3: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"
 
index 56e1e6a29c49903d7d5099a6c55d3128e843d966..c9c08bf6d7123ce1b6c818b5ccd1be707c6a174f 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by update_test_checks.py
-; RUN: opt -S %s -instsimplify | FileCheck %s
+; RUN: opt -S %s -passes=instsimplify | FileCheck %s
 
 ; A ==> A -> true
 define i1 @test(i32 %length.i, i32 %i) {
index c4f65e5b095d130fd286bdd837fd25785d4e525a..90cf1e33ae98bf726a7903244fd030e97228e989 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define <vscale x 16 x i8> @redundant_extract_insert_chain(<vscale x 16 x i8> %x) {
 ; CHECK-LABEL: @redundant_extract_insert_chain(
index 8cb3312cf9eb6cb3563ce4fccd5ca1b17fd7095a..25697d77e197afdf96eb395884ed9335a01ce4d1 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -S -instsimplify < %s | FileCheck %s
+; RUN: opt -S -passes=instsimplify < %s | FileCheck %s
 
 define <4 x i32> @test1(<4 x i32> %A) {
 ; CHECK-LABEL: @test1(
index afc7f36acfe042b5f8dd1187f1f83a5215250f71..cd4612282315241dece84f8e1ebeb049ecfeb435 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define {i32, i32} @poison({i32, i32} %x) {
 ; CHECK-LABEL: @poison(
index c2c26e6ee975f65e073c8ceca11b6890df65fb35..8b24b2798e652ca0c9d14ce1140f248cac245d94 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -S -instsimplify | FileCheck %s
+; RUN: opt < %s -S -passes=instsimplify | FileCheck %s
 
 declare double @func()
 
index 2c45a0e06c39e2c3208ccd6d095cab31e5464889..42ad6779369742fd5a0c78e08e9ccb16f4a61a13 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -S -instsimplify -opaque-pointers < %s | FileCheck %s
+; RUN: opt -S -passes=instsimplify -opaque-pointers < %s | FileCheck %s
 
 declare void @zero_args()
 declare void @two_args(ptr, ptr)
index 2af4f2716206176327671c3fe06edfb3cbf79029..83ffba916e6691bc6f7ebcc559b8a659704efbae 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i64 @test0(i64 %x) {
 ; CHECK-LABEL: @test0(
index a38de8549dbd979963d3c4541cc3373d5c7781f4..db6ed6ef566c38742262b0ecbd9eecf2fa056243 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 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-n8:16:32"
 target triple = "i386-unknown-linux-gnu"
index 3074ede2b6976492cfe7cdb2775b8ecd34b2c053..9728359434f43dc730b3ca7bb36d27d5dbb35984 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
index c11eb8a0319adace494df6951051f7e4e4801a70..025051c03a3e203f67625d64c8b5dbb4a16c2903 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 @zeroinit = constant {} zeroinitializer
 @undef = constant {} undef
index 826ec42b31c223f96685c7e24f384fbd4c5ec546..a47bdde830bcac23d8a4c21e3b95e7eec31e1540 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 declare double @llvm.log.f64(double)
 declare double @llvm.exp.f64(double)
index a5b7afde1a80b9050c47dbb2d356276942487862..0d98719aff699e3e08e53822df2e09cb5417285d 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -S -instsimplify < %s | FileCheck %s
+; RUN: opt -S -passes=instsimplify < %s | FileCheck %s
 
 declare double @llvm.log10.f64(double)
 declare double @llvm.pow.f64(double, double)
index 8d8ef80db72ee3c70dea2cdfe95cf770b39fca71..e12de8439994138be0930a26272839cbcbb801a3 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -S -instsimplify < %s | FileCheck %s
+; RUN: opt -S -passes=instsimplify < %s | FileCheck %s
 
 declare double @llvm.log2.f64(double)
 declare double @llvm.pow.f64(double, double)
index e1288e52dda3f86f1759bd72fa56cd8c917a3ee6..b2929339d25e349ea098877cc30c60c26f177867 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; Cycle through commuted variants where one operand of fcmp ord/uno is
 ; known not-a-NAN and the other is repeated in the logically-connected fcmp.
index 1dea800e6ecd01f3ba88930872e002a9ccbc23dd..048850796744d5a3b1dbc0366412626a50a7b878 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i8 @smax_min_limit(i8 %x) {
 ; CHECK-LABEL: @smax_min_limit(
index 184b79f2adf0e64cf055b45e0783a68d81f73906..c1c206934fbeef3fd9df4dfb0ef65108509fb0fb 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; TODO: the instructions with poison operands should return poison
 
index 3168b41171fb35abf600b86a238fa64785174ee9..068b61c574d30dac8fed3a8fa793dd6b69ec44a0 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define <2 x i1> @test1(<2 x i1> %a) {
 ; CHECK-LABEL: @test1(
index c2216e4d3ea2a7fd4b4d08388c70f2cca2b52b99..bba44e1c7173661b2cfd4f4e2400acaabb98f275 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt  -instsimplify -S < %s | FileCheck %s
+; RUN: opt  -passes=instsimplify -S < %s | FileCheck %s
 
 ; Test back to back reverse shuffles are eliminated.
 define <vscale x 4 x i32> @shuffle_b2b_reverse(<vscale x 4 x i32> %a) {
index ec18826073c5ca4dfa04d33bfaffbb298f27dd42..d72a0db6d445cd0c8ff06a2fab0975d0705afcb4 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i32 @negate_nuw(i32 %x) {
 ; CHECK-LABEL: @negate_nuw(
index 59b1dfa8de34969fe24cb0d7faa7bf3fba8f4226..d15e1d07d5a4798999fdfc4fe4419ee6475fb6c5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -instsimplify -S < %s | FileCheck %s
+; RUN: opt -passes=instsimplify -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"
 
index 8ce04e7d3a9cb08ec07a1a83bec0d354c727138e..0319348a94a80c126b6161e1a5d6efe931e6dbc8 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -S -instsimplify < %s | FileCheck %s
+; RUN: opt -S -passes=instsimplify < %s | FileCheck %s
 
 ; A 0 valued byval pointer may be valid
 define i1 @byval_may_be_zero(i32* byval(i32) %ptr) null_pointer_is_valid {
index 7b7fb140e8c364fbf908a95b71218c3b94a2f3ba..cf907b3f154b559a3bb2a2bbaf45bfd01342f273 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -S -instsimplify < %s | FileCheck %s
+; RUN: opt -S -passes=instsimplify < %s | FileCheck %s
 
 target datalayout = "A5"
 
index 326b1e158c0250463fcf98d9f3f30ec5e142a191..74b6173b440a10b7f525be583e158b33f32625a4 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; There are 10 * 10 combinations of icmp predicates that can be OR'd together.
 ; The majority of these can be simplified to always true or just one of the icmps.
index 3e8e0fa9de7fcde259bebe037fa991de4c9f303f..627d08e43914869f5d371a48ba555165bb99e04a 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i32 @test1(i32 %A) {
 ; CHECK-LABEL: @test1(
index b47db7defcbd2e2e3b6a95269d0ac5cb796eab82..e213f068e0dd1d27e0f9743b8f75db0a487b6183 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 target datalayout = "p:32:32"
 
 ; Check some past-the-end subtleties.
index 91bf01e0acbd473dbe2c80c38debd82fbc835d4a..bb0a01f5d84d00cab24eb7cebd0e024ecd19f5ed 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -instsimplify -S < %s | FileCheck %s
+; RUN: opt -passes=instsimplify -S < %s | FileCheck %s
 
 ; All these are negative cases, we are not allowed to perform this
 ; simplification in InstSimplify, because the PHI's aren't def-reachable
index e75a1f95273f5a67b4aabd6c3e81df4982d93df8..f1cdd8b960cbb1aaa03c3a44ebd99143e0c1aee9 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; PR12189
 define i1 @test1(i32 %x) {
@@ -36,7 +36,7 @@ c:
 
 ; D63489 - https://reviews.llvm.org/D63489
 ; If this single-value phi form needs to be preserved to enable
-; further analysis, then -instsimplify should not be running?
+; further analysis, then -passes=instsimplify should not be running?
 
 define i32 @lcssa-phi(i32 %x) {
 ; CHECK-LABEL: @lcssa-phi(
index 7ff0b90c65ddd1498f6fc313c2cd41bd1910aa0b..1ccb81763863910446b092b1b0305d51ffcf6d64 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -S -instsimplify < %s | FileCheck %s
+; RUN: opt -S -passes=instsimplify < %s | FileCheck %s
 %S = type { i16, i32 }
 
 define <2 x i16> @test1() {
index b3eca968c0603b94f4787b227c0049efe8f072e0..bd3e0498024638468891e3376066495188e0829d 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; The first comparison (a != b) should not be dropped
 define i1 @test1(i8* %a, i8* %b) {
index c57fab99786685d02d6801d887a4f9d3707486a9..c2658d0b9776c42cae8936f8e500cc67b2d9bad6 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -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-unknown-linux-gnu"
 
index b5994e4531aea4057a8a7e0fd31fe6380e71e67b..89c54600c734c72465f83d886d287d896825d278 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i32 @add1(i32 %x) {
 ; CHECK-LABEL: @add1(
index d409aecf52e4246f2db3ef870db9e078d2980964..adb8097e21ff171aa3e02f25831711d5292d23ba 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt %s -instsimplify -S | FileCheck %s
+; RUN: opt %s -passes=instsimplify -S | FileCheck %s
 
 ; Here we have add some offset to a non-null pointer,
 ; and check that the result does not overflow and is not a null pointer.
index 011f991c9e02147ffca55c2379168aa8a58bf55f..5af3b5f7c5e0bfe92768a2165744f8b7eb740b0a 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i32 @zero_dividend(i32 %A) {
 ; CHECK-LABEL: @zero_dividend(
index ce24cc8a1de137bda9acc823e73a1fc924a1bd00..bce75493b10be5d857607480d3314f6ad946857f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -instsimplify
+; RUN: opt < %s -passes=instsimplify
 
 ; instsimplify pass should explicitly require DominatorTreeAnalysis
 ; This test will segfault if DominatorTree is not available
index 9521a71bd701fe79294140a966e143259d9e5ef1..abcbb78889f1d733ef5f9b4ea2681837564c2c4c 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt %s -instsimplify -S | FileCheck %s
+; RUN: opt %s -passes=instsimplify -S | FileCheck %s
 
 ; Here we add unsigned two values, check that addition did not underflow AND
 ; that the result is non-zero. This can be simplified just to a comparison
index f52f5e55dd08a28f24fc8f903a5be299d3087877..2743676c005e1ddbed38bef4c5fb202f4b9d9498 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt %s -instsimplify -S | FileCheck %s
+; RUN: opt %s -passes=instsimplify -S | FileCheck %s
 
 ; Here we subtract two values, check that subtraction did not overflow AND
 ; that the result is non-zero. This can be simplified just to a comparison
index fd473ac9d251fcadd17b4afb689579e30d5387cd..d5074e0f4ffa320496ef0aa7db8e8a469457a64b 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt %s -instsimplify -S | FileCheck %s
+; RUN: opt %s -passes=instsimplify -S | FileCheck %s
 
 ; Here we subtract two values, check that subtraction did not overflow AND
 ; that the result is non-zero. This can be simplified just to a comparison
index a34f52b0910e12939d39032dabc078d9da7e87bd..5d12efbf9e779273623b4a69f89787887314c9a6 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -instsimplify -S < %s | FileCheck %s
+; RUN: opt -passes=instsimplify -S < %s | FileCheck %s
 
 define i1 @bitcast() {
 ; CHECK-LABEL: @bitcast(
index 3b63bd6be6f789cd1eab18401bc67f7f80cf074d..b4c0804a5eee08a2399b2b7aaf1cc558f9b1ab05 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -S -instsimplify %s | FileCheck %s
+; RUN: opt -S -passes=instsimplify %s | FileCheck %s
 
 define float @sitofp_floor(i32 %arg) {
 ; CHECK-LABEL: @sitofp_floor(
index 2c3bbe9e9246be86bd05f47be5495809a1124792..b323ce0749f8479815bfea74c02bb810f6531630 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; TODO: the instructions having poison operands should be folded to poison
 
index 76ba16800c2741277a2c54c0a11fa6078d0b8ffe..1d026a112a27fa2a8c8d76d2a91758de1fc9fd15 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i32 @negated_operand(i32 %x) {
 ; CHECK-LABEL: @negated_operand(
index 7153972c79c84dbb8b1b184c7c7e05437a898c11..41a4ab96bd62cca3cb936f880b57befd88f2af55 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i32 @select_and_icmp(i32 %x, i32 %y, i32 %z) {
 ; CHECK-LABEL: @select_and_icmp(
index a456e291b51aecfffd972468325d4c3590fc6ff2..57b8b35b4a0bfe1f5f5b877b01f777e751fa6adc 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; A == B implies A >u B is false.
 
index 2897dd192faa39bcf1f9418ba565b5618cec99ec..3dbb29f85d0f9c2e81665bd47b694c4ccab6c5a0 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i1 @bool_true_or_false(i1 %cond) {
 ; CHECK-LABEL: @bool_true_or_false(
index 28ae8c41069c63b8fe80205b3a72e510e8cec82f..2f04ab6376f93ee97d58e1fb03163bd68fb2ea2d 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i1 @logical_and_of_or_commute0(i1 %x, i1 %y) {
 ; CHECK-LABEL: @logical_and_of_or_commute0(
index ea29bff7d1c466f9af4a3a91a6b869155ec2494e..0e410a9645f0d2d6ebed5835d2a0774d6f8e884a 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i32 @select_or_icmp(i32 %x, i32 %y, i32 %z) {
 ; CHECK-LABEL: @select_or_icmp(
index 475b9e48c137d5d963425a1696db61d1c6067804..43a39741bc8b9e38133d17970944e2353b4d420f 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i1 @bool_true_or_false(i1 %cond) {
 ; CHECK-LABEL: @bool_true_or_false(
index 76f1da57bbf9290fca30dccdc7007fd22b650724..06bf841e69f6713013dce81461438944ea0e3f2f 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by update_test_checks.py
-; RUN: opt -S -instsimplify < %s | FileCheck %s
+; RUN: opt -S -passes=instsimplify < %s | FileCheck %s
 
 target datalayout = "E-m:e-i64:64-n32:64"
 target triple = "powerpc64-unknown-linux-gnu"
index 348f47a0f19ccf6f0789f32106ed770312545e7e..c2256f4b14af83160b98df65d0ef96d99cffd3f8 100644 (file)
@@ -1,6 +1,6 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S -data-layout="E" | FileCheck %s --check-prefixes=CHECK,BIGENDIAN
-; RUN: opt < %s -instsimplify -S -data-layout="e" | FileCheck %s --check-prefixes=CHECK,LITTLEENDIAN
+; RUN: opt < %s -passes=instsimplify -S -data-layout="E" | FileCheck %s --check-prefixes=CHECK,BIGENDIAN
+; RUN: opt < %s -passes=instsimplify -S -data-layout="e" | FileCheck %s --check-prefixes=CHECK,LITTLEENDIAN
 
 ; If any bits of the shift amount are known to make it exceed or equal
 ; the number of bits in the type, the shift causes undefined behavior.
index c6b7a1406d650892afb75e6d10e491ea1d4ecb0e..98a5a526ea8390bb222d6581bcd2c23a91667124 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i47 @shl_by_0(i47 %A) {
 ; CHECK-LABEL: @shl_by_0(
index 9b0f4e9fe501b641a5109deb56a3164c75caa119..ade6f9eebe90ae0e643b0b9d92a7e9098a210ee1 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i32 @foo(i32 %x) {
 ; CHECK-LABEL: @foo(
index 90725a153a2f2a07a5121ab37d62acad77caecf7..55310fe67707607945a851b90f946418749ef7ef 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ; This tests checks optimization consistency for scalar and vector code.
 ; If m_Zero() is able to match a vector undef, but not a scalar undef,
index 74edb9f995ef771ae23d7b6c8412a67ce3b09132..3aa3cc6902cc2783af8b3d34ce6e4de203e03745 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define <4 x i32> @const_folding(<4 x i32> %x) {
 ; CHECK-LABEL: @const_folding(
index 01b080ff88e67b53b92e4add2158f3a28ef9c371..cdd7df33a94bf7eecfda7f112e9f26456b40e1bf 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define <4 x i32> @const_folding(<4 x i32> %x) {
 ; CHECK-LABEL: @const_folding(
index 5e8388ae3ba5b7cebf09b2cd7ca65062c9ac935e..6036c0a577b566485143fdf6859bdbf8729dd964 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i32 @sdiv_sext_big_divisor(i8 %x) {
 ; CHECK-LABEL: @sdiv_sext_big_divisor(
index 5ca4129008a13ac158406b8d1a9bf2bbf99f718b..775d82d2ea2efa4969c8a13eb1bb588abf2414ac 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -S -instsimplify | FileCheck %s
+; RUN: opt < %s -S -passes=instsimplify | FileCheck %s
 
 declare i16 @llvm.smul.fix.i16(i16, i16, i32)
 declare i16 @llvm.smul.fix.sat.i16(i16, i16, i32)
index c828d6d53ac8450ded94ceff951262bb40e15fe6..b1cbdf35b3c7ccb9999a65d7693a153b8b06f5d7 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i32 @negated_operand(i32 %x) {
 ; CHECK-LABEL: @negated_operand(
index 61d06e964ac5c8534d926ebcf5cdf59cb4783edf..1e770e752c1f8373cb0b6f78b9b813244e586153 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ;
 ; constrained fadd
index 5db531054491864d12e1c08142cb8fee1f81b292..35ee46e7b8ff457190a7fd37cb3351f23bac0ca7 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 ;
 ; constrained fsub
index 7e00069591bc89da9b6d08cce1a6532048b7c2eb..deb0ee33cd9204b379052cfbc076a724d5d57a6c 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i32 @sub_self(i32 %A) {
 ; CHECK-LABEL: @sub_self(
index 1f624043fd7071d72054cb890b440ab1f55861ed..cb049bfb1dca23c4bbdb1152d9c067b3b6fe5467 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -instsimplify -S < %s | FileCheck %s
+; RUN: opt -passes=instsimplify -S < %s | FileCheck %s
 
 define i64 @test0() {
 ; CHECK-LABEL: @test0(
index ca6361a18ac4862172d10ead4dad79633c7c982a..07dfad417f85209a612a37537364383b25c78f16 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define <2 x i1> @nonzero_vec_splat(<2 x i32> %x) {
 ; CHECK-LABEL: @nonzero_vec_splat(
index 42916c4c07a39fd411db293a984dd7bf7835dbb4..7a50854cdb327ba975fc73fe7d40abeb1e0fd723 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -S -instsimplify < %s | FileCheck %s
+; RUN: opt -S -passes=instsimplify < %s | FileCheck %s
 
 target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
 
index 97c8343bfb9bb061437751ac79ac3a537912d78f..04c9720f30a85d2a0af18cc4941452a367655af9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -S -instsimplify < %s | FileCheck %s
+; RUN: opt -S -passes=instsimplify < %s | FileCheck %s
 target datalayout = "e-i64:64-f80:128-n8:16:32:64-S128"
 
 %mst = type { i8*, i8* }
index f5062a53aa0e0c2038ae6705ca8eb03e3c482a12..0e23cc66c1652c44a6f83c82fc839556ed3025b3 100644 (file)
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -instsimplify -S | FileCheck %s
+; RUN: opt < %s -passes=instsimplify -S | FileCheck %s
 
 define i32 @poison(i32 %x) {
 ; CHECK-LABEL: @poison(