From acdc419c897f8a9414c7a00c8908ac32312afee2 Mon Sep 17 00:00:00 2001 From: Bjorn Pettersson Date: Fri, 4 Feb 2022 13:39:52 +0100 Subject: [PATCH] [test] Use -passes=instcombine instead of -instcombine in lots of tests. NFC Another step moving away from the deprecated syntax of specifying pass pipeline in opt. Differential Revision: https://reviews.llvm.org/D119081 --- .../InstCombine/2003-05-26-CastMiscompile.ll | 2 +- .../InstCombine/2003-05-27-ConstExprCrash.ll | 2 +- .../2003-06-05-BranchInvertInfLoop.ll | 2 +- .../2003-07-21-ExternalConstant.ll | 2 +- .../2003-09-09-VolatileLoadElim.ll | 2 +- .../InstCombine/2003-10-29-CallSiteResolve.ll | 2 +- .../InstCombine/2003-11-03-VarargsCallBug.ll | 2 +- .../2004-01-13-InstCombineInvokePHI.ll | 2 +- .../2004-02-23-ShiftShiftOverflow.ll | 2 +- .../2004-03-13-InstCombineInfLoop.ll | 2 +- ...004-04-04-InstCombineReplaceAllUsesWith.ll | 2 +- .../InstCombine/2004-05-07-UnsizedCastLoad.ll | 2 +- .../InstCombine/2004-07-27-ConstantExprMul.ll | 2 +- .../InstCombine/2004-08-09-RemInfLoop.ll | 2 +- .../InstCombine/2004-08-10-BoolSetCC.ll | 2 +- .../2004-09-28-BadShiftAndSetCC.ll | 2 +- .../InstCombine/2004-11-22-Missed-and-fold.ll | 2 +- ...004-11-27-SetCCForCastLargerAndConstant.ll | 2 +- .../InstCombine/2004-12-08-RemInfiniteLoop.ll | 2 +- .../InstCombine/2005-03-04-ShiftOverflow.ll | 2 +- .../InstCombine/2005-04-07-UDivSelectCrash.ll | 2 +- .../InstCombine/2005-06-15-DivSelectCrash.ll | 2 +- .../InstCombine/2005-06-15-ShiftSetCCCrash.ll | 2 +- .../InstCombine/2005-06-16-RangeCrash.ll | 2 +- .../InstCombine/2005-07-07-DeadPHILoop.ll | 2 +- .../2006-02-13-DemandedMiscompile.ll | 2 +- .../InstCombine/2006-02-28-Crash.ll | 2 +- .../InstCombine/2006-03-30-ExtractElement.ll | 2 +- .../2006-04-28-ShiftShiftLongLong.ll | 2 +- .../2006-05-04-DemandedBitCrash.ll | 2 +- .../InstCombine/2006-09-15-CastToBool.ll | 2 +- ...06-10-19-SignedToUnsignedCastAndConst-2.ll | 2 +- .../Transforms/InstCombine/2006-10-20-mask.ll | 2 +- .../InstCombine/2006-10-26-VectorReassoc.ll | 2 +- .../InstCombine/2006-11-10-ashr-miscompile.ll | 2 +- .../2006-12-01-BadFPVectorXform.ll | 2 +- .../InstCombine/2006-12-05-fp-to-int-ext.ll | 2 +- .../2006-12-08-Phi-ICmp-Op-Fold.ll | 2 +- .../InstCombine/2006-12-08-Select-ICmp.ll | 2 +- .../InstCombine/2006-12-15-Range-Test.ll | 2 +- .../InstCombine/2006-12-23-Select-Cmp-Cmp.ll | 2 +- .../2007-01-13-ExtCompareMiscompile.ll | 2 +- .../InstCombine/2007-01-18-VectorInfLoop.ll | 2 +- .../InstCombine/2007-02-07-PointerCast.ll | 2 +- .../InstCombine/2007-02-23-PhiFoldInfLoop.ll | 2 +- .../InstCombine/2007-03-13-CompareMerge.ll | 2 +- .../2007-03-19-BadTruncChangePR1261.ll | 2 +- .../InstCombine/2007-03-21-SignedRangeTest.ll | 2 +- .../InstCombine/2007-03-25-BadShiftMask.ll | 2 +- .../InstCombine/2007-03-25-DoubleShift.ll | 2 +- .../InstCombine/2007-03-26-BadShiftMask.ll | 2 +- .../2007-04-08-SingleEltVectorCrash.ll | 2 +- .../InstCombine/2007-05-10-icmp-or.ll | 2 +- .../InstCombine/2007-05-14-Crash.ll | 2 +- .../InstCombine/2007-05-18-CastFoldBug.ll | 2 +- .../InstCombine/2007-06-06-AshrSignBit.ll | 2 +- .../2007-06-21-DivCompareMiscomp.ll | 2 +- .../InstCombine/2007-08-02-InfiniteLoop.ll | 2 +- .../InstCombine/2007-09-10-AliasConstFold.ll | 2 +- .../InstCombine/2007-09-17-AliasConstFold2.ll | 2 +- .../InstCombine/2007-10-10-EliminateMemCpy.ll | 2 +- .../InstCombine/2007-10-12-Crash.ll | 2 +- .../InstCombine/2007-10-28-stacksave.ll | 2 +- .../InstCombine/2007-10-31-RangeCrash.ll | 2 +- .../InstCombine/2007-10-31-StringCrash.ll | 2 +- .../2007-11-07-OpaqueAlignCrash.ll | 2 +- .../InstCombine/2007-11-15-CompareMiscomp.ll | 2 +- .../2007-11-25-CompatibleAttributes.ll | 2 +- .../2007-12-10-ConstFoldCompare.ll | 2 +- .../InstCombine/2007-12-12-GEPScale.ll | 2 +- .../InstCombine/2007-12-16-AsmNoUnwind.ll | 2 +- .../InstCombine/2007-12-18-AddSelCmpSub.ll | 2 +- .../2008-01-06-BitCastAttributes.ll | 2 +- .../InstCombine/2008-01-06-CastCrash.ll | 2 +- .../InstCombine/2008-01-06-VoidCast.ll | 2 +- .../InstCombine/2008-01-13-AndCmpCmp.ll | 2 +- .../2008-01-14-VarArgTrampoline.ll | 2 +- .../2008-01-21-MismatchedCastAndCompare.ll | 2 +- .../InstCombine/2008-01-21-MulTrunc.ll | 2 +- .../InstCombine/2008-01-27-FloatSelect.ll | 2 +- .../InstCombine/2008-02-13-MulURem.ll | 2 +- .../InstCombine/2008-02-16-SDivOverflow2.ll | 2 +- .../InstCombine/2008-02-23-MulSub.ll | 2 +- .../InstCombine/2008-02-28-OrFCmpCrash.ll | 2 +- .../InstCombine/2008-03-13-IntToPtr.ll | 2 +- .../InstCombine/2008-04-22-ByValBitcast.ll | 2 +- .../InstCombine/2008-04-28-VolatileStore.ll | 2 +- .../2008-04-29-VolatileLoadDontMerge.ll | 2 +- .../2008-04-29-VolatileLoadMerge.ll | 2 +- .../InstCombine/2008-05-08-LiveStoreDelete.ll | 2 +- .../InstCombine/2008-05-08-StrLenSink.ll | 2 +- .../InstCombine/2008-05-09-SinkOfInvoke.ll | 2 +- .../InstCombine/2008-05-17-InfLoop.ll | 2 +- .../InstCombine/2008-05-18-FoldIntToPtr.ll | 2 +- .../InstCombine/2008-05-22-IDivVector.ll | 2 +- .../InstCombine/2008-05-23-CompareFold.ll | 2 +- .../InstCombine/2008-05-31-AddBool.ll | 2 +- .../InstCombine/2008-05-31-Bools.ll | 2 +- .../InstCombine/2008-06-05-ashr-crash.ll | 2 +- .../InstCombine/2008-06-08-ICmpPHI.ll | 2 +- .../2008-06-13-InfiniteLoopStore.ll | 2 +- .../2008-06-13-ReadOnlyCallStore.ll | 2 +- .../InstCombine/2008-06-19-UncondLoad.ll | 2 +- .../InstCombine/2008-06-21-CompareMiscomp.ll | 2 +- .../InstCombine/2008-06-24-StackRestore.ll | 2 +- .../InstCombine/2008-07-08-ShiftOneAndOne.ll | 2 +- .../InstCombine/2008-07-08-SubAnd.ll | 2 +- .../2008-07-08-VolatileLoadMerge.ll | 2 +- .../InstCombine/2008-07-09-SubAndError.ll | 2 +- .../InstCombine/2008-07-10-CastSextBool.ll | 2 +- .../InstCombine/2008-07-11-RemAnd.ll | 2 +- .../InstCombine/2008-07-13-DivZero.ll | 4 +-- .../Transforms/InstCombine/2008-07-16-fsub.ll | 2 +- .../Transforms/InstCombine/2008-08-05-And.ll | 2 +- .../InstCombine/2008-09-02-VectorCrash.ll | 2 +- .../InstCombine/2008-10-11-DivCompareFold.ll | 2 +- .../2008-10-23-ConstFoldWithoutMask.ll | 2 +- .../2008-11-01-SRemDemandedBits.ll | 2 +- .../Transforms/InstCombine/2008-11-08-FCmp.ll | 2 +- .../InstCombine/2008-11-27-IDivVector.ll | 2 +- .../InstCombine/2008-11-27-MultiplyIntVec.ll | 2 +- .../InstCombine/2008-12-17-SRemNegConstVec.ll | 2 +- .../InstCombine/2009-01-05-i128-crash.ll | 2 +- .../InstCombine/2009-01-08-AlignAlloca.ll | 2 +- .../2009-01-16-PointerAddrSpace.ll | 2 +- .../InstCombine/2009-01-24-EmptyStruct.ll | 2 +- .../InstCombine/2009-01-31-InfIterate.ll | 2 +- .../InstCombine/2009-02-04-FPBitcast.ll | 2 +- .../InstCombine/2009-02-21-LoadCST.ll | 2 +- .../2009-02-25-CrashZeroSizeArray.ll | 2 +- .../2009-03-18-vector-ashr-crash.ll | 2 +- .../InstCombine/2009-03-24-InfLoop.ll | 2 +- .../InstCombine/2009-04-07-MulPromoteToI96.ll | 2 +- .../InstCombine/2009-05-23-FCmpToICmp.ll | 2 +- .../InstCombine/2009-06-11-StoreAddrSpace.ll | 2 +- .../2009-06-16-SRemDemandedBits.ll | 2 +- .../InstCombine/2009-07-02-MaskedIntVector.ll | 2 +- .../InstCombine/2009-12-17-CmpSelectNull.ll | 2 +- .../InstCombine/2010-01-28-NegativeSRem.ll | 2 +- .../InstCombine/2010-03-03-ExtElim.ll | 2 +- .../InstCombine/2010-05-30-memcpy-Struct.ll | 2 +- .../InstCombine/2010-11-21-SizeZeroTypeGEP.ll | 2 +- .../InstCombine/2010-11-23-Distributed.ll | 2 +- .../InstCombine/2011-02-14-InfLoop.ll | 2 +- .../2011-03-08-SRemMinusOneBadOpt.ll | 2 +- .../InstCombine/2011-05-02-VectorBoolean.ll | 2 +- .../InstCombine/2011-05-13-InBoundsGEP.ll | 2 +- .../InstCombine/2011-05-28-swapmulsub.ll | 2 +- .../InstCombine/2011-06-13-nsw-alloca.ll | 2 +- .../InstCombine/2011-09-03-Trampoline.ll | 2 +- .../InstCombine/2011-10-07-AlignPromotion.ll | 2 +- .../2012-01-11-OpaqueBitcastCrash.ll | 2 +- .../Transforms/InstCombine/2012-02-13-FCmp.ll | 2 +- .../Transforms/InstCombine/2012-02-28-ICmp.ll | 2 +- .../InstCombine/2012-03-10-InstCombine.ll | 2 +- .../InstCombine/2012-04-24-vselect.ll | 2 +- .../Transforms/InstCombine/2012-04-30-SRem.ll | 2 +- .../InstCombine/2012-05-28-select-hang.ll | 2 +- .../InstCombine/2012-06-06-LoadOfPHIs.ll | 2 +- .../InstCombine/2012-07-25-LoadPart.ll | 4 +-- .../InstCombine/2012-07-30-addrsp-bitcast.ll | 2 +- .../InstCombine/2012-08-28-udiv_ashl.ll | 2 +- .../InstCombine/2012-09-17-ZeroSizedAlloca.ll | 2 +- .../2012-10-25-vector-of-pointers.ll | 2 +- .../InstCombine/2012-12-14-simp-vgep.ll | 2 +- .../InstCombine/2012-3-15-or-xor-constant.ll | 2 +- .../InstCombine/2012-6-7-vselect-bitcast.ll | 2 +- ...013-03-05-Combine-BitcastTy-Into-Alloca.ll | 2 +- .../AArch64/2012-04-23-Neon-Intrinsics.ll | 2 +- .../AArch64/VectorUtils_heuristics.ll | 2 +- .../InstCombine/AArch64/aes-intrinsics.ll | 2 +- .../InstCombine/AArch64/demandelts.ll | 2 +- .../AArch64/sve-intrinsic-fma-binops.ll | 2 +- .../AArch64/sve-intrinsic-fmul-idempotency.ll | 2 +- .../AArch64/sve-intrinsic-loadstore.ll | 2 +- .../AArch64/sve-intrinsic-mul-idempotency.ll | 2 +- .../AArch64/sve-intrinsic-muladd.ll | 2 +- .../AArch64/sve-intrinsic-opts-cmpne.ll | 2 +- .../sve-intrinsic-opts-counting-elems.ll | 2 +- .../AArch64/sve-intrinsic-opts-dup.ll | 2 +- .../AArch64/sve-intrinsic-opts-lasta-lastb.ll | 2 +- .../AArch64/sve-intrinsic-opts-reinterpret.ll | 2 +- .../AArch64/sve-intrinsic-opts-tuple-get.ll | 2 +- .../sve-intrinsic-opts-unpkhi-unpklo.ll | 2 +- .../AArch64/sve-intrinsic-opts-zip.ll | 2 +- .../InstCombine/AArch64/sve-intrinsic-sdiv.ll | 2 +- .../AArch64/sve-intrinsic-tbl-dupx.ll | 2 +- .../AArch64/sve-intrinsic-to-svbool-binops.ll | 2 +- .../AArch64/sve-intrinsics-ptest.ll | 2 +- .../sve-intrinsics-rdffr-predication.ll | 2 +- .../Transforms/InstCombine/AArch64/tbl1.ll | 2 +- ...mdgcn-demanded-vector-elts-inseltpoison.ll | 2 +- .../AMDGPU/amdgcn-demanded-vector-elts.ll | 2 +- .../AMDGPU/amdgcn-intrinsics-gfx8.ll | 2 +- .../InstCombine/AMDGPU/amdgcn-intrinsics.ll | 2 +- .../InstCombine/AMDGPU/fma_legacy.ll | 2 +- .../InstCombine/AMDGPU/fmul_legacy.ll | 2 +- .../Transforms/InstCombine/AMDGPU/ldexp.ll | 2 +- .../test/Transforms/InstCombine/AMDGPU/tan.ll | 2 +- .../ARM/2012-04-23-Neon-Intrinsics.ll | 2 +- .../InstCombine/ARM/aes-intrinsics.ll | 2 +- .../InstCombine/ARM/constant-fold-hang.ll | 2 +- .../Transforms/InstCombine/ARM/mve-narrow.ll | 2 +- .../Transforms/InstCombine/ARM/mve-v2i2v.ll | 2 +- .../InstCombine/ARM/neon-intrinsics.ll | 2 +- .../test/Transforms/InstCombine/ARM/strcmp.ll | 2 +- .../test/Transforms/InstCombine/ARM/strcpy.ll | 2 +- llvm/test/Transforms/InstCombine/ARM/tbl1.ll | 2 +- llvm/test/Transforms/InstCombine/ARM/vld1.ll | 2 +- .../Transforms/InstCombine/ARM/vmldava.ll | 2 +- .../Transforms/InstCombine/AddOverFlow.ll | 2 +- .../Transforms/InstCombine/CPP_min_max.ll | 2 +- .../Transforms/InstCombine/ExtractCast.ll | 2 +- .../InstCombine/Hexagon/simplify-hvx-qvq.ll | 2 +- .../test/Transforms/InstCombine/IntPtrCast.ll | 2 +- .../Transforms/InstCombine/JavaCompare.ll | 2 +- .../InstCombine/LandingPadClauses.ll | 2 +- .../InstCombine/NVPTX/nvvm-intrins.ll | 4 +-- .../InstCombine/OverlappingInsertvalues.ll | 2 +- .../InstCombine/PowerPC/aligned-altivec.ll | 2 +- .../InstCombine/PowerPC/vsx-unaligned.ll | 2 +- .../RISCV/riscv-vsetvli-knownbits.ll | 2 +- .../InstCombine/X86/2009-03-23-i80-fp80.ll | 2 +- .../Transforms/InstCombine/X86/addcarry.ll | 2 +- .../Transforms/InstCombine/X86/blend_x86.ll | 2 +- .../Transforms/InstCombine/X86/clmulqdq.ll | 2 +- .../Transforms/InstCombine/X86/pr2645-1.ll | 2 +- .../X86/shufflemask-undef-inseltpoison.ll | 2 +- .../InstCombine/X86/shufflemask-undef.ll | 2 +- .../X86/simplify-libcalls-memcmp.ll | 2 +- .../X86/x86-addsub-inseltpoison.ll | 2 +- .../Transforms/InstCombine/X86/x86-addsub.ll | 2 +- .../InstCombine/X86/x86-amx-load-store.ll | 1 - .../Transforms/InstCombine/X86/x86-amx.ll | 1 - .../InstCombine/X86/x86-avx2-inseltpoison.ll | 2 +- .../Transforms/InstCombine/X86/x86-avx2.ll | 2 +- .../X86/x86-avx512-inseltpoison.ll | 2 +- .../Transforms/InstCombine/X86/x86-avx512.ll | 2 +- .../Transforms/InstCombine/X86/x86-bmi-tbm.ll | 2 +- .../InstCombine/X86/x86-crc32-demanded.ll | 2 +- .../InstCombine/X86/x86-f16c-inseltpoison.ll | 2 +- .../Transforms/InstCombine/X86/x86-f16c.ll | 2 +- .../Transforms/InstCombine/X86/x86-fma.ll | 2 +- .../InstCombine/X86/x86-insertps.ll | 2 +- .../InstCombine/X86/x86-masked-memops.ll | 2 +- .../Transforms/InstCombine/X86/x86-movmsk.ll | 2 +- .../InstCombine/X86/x86-muldq-inseltpoison.ll | 2 +- .../Transforms/InstCombine/X86/x86-muldq.ll | 2 +- .../InstCombine/X86/x86-pack-inseltpoison.ll | 2 +- .../Transforms/InstCombine/X86/x86-pack.ll | 2 +- .../X86/x86-pshufb-inseltpoison.ll | 2 +- .../Transforms/InstCombine/X86/x86-pshufb.ll | 2 +- .../InstCombine/X86/x86-sse-inseltpoison.ll | 2 +- .../Transforms/InstCombine/X86/x86-sse.ll | 2 +- .../InstCombine/X86/x86-sse2-inseltpoison.ll | 2 +- .../Transforms/InstCombine/X86/x86-sse2.ll | 2 +- .../InstCombine/X86/x86-sse41-inseltpoison.ll | 2 +- .../Transforms/InstCombine/X86/x86-sse41.ll | 2 +- .../InstCombine/X86/x86-sse4a-inseltpoison.ll | 2 +- .../Transforms/InstCombine/X86/x86-sse4a.ll | 2 +- .../X86/x86-vec_demanded_elts-inseltpoison.ll | 2 +- .../InstCombine/X86/x86-vec_demanded_elts.ll | 2 +- .../X86/x86-vector-shifts-inseltpoison.ll | 2 +- .../InstCombine/X86/x86-vector-shifts.ll | 2 +- .../X86/x86-vpermil-inseltpoison.ll | 2 +- .../Transforms/InstCombine/X86/x86-vpermil.ll | 2 +- .../InstCombine/X86/x86-xop-inseltpoison.ll | 2 +- .../Transforms/InstCombine/X86/x86-xop.ll | 2 +- llvm/test/Transforms/InstCombine/abs-1.ll | 2 +- .../Transforms/InstCombine/abs-intrinsic.ll | 2 +- llvm/test/Transforms/InstCombine/abs_abs.ll | 2 +- .../InstCombine/add-shl-sdiv-to-srem.ll | 2 +- .../test/Transforms/InstCombine/add-sitofp.ll | 2 +- llvm/test/Transforms/InstCombine/add.ll | 2 +- llvm/test/Transforms/InstCombine/add2.ll | 2 +- llvm/test/Transforms/InstCombine/add3.ll | 2 +- llvm/test/Transforms/InstCombine/add4.ll | 2 +- llvm/test/Transforms/InstCombine/addnegneg.ll | 2 +- .../Transforms/InstCombine/addrspacecast.ll | 2 +- .../InstCombine/addsub-constant-folding.ll | 2 +- .../InstCombine/adjust-for-minmax.ll | 2 +- .../InstCombine/aggregate-reconstruction.ll | 2 +- .../Transforms/InstCombine/alias-recursion.ll | 2 +- .../Transforms/InstCombine/align-2d-gep.ll | 2 +- .../test/Transforms/InstCombine/align-addr.ll | 2 +- .../test/Transforms/InstCombine/align-attr.ll | 2 +- .../Transforms/InstCombine/align-external.ll | 2 +- .../Transforms/InstCombine/all-bits-shift.ll | 2 +- .../InstCombine/alloc-realloc-free.ll | 2 +- .../test/Transforms/InstCombine/alloca-big.ll | 2 +- .../InstCombine/alloca-in-non-alloca-as.ll | 2 +- llvm/test/Transforms/InstCombine/alloca.ll | 6 ++--- .../Transforms/InstCombine/allocsize-32.ll | 2 +- llvm/test/Transforms/InstCombine/allocsize.ll | 2 +- .../Transforms/InstCombine/and-compare.ll | 2 +- llvm/test/Transforms/InstCombine/and-fcmp.ll | 2 +- .../test/Transforms/InstCombine/and-narrow.ll | 4 +-- .../test/Transforms/InstCombine/and-or-and.ll | 2 +- .../InstCombine/and-or-icmp-min-max.ll | 2 +- .../InstCombine/and-or-icmp-nullptr.ll | 2 +- .../Transforms/InstCombine/and-or-icmps.ll | 2 +- .../test/Transforms/InstCombine/and-or-not.ll | 2 +- llvm/test/Transforms/InstCombine/and-or.ll | 2 +- .../Transforms/InstCombine/and-xor-merge.ll | 2 +- .../test/Transforms/InstCombine/and-xor-or.ll | 2 +- llvm/test/Transforms/InstCombine/and.ll | 4 +-- llvm/test/Transforms/InstCombine/and2.ll | 2 +- .../InstCombine/annotation-intrinsic.ll | 2 +- .../Transforms/InstCombine/annotations.ll | 2 +- llvm/test/Transforms/InstCombine/apint-add.ll | 2 +- .../InstCombine/apint-and-compare.ll | 2 +- .../InstCombine/apint-and-or-and.ll | 2 +- .../InstCombine/apint-and-xor-merge.ll | 2 +- llvm/test/Transforms/InstCombine/apint-and.ll | 2 +- .../InstCombine/apint-call-cast-target.ll | 2 +- .../InstCombine/apint-cast-and-cast.ll | 2 +- .../InstCombine/apint-cast-cast-to-and.ll | 2 +- .../test/Transforms/InstCombine/apint-cast.ll | 2 +- .../test/Transforms/InstCombine/apint-div1.ll | 2 +- .../test/Transforms/InstCombine/apint-div2.ll | 2 +- .../test/Transforms/InstCombine/apint-mul1.ll | 2 +- .../test/Transforms/InstCombine/apint-mul2.ll | 2 +- llvm/test/Transforms/InstCombine/apint-not.ll | 2 +- llvm/test/Transforms/InstCombine/apint-or.ll | 2 +- .../test/Transforms/InstCombine/apint-rem1.ll | 2 +- .../test/Transforms/InstCombine/apint-rem2.ll | 2 +- .../Transforms/InstCombine/apint-select.ll | 2 +- .../InstCombine/apint-shift-simplify.ll | 2 +- .../Transforms/InstCombine/apint-shift.ll | 2 +- .../Transforms/InstCombine/apint-shl-trunc.ll | 2 +- llvm/test/Transforms/InstCombine/apint-sub.ll | 2 +- .../test/Transforms/InstCombine/apint-xor1.ll | 2 +- .../test/Transforms/InstCombine/apint-xor2.ll | 2 +- llvm/test/Transforms/InstCombine/ashr-lshr.ll | 2 +- .../Transforms/InstCombine/ashr-or-mul-abs.ll | 2 +- .../InstCombine/assoc-cast-assoc.ll | 2 +- .../InstCombine/assume-icmp-null-select.ll | 2 +- llvm/test/Transforms/InstCombine/assume2.ll | 2 +- .../InstCombine/assume_inevitable.ll | 2 +- llvm/test/Transforms/InstCombine/atomic.ll | 2 +- llvm/test/Transforms/InstCombine/atomicrmw.ll | 2 +- llvm/test/Transforms/InstCombine/badmalloc.ll | 2 +- llvm/test/Transforms/InstCombine/bcmp-1.ll | 2 +- llvm/test/Transforms/InstCombine/bcopy.ll | 2 +- .../test/Transforms/InstCombine/binop-cast.ll | 2 +- .../InstCombine/binop-phi-operands.ll | 2 +- .../Transforms/InstCombine/binop-select.ll | 2 +- .../test/Transforms/InstCombine/bit-checks.ll | 2 +- .../InstCombine/bitcast-bigendian.ll | 2 +- .../Transforms/InstCombine/bitcast-bitcast.ll | 2 +- .../InstCombine/bitcast-function.ll | 2 +- .../InstCombine/bitcast-inselt-bitcast.ll | 4 +-- .../InstCombine/bitcast-inseltpoison.ll | 2 +- .../InstCombine/bitcast-phi-uselistorder.ll | 2 +- .../InstCombine/bitcast-sext-vector.ll | 2 +- .../Transforms/InstCombine/bitcast-store.ll | 2 +- .../bitcast-vec-canon-inseltpoison.ll | 2 +- .../InstCombine/bitcast-vec-canon.ll | 2 +- llvm/test/Transforms/InstCombine/bitcast.ll | 2 +- .../InstCombine/bitreverse-known-bits.ll | 2 +- .../test/Transforms/InstCombine/bitreverse.ll | 2 +- .../InstCombine/broadcast-inseltpoison.ll | 2 +- llvm/test/Transforms/InstCombine/broadcast.ll | 2 +- .../test/Transforms/InstCombine/bswap-fold.ll | 2 +- .../InstCombine/bswap-inseltpoison.ll | 2 +- .../InstCombine/bswap-known-bits.ll | 2 +- llvm/test/Transforms/InstCombine/bswap.ll | 2 +- .../builtin-dynamic-object-size.ll | 2 +- .../builtin-object-size-custom-dl.ll | 2 +- .../InstCombine/builtin-object-size-offset.ll | 2 +- .../InstCombine/builtin-object-size-ptr.ll | 2 +- llvm/test/Transforms/InstCombine/byval.ll | 2 +- .../test/Transforms/InstCombine/cabs-array.ll | 2 +- .../Transforms/InstCombine/cabs-discrete.ll | 2 +- .../InstCombine/call-callconv-mismatch.ll | 2 +- .../Transforms/InstCombine/call-callconv.ll | 2 +- .../Transforms/InstCombine/call-cast-attrs.ll | 2 +- .../InstCombine/call-cast-target-inalloca.ll | 2 +- .../call-cast-target-preallocated.ll | 2 +- .../InstCombine/call-cast-target.ll | 2 +- .../Transforms/InstCombine/call-intrinsics.ll | 2 +- .../Transforms/InstCombine/call-returned.ll | 2 +- llvm/test/Transforms/InstCombine/call.ll | 2 +- llvm/test/Transforms/InstCombine/call2.ll | 2 +- .../InstCombine/call_nonnull_arg.ll | 2 +- .../Transforms/InstCombine/calloc-mismatch.ll | 2 +- .../callsite_nonnull_args_through_casts.ll | 2 +- .../canonicalize-ashr-shl-to-masking.ll | 2 +- ...etween-negative-and-positive-thresholds.ll | 2 +- ...ern-between-zero-and-positive-threshold.ll | 2 +- ...th-select-of-constant-threshold-pattern.ll | 2 +- ...nt-low-bit-mask-and-icmp-eq-to-icmp-ule.ll | 2 +- ...nt-low-bit-mask-and-icmp-ne-to-icmp-ugt.ll | 2 +- ...t-low-bit-mask-and-icmp-sge-to-icmp-sle.ll | 2 +- ...t-low-bit-mask-and-icmp-sgt-to-icmp-sgt.ll | 2 +- ...t-low-bit-mask-and-icmp-sle-to-icmp-sle.ll | 2 +- ...t-low-bit-mask-and-icmp-slt-to-icmp-sgt.ll | 2 +- ...t-low-bit-mask-and-icmp-uge-to-icmp-ule.ll | 2 +- ...t-low-bit-mask-and-icmp-ugt-to-icmp-ugt.ll | 2 +- ...t-low-bit-mask-and-icmp-ule-to-icmp-ule.ll | 2 +- ...t-low-bit-mask-and-icmp-ult-to-icmp-ugt.ll | 2 +- ...icalize-lack-of-signed-truncation-check.ll | 2 +- ...ze-low-bit-mask-and-icmp-eq-to-icmp-ule.ll | 2 +- ...ze-low-bit-mask-and-icmp-ne-to-icmp-ugt.ll | 2 +- ...low-bit-mask-v2-and-icmp-eq-to-icmp-ule.ll | 2 +- ...low-bit-mask-v2-and-icmp-ne-to-icmp-ugt.ll | 2 +- ...low-bit-mask-v3-and-icmp-eq-to-icmp-ule.ll | 2 +- ...low-bit-mask-v3-and-icmp-ne-to-icmp-ugt.ll | 2 +- ...low-bit-mask-v4-and-icmp-eq-to-icmp-ule.ll | 2 +- ...low-bit-mask-v4-and-icmp-ne-to-icmp-ugt.ll | 2 +- .../canonicalize-lshr-shl-to-masking.ll | 2 +- ...nicalize-selects-icmp-condition-bittest.ll | 2 +- .../canonicalize-shl-lshr-to-masking.ll | 2 +- .../canonicalize-signed-truncation-check.ll | 2 +- .../canonicalize-vector-extract.ll | 2 +- .../InstCombine/canonicalize-vector-insert.ll | 2 +- .../InstCombine/canonicalize_branch.ll | 2 +- .../InstCombine/cast-call-combine-prof.ll | 2 +- .../InstCombine/cast-callee-deopt-bundles.ll | 2 +- .../InstCombine/cast-int-fcmp-eq-0.ll | 2 +- .../InstCombine/cast-int-icmp-eq-0.ll | 2 +- .../Transforms/InstCombine/cast-select.ll | 2 +- .../cast-set-preserve-signed-dbg-val.ll | 2 +- llvm/test/Transforms/InstCombine/cast-set.ll | 2 +- .../InstCombine/cast-unsigned-icmp-eqcmp-0.ll | 2 +- llvm/test/Transforms/InstCombine/cast.ll | 4 +-- llvm/test/Transforms/InstCombine/cast_ptr.ll | 2 +- .../Transforms/InstCombine/catchswitch-phi.ll | 2 +- llvm/test/Transforms/InstCombine/ceil.ll | 2 +- .../Transforms/InstCombine/clamp-to-minmax.ll | 2 +- .../Transforms/InstCombine/cmp-intrinsic.ll | 2 +- .../Transforms/InstCombine/cmp-x-vs-neg-x.ll | 2 +- .../InstCombine/commutative-intrinsics.ll | 2 +- .../Transforms/InstCombine/compare-3way.ll | 2 +- .../Transforms/InstCombine/compare-alloca.ll | 2 +- .../Transforms/InstCombine/compare-signs.ll | 2 +- .../Transforms/InstCombine/compare-udiv.ll | 2 +- .../InstCombine/compare-unescaped.ll | 2 +- ...e-length-signext-after-high-bit-extract.ll | 2 +- .../InstCombine/consecutive-fences.ll | 2 +- .../InstCombine/constant-expr-datalayout.ll | 2 +- .../constant-fold-address-space-pointer.ll | 2 +- .../InstCombine/constant-fold-alias.ll | 2 +- .../InstCombine/constant-fold-compare.ll | 2 +- .../InstCombine/constant-fold-gep.ll | 2 +- .../InstCombine/constant-fold-iteration.ll | 2 +- .../InstCombine/constant-fold-libfunc.ll | 2 +- .../InstCombine/constant-fold-math.ll | 2 +- .../InstCombine/constant-fold-shifts.ll | 2 +- .../test/Transforms/InstCombine/convergent.ll | 2 +- llvm/test/Transforms/InstCombine/copysign.ll | 2 +- llvm/test/Transforms/InstCombine/cos-1.ll | 4 +-- llvm/test/Transforms/InstCombine/cos-2.ll | 2 +- .../InstCombine/cos-sin-intrinsic.ll | 2 +- llvm/test/Transforms/InstCombine/crash.ll | 2 +- .../InstCombine/ctlz-cttz-bitreverse.ll | 2 +- .../InstCombine/ctpop-bswap-bitreverse.ll | 2 +- .../test/Transforms/InstCombine/ctpop-cttz.ll | 2 +- llvm/test/Transforms/InstCombine/ctpop.ll | 2 +- llvm/test/Transforms/InstCombine/cttz-abs.ll | 2 +- .../Transforms/InstCombine/cttz-negative.ll | 2 +- llvm/test/Transforms/InstCombine/cttz.ll | 2 +- .../Transforms/InstCombine/dce-iterate.ll | 2 +- llvm/test/Transforms/InstCombine/deadcode.ll | 2 +- .../test/Transforms/InstCombine/debug-line.ll | 2 +- .../Transforms/InstCombine/debuginfo-dce.ll | 2 +- .../Transforms/InstCombine/debuginfo-dce2.ll | 2 +- .../debuginfo-scalable-typesize.ll | 2 +- .../Transforms/InstCombine/debuginfo-sink.ll | 2 +- .../InstCombine/demand_shrink_nsw.ll | 2 +- .../InstCombine/demorgan-sink-not-into-xor.ll | 2 +- llvm/test/Transforms/InstCombine/demorgan.ll | 2 +- .../Transforms/InstCombine/deref-alloc-fns.ll | 4 +-- .../Transforms/InstCombine/disable-builtin.ll | 4 +-- .../test/Transforms/InstCombine/distribute.ll | 2 +- .../div-by-0-guard-before-smul_ov-not.ll | 2 +- .../div-by-0-guard-before-smul_ov.ll | 2 +- .../div-by-0-guard-before-umul_ov-not.ll | 2 +- .../div-by-0-guard-before-umul_ov.ll | 2 +- .../Transforms/InstCombine/div-shift-crash.ll | 2 +- llvm/test/Transforms/InstCombine/div-shift.ll | 2 +- llvm/test/Transforms/InstCombine/div.ll | 2 +- .../InstCombine/dont-distribute-phi.ll | 2 +- .../InstCombine/double-float-shrink-1.ll | 10 +++---- .../InstCombine/element-atomic-memintrins.ll | 2 +- .../InstCombine/enforce-known-alignment.ll | 2 +- .../Transforms/InstCombine/eq-of-parts.ll | 2 +- .../erase-dbg-values-at-dead-alloc-site.ll | 2 +- .../Transforms/InstCombine/err-rep-cold.ll | 2 +- llvm/test/Transforms/InstCombine/exact.ll | 2 +- llvm/test/Transforms/InstCombine/exp2-1.ll | 8 +++--- llvm/test/Transforms/InstCombine/exp2-2.ll | 2 +- .../extractelement-inseltpoison.ll | 4 +-- .../Transforms/InstCombine/extractelement.ll | 4 +-- .../InstCombine/extractinsert-tbaa.ll | 2 +- .../Transforms/InstCombine/extractvalue.ll | 2 +- .../Transforms/InstCombine/fabs-copysign.ll | 2 +- .../Transforms/InstCombine/fabs-libcall.ll | 2 +- llvm/test/Transforms/InstCombine/fabs.ll | 2 +- .../InstCombine/fadd-fsub-factor.ll | 2 +- llvm/test/Transforms/InstCombine/fadd.ll | 2 +- llvm/test/Transforms/InstCombine/fast-math.ll | 2 +- .../Transforms/InstCombine/fcmp-select.ll | 2 +- .../Transforms/InstCombine/fcmp-special.ll | 2 +- llvm/test/Transforms/InstCombine/fcmp.ll | 2 +- .../Transforms/InstCombine/fdiv-cos-sin.ll | 2 +- .../Transforms/InstCombine/fdiv-sin-cos.ll | 2 +- llvm/test/Transforms/InstCombine/fdiv.ll | 2 +- llvm/test/Transforms/InstCombine/ffs-1.ll | 14 +++++----- .../InstCombine/float-shrink-compare.ll | 2 +- llvm/test/Transforms/InstCombine/fls.ll | 2 +- llvm/test/Transforms/InstCombine/fma.ll | 2 +- llvm/test/Transforms/InstCombine/fmul-exp.ll | 2 +- llvm/test/Transforms/InstCombine/fmul-exp2.ll | 2 +- .../InstCombine/fmul-inseltpoison.ll | 2 +- llvm/test/Transforms/InstCombine/fmul-pow.ll | 2 +- llvm/test/Transforms/InstCombine/fmul-sqrt.ll | 2 +- llvm/test/Transforms/InstCombine/fmul.ll | 2 +- llvm/test/Transforms/InstCombine/fneg-fabs.ll | 2 +- llvm/test/Transforms/InstCombine/fneg.ll | 2 +- .../InstCombine/fold-bin-operand.ll | 2 +- .../test/Transforms/InstCombine/fold-calls.ll | 2 +- .../InstCombine/fold-fops-into-selects.ll | 2 +- ...c-of-add-of-not-x-and-y-to-sub-x-from-y.ll | 2 +- .../InstCombine/fold-phi-load-metadata.ll | 2 +- llvm/test/Transforms/InstCombine/fold-phi.ll | 2 +- .../Transforms/InstCombine/fold-sqrt-sqrtf.ll | 2 +- .../fold-sub-of-not-to-inc-of-add.ll | 2 +- .../InstCombine/fold-vector-select.ll | 2 +- .../fold-vector-zero-inseltpoison.ll | 2 +- .../InstCombine/fold-vector-zero.ll | 2 +- .../Transforms/InstCombine/fortify-folding.ll | 2 +- .../Transforms/InstCombine/fp-ret-bitcast.ll | 2 +- llvm/test/Transforms/InstCombine/fpcast.ll | 2 +- llvm/test/Transforms/InstCombine/fpextend.ll | 2 +- .../Transforms/InstCombine/fpextend_x86.ll | 2 +- llvm/test/Transforms/InstCombine/fprintf-1.ll | 4 +-- llvm/test/Transforms/InstCombine/fptrunc.ll | 2 +- llvm/test/Transforms/InstCombine/fputs-1.ll | 2 +- .../test/Transforms/InstCombine/freeze-phi.ll | 2 +- llvm/test/Transforms/InstCombine/freeze.ll | 2 +- llvm/test/Transforms/InstCombine/fsh.ll | 2 +- llvm/test/Transforms/InstCombine/fsub.ll | 2 +- llvm/test/Transforms/InstCombine/funnel.ll | 2 +- llvm/test/Transforms/InstCombine/fwrite-1.ll | 2 +- .../Transforms/InstCombine/gc.relocate.ll | 2 +- .../Transforms/InstCombine/gep-addrspace.ll | 2 +- llvm/test/Transforms/InstCombine/gep-alias.ll | 2 +- ...-can-replace-gep-idx-with-zero-typesize.ll | 2 +- .../Transforms/InstCombine/gep-custom-dl.ll | 2 +- .../InstCombine/gep-inbounds-null.ll | 2 +- llvm/test/Transforms/InstCombine/gep-sext.ll | 2 +- .../InstCombine/gep-vector-indices.ll | 2 +- .../test/Transforms/InstCombine/gep-vector.ll | 2 +- llvm/test/Transforms/InstCombine/gepgep.ll | 2 +- llvm/test/Transforms/InstCombine/gepphigep.ll | 2 +- .../get-lowbitmask-upto-and-including-bit.ll | 2 +- .../InstCombine/getelementptr-folding.ll | 2 +- .../Transforms/InstCombine/getelementptr.ll | 2 +- ...n-out-of-bias-calculation-with-constant.ll | 2 +- .../hoist-negation-out-of-bias-calculation.ll | 2 +- .../hoist-not-from-ashr-operand.ll | 2 +- ...hoist-xor-by-constant-from-xor-by-value.ll | 2 +- .../Transforms/InstCombine/hoist_instr.ll | 2 +- llvm/test/Transforms/InstCombine/icmp-add.ll | 2 +- .../InstCombine/icmp-bc-vec-inseltpoison.ll | 2 +- .../Transforms/InstCombine/icmp-bc-vec.ll | 2 +- .../InstCombine/icmp-bitcast-glob.ll | 2 +- .../InstCombine/icmp-constant-phi.ll | 1 - .../Transforms/InstCombine/icmp-custom-dl.ll | 2 +- .../InstCombine/icmp-div-constant.ll | 2 +- llvm/test/Transforms/InstCombine/icmp-dom.ll | 2 +- llvm/test/Transforms/InstCombine/icmp-fsh.ll | 2 +- llvm/test/Transforms/InstCombine/icmp-gep.ll | 2 +- .../Transforms/InstCombine/icmp-logical.ll | 2 +- .../Transforms/InstCombine/icmp-mul-and.ll | 2 +- .../Transforms/InstCombine/icmp-mul-zext.ll | 2 +- llvm/test/Transforms/InstCombine/icmp-mul.ll | 2 +- .../InstCombine/icmp-not-bool-constant.ll | 2 +- llvm/test/Transforms/InstCombine/icmp-or.ll | 2 +- .../test/Transforms/InstCombine/icmp-range.ll | 2 +- .../Transforms/InstCombine/icmp-rotate.ll | 2 +- .../Transforms/InstCombine/icmp-shl-nsw.ll | 2 +- .../Transforms/InstCombine/icmp-shl-nuw.ll | 2 +- .../Transforms/InstCombine/icmp-shr-lt-gt.ll | 2 +- llvm/test/Transforms/InstCombine/icmp-shr.ll | 2 +- llvm/test/Transforms/InstCombine/icmp-sub.ll | 2 +- .../InstCombine/icmp-topbitssame.ll | 2 +- .../test/Transforms/InstCombine/icmp-trunc.ll | 2 +- ...al-to-icmp-eq-of-lshr-val-by-bits-and-0.ll | 2 +- ...al-to-icmp-eq-of-lshr-val-by-bits-and-0.ll | 2 +- ...al-to-icmp-eq-of-lshr-val-by-bits-and-0.ll | 2 +- ...al-to-icmp-ne-of-lshr-val-by-bits-and-0.ll | 2 +- ...al-to-icmp-ne-of-lshr-val-by-bits-and-0.ll | 2 +- ...al-to-icmp-ne-of-lshr-val-by-bits-and-0.ll | 2 +- .../InstCombine/icmp-vec-inseltpoison.ll | 2 +- llvm/test/Transforms/InstCombine/icmp-vec.ll | 2 +- .../Transforms/InstCombine/icmp-vscale.ll | 2 +- llvm/test/Transforms/InstCombine/icmp.ll | 2 +- .../icmp_sdiv_with_and_without_range.ll | 2 +- llvm/test/Transforms/InstCombine/idioms.ll | 2 +- .../InstCombine/indexed-gep-compares.ll | 2 +- .../InstCombine/inselt-binop-inseltpoison.ll | 2 +- .../Transforms/InstCombine/inselt-binop.ll | 2 +- .../InstCombine/insert-const-shuf.ll | 2 +- .../test/Transforms/InstCombine/insert-ext.ll | 2 +- .../insert-extract-shuffle-inseltpoison.ll | 2 +- .../InstCombine/insert-extract-shuffle.ll | 2 +- .../InstCombine/insert-val-extract-elem.ll | 2 +- .../InstCombine/insertelement-bitcast.ll | 2 +- .../Transforms/InstCombine/int_sideeffect.ll | 2 +- llvm/test/Transforms/InstCombine/intptr1.ll | 2 +- llvm/test/Transforms/InstCombine/intptr2.ll | 2 +- llvm/test/Transforms/InstCombine/intptr3.ll | 2 +- llvm/test/Transforms/InstCombine/intptr4.ll | 2 +- llvm/test/Transforms/InstCombine/intptr5.ll | 2 +- llvm/test/Transforms/InstCombine/intptr6.ll | 2 +- llvm/test/Transforms/InstCombine/intptr7.ll | 2 +- llvm/test/Transforms/InstCombine/intptr8.ll | 2 +- .../InstCombine/intrinsic-select.ll | 2 +- .../test/Transforms/InstCombine/intrinsics.ll | 2 +- llvm/test/Transforms/InstCombine/invariant.ll | 2 +- ...rt-variable-mask-in-masked-merge-scalar.ll | 2 +- ...rt-variable-mask-in-masked-merge-vector.ll | 2 +- llvm/test/Transforms/InstCombine/invoke.ll | 2 +- llvm/test/Transforms/InstCombine/isascii-1.ll | 2 +- llvm/test/Transforms/InstCombine/isdigit-1.ll | 2 +- llvm/test/Transforms/InstCombine/ispow2.ll | 2 +- .../test/Transforms/InstCombine/known-bits.ll | 2 +- .../Transforms/InstCombine/known-never-nan.ll | 2 +- .../Transforms/InstCombine/known-non-zero.ll | 2 +- .../InstCombine/known-signbit-shift.ll | 2 +- .../Transforms/InstCombine/known_align.ll | 2 +- .../InstCombine/lifetime-no-null-opt.ll | 2 +- .../InstCombine/lifetime-sanitizer.ll | 2 +- .../InstCombine/load-bitcast-select.ll | 2 +- .../InstCombine/load-bitcast-vec.ll | 2 +- .../Transforms/InstCombine/load-bitcast32.ll | 2 +- .../Transforms/InstCombine/load-bitcast64.ll | 2 +- llvm/test/Transforms/InstCombine/load-cmp.ll | 2 +- .../InstCombine/load-combine-metadata-2.ll | 2 +- .../InstCombine/load-combine-metadata-3.ll | 2 +- .../InstCombine/load-combine-metadata-4.ll | 2 +- .../load-combine-metadata-dominance.ll | 2 +- .../InstCombine/load-combine-metadata.ll | 2 +- .../Transforms/InstCombine/load-select.ll | 2 +- .../InstCombine/load-store-forward.ll | 4 +-- llvm/test/Transforms/InstCombine/load3.ll | 2 +- .../InstCombine/loadstore-alignment.ll | 2 +- .../InstCombine/loadstore-metadata.ll | 2 +- .../InstCombine/log-pow-nofastmath.ll | 2 +- llvm/test/Transforms/InstCombine/log-pow.ll | 2 +- .../logical-select-inseltpoison.ll | 2 +- .../Transforms/InstCombine/logical-select.ll | 2 +- .../Transforms/InstCombine/low-bit-splat.ll | 2 +- .../InstCombine/lower-dbg-declare.ll | 2 +- .../InstCombine/lshr-and-negC-icmpeq-zero.ll | 2 +- .../lshr-and-signbit-icmpeq-zero.ll | 2 +- llvm/test/Transforms/InstCombine/lshr-phi.ll | 2 +- .../lshr-trunc-sext-to-ashr-sext.ll | 2 +- llvm/test/Transforms/InstCombine/lshr.ll | 2 +- .../Transforms/InstCombine/malloc-free.ll | 2 +- .../InstCombine/malloc_free_delete_nvptx.ll | 2 +- .../InstCombine/masked-merge-add.ll | 2 +- .../InstCombine/masked-merge-and-of-ors.ll | 2 +- .../Transforms/InstCombine/masked-merge-or.ll | 2 +- .../InstCombine/masked-merge-xor.ll | 2 +- .../masked_intrinsics-inseltpoison.ll | 2 +- .../InstCombine/masked_intrinsics.ll | 2 +- .../masked_intrinsics_keep_metadata.ll | 2 +- .../Transforms/InstCombine/max-of-nots.ll | 2 +- .../Transforms/InstCombine/max_known_bits.ll | 2 +- llvm/test/Transforms/InstCombine/maximum.ll | 2 +- llvm/test/Transforms/InstCombine/maxnum.ll | 2 +- .../InstCombine/mem-deref-bytes-addrspaces.ll | 2 +- .../Transforms/InstCombine/mem-deref-bytes.ll | 2 +- .../Transforms/InstCombine/mem-gep-zidx.ll | 2 +- .../InstCombine/mem-par-metadata-memcpy.ll | 2 +- llvm/test/Transforms/InstCombine/memccpy.ll | 2 +- llvm/test/Transforms/InstCombine/memchr.ll | 2 +- llvm/test/Transforms/InstCombine/memcmp-1.ll | 4 +-- llvm/test/Transforms/InstCombine/memcmp-2.ll | 2 +- .../InstCombine/memcmp-constant-fold.ll | 4 +-- llvm/test/Transforms/InstCombine/memcpy-1.ll | 2 +- llvm/test/Transforms/InstCombine/memcpy-2.ll | 2 +- .../InstCombine/memcpy-addrspace.ll | 2 +- .../InstCombine/memcpy-from-global.ll | 2 +- .../Transforms/InstCombine/memcpy-to-load.ll | 8 +++--- llvm/test/Transforms/InstCombine/memcpy.ll | 2 +- .../Transforms/InstCombine/memcpy_chk-1.ll | 2 +- .../Transforms/InstCombine/memcpy_chk-2.ll | 2 +- llvm/test/Transforms/InstCombine/memmove-1.ll | 2 +- llvm/test/Transforms/InstCombine/memmove-2.ll | 2 +- llvm/test/Transforms/InstCombine/memmove.ll | 2 +- .../Transforms/InstCombine/memmove_chk-1.ll | 2 +- .../Transforms/InstCombine/memmove_chk-2.ll | 2 +- llvm/test/Transforms/InstCombine/mempcpy.ll | 2 +- llvm/test/Transforms/InstCombine/memrchr.ll | 2 +- llvm/test/Transforms/InstCombine/memset-1.ll | 2 +- llvm/test/Transforms/InstCombine/memset-2.ll | 2 +- llvm/test/Transforms/InstCombine/memset.ll | 2 +- llvm/test/Transforms/InstCombine/memset2.ll | 2 +- .../Transforms/InstCombine/memset_chk-1.ll | 2 +- .../Transforms/InstCombine/memset_chk-2.ll | 2 +- .../test/Transforms/InstCombine/merge-icmp.ll | 2 +- .../Transforms/InstCombine/min-positive.ll | 2 +- llvm/test/Transforms/InstCombine/minimum.ll | 2 +- .../InstCombine/minmax-demandbits.ll | 2 +- .../Transforms/InstCombine/minmax-fold.ll | 2 +- llvm/test/Transforms/InstCombine/minmax-fp.ll | 2 +- .../InstCombine/minmax-intrinsics.ll | 2 +- .../InstCombine/minmax-of-minmax.ll | 2 +- llvm/test/Transforms/InstCombine/minnum.ll | 2 +- llvm/test/Transforms/InstCombine/misc-2002.ll | 2 +- .../InstCombine/mul-inseltpoison.ll | 2 +- .../Transforms/InstCombine/mul-masked-bits.ll | 2 +- llvm/test/Transforms/InstCombine/mul.ll | 2 +- .../multi-size-address-space-pointer.ll | 2 +- .../InstCombine/multi-use-load-casts.ll | 2 +- .../Transforms/InstCombine/multi-use-or.ll | 2 +- .../multiple-uses-load-bitcast-select.ll | 2 +- .../Transforms/InstCombine/narrow-math.ll | 2 +- .../Transforms/InstCombine/narrow-switch.ll | 4 +-- llvm/test/Transforms/InstCombine/narrow.ll | 2 +- .../InstCombine/new-delete-itanium.ll | 2 +- .../Transforms/InstCombine/new-delete-msvc.ll | 2 +- .../test/Transforms/InstCombine/no-negzero.ll | 2 +- .../InstCombine/noalias-scope-decl.ll | 2 +- .../InstCombine/non-integral-pointers.ll | 2 +- .../InstCombine/nonnull-attribute.ll | 2 +- .../Transforms/InstCombine/nonnull-select.ll | 2 +- llvm/test/Transforms/InstCombine/not-add.ll | 2 +- llvm/test/Transforms/InstCombine/not.ll | 2 +- llvm/test/Transforms/InstCombine/nothrow.ll | 2 +- .../InstCombine/nsw-inseltpoison.ll | 2 +- llvm/test/Transforms/InstCombine/nsw.ll | 2 +- .../obfuscated_splat-inseltpoison.ll | 2 +- .../InstCombine/obfuscated_splat.ll | 2 +- .../InstCombine/object-size-opaque.ll | 2 +- .../test/Transforms/InstCombine/objsize-64.ll | 2 +- .../InstCombine/objsize-address-space.ll | 2 +- llvm/test/Transforms/InstCombine/objsize.ll | 2 +- .../Transforms/InstCombine/odr-linkage.ll | 2 +- ...of-two-or-zero-when-comparing-with-zero.ll | 2 +- .../Transforms/InstCombine/onehot_merge.ll | 2 +- llvm/test/Transforms/InstCombine/opaque.ll | 2 +- .../InstCombine/operand-complexity.ll | 2 +- llvm/test/Transforms/InstCombine/or-concat.ll | 2 +- llvm/test/Transforms/InstCombine/or-fcmp.ll | 2 +- .../InstCombine/or-shifted-masks.ll | 2 +- llvm/test/Transforms/InstCombine/or-xor.ll | 2 +- llvm/test/Transforms/InstCombine/or.ll | 2 +- .../Transforms/InstCombine/oss_fuzz_32759.ll | 2 +- llvm/test/Transforms/InstCombine/osx-names.ll | 2 +- .../InstCombine/out-of-bounds-indexes.ll | 2 +- .../Transforms/InstCombine/overflow-mul.ll | 2 +- llvm/test/Transforms/InstCombine/overflow.ll | 2 +- .../Transforms/InstCombine/overflow_to_sat.ll | 2 +- ...nput-masking-after-truncation-variant-a.ll | 2 +- ...nput-masking-after-truncation-variant-b.ll | 2 +- ...nput-masking-after-truncation-variant-c.ll | 2 +- ...nput-masking-after-truncation-variant-d.ll | 2 +- ...nput-masking-after-truncation-variant-e.ll | 2 +- ...dant-left-shift-input-masking-variant-a.ll | 2 +- ...dant-left-shift-input-masking-variant-b.ll | 2 +- ...dant-left-shift-input-masking-variant-c.ll | 2 +- ...dant-left-shift-input-masking-variant-d.ll | 2 +- ...dant-left-shift-input-masking-variant-e.ll | 2 +- .../phi-aware-aggregate-reconstruction.ll | 2 +- llvm/test/Transforms/InstCombine/phi-cse.ll | 2 +- .../InstCombine/phi-int2ptr-fold.ll | 2 +- .../phi-known-bits-operand-order.ll | 2 +- .../InstCombine/phi-load-metadata-2.ll | 2 +- .../InstCombine/phi-load-metadata-3.ll | 2 +- .../phi-load-metadata-dominance.ll | 2 +- .../InstCombine/phi-load-metadata.ll | 2 +- .../Transforms/InstCombine/phi-merge-gep.ll | 2 +- .../InstCombine/phi-of-extractvalues.ll | 2 +- .../InstCombine/phi-of-insertvalues.ll | 2 +- .../InstCombine/phi-pointercasts.ll | 2 +- .../InstCombine/phi-preserve-ir-flags.ll | 2 +- .../InstCombine/phi-select-constant.ll | 2 +- .../test/Transforms/InstCombine/phi-shifts.ll | 2 +- .../Transforms/InstCombine/phi-timeout.ll | 2 +- llvm/test/Transforms/InstCombine/phi.ll | 2 +- llvm/test/Transforms/InstCombine/pow-0.ll | 2 +- llvm/test/Transforms/InstCombine/pow-1.ll | 26 +++++++++---------- llvm/test/Transforms/InstCombine/pow-2.ll | 2 +- llvm/test/Transforms/InstCombine/pow-3.ll | 2 +- llvm/test/Transforms/InstCombine/pow-4.ll | 8 +++--- llvm/test/Transforms/InstCombine/pow-cbrt.ll | 2 +- .../InstCombine/pow-exp-nofastmath.ll | 2 +- llvm/test/Transforms/InstCombine/pow-exp.ll | 2 +- llvm/test/Transforms/InstCombine/pow-sqrt.ll | 2 +- .../test/Transforms/InstCombine/pow_fp_int.ll | 2 +- .../Transforms/InstCombine/pow_fp_int16.ll | 2 +- llvm/test/Transforms/InstCombine/powi.ll | 2 +- llvm/test/Transforms/InstCombine/pr12251.ll | 2 +- llvm/test/Transforms/InstCombine/pr12338.ll | 2 +- llvm/test/Transforms/InstCombine/pr14365.ll | 2 +- llvm/test/Transforms/InstCombine/pr17827.ll | 2 +- llvm/test/Transforms/InstCombine/pr20079.ll | 2 +- llvm/test/Transforms/InstCombine/pr20678.ll | 2 +- llvm/test/Transforms/InstCombine/pr21199.ll | 2 +- llvm/test/Transforms/InstCombine/pr21210.ll | 2 +- llvm/test/Transforms/InstCombine/pr21651.ll | 2 +- llvm/test/Transforms/InstCombine/pr21891.ll | 2 +- llvm/test/Transforms/InstCombine/pr23751.ll | 2 +- llvm/test/Transforms/InstCombine/pr23809.ll | 2 +- llvm/test/Transforms/InstCombine/pr24354.ll | 2 +- llvm/test/Transforms/InstCombine/pr24605.ll | 2 +- llvm/test/Transforms/InstCombine/pr25342.ll | 2 +- llvm/test/Transforms/InstCombine/pr25745.ll | 2 +- .../InstCombine/pr2645-0-inseltpoison.ll | 2 +- llvm/test/Transforms/InstCombine/pr2645-0.ll | 2 +- llvm/test/Transforms/InstCombine/pr26992.ll | 2 +- llvm/test/Transforms/InstCombine/pr26993.ll | 2 +- llvm/test/Transforms/InstCombine/pr27236.ll | 2 +- llvm/test/Transforms/InstCombine/pr27332.ll | 2 +- llvm/test/Transforms/InstCombine/pr27343.ll | 2 +- llvm/test/Transforms/InstCombine/pr27703.ll | 2 +- llvm/test/Transforms/InstCombine/pr27996.ll | 2 +- llvm/test/Transforms/InstCombine/pr28143.ll | 2 +- llvm/test/Transforms/InstCombine/pr28725.ll | 2 +- llvm/test/Transforms/InstCombine/pr2996.ll | 2 +- .../InstCombine/pr31990_wrong_memcpy.ll | 2 +- llvm/test/Transforms/InstCombine/pr32686.ll | 2 +- llvm/test/Transforms/InstCombine/pr33453.ll | 2 +- .../InstCombine/pr33689_same_bitwidth.ll | 2 +- llvm/test/Transforms/InstCombine/pr34349.ll | 2 +- llvm/test/Transforms/InstCombine/pr34627.ll | 2 +- llvm/test/Transforms/InstCombine/pr35515.ll | 2 +- llvm/test/Transforms/InstCombine/pr36362.ll | 2 +- llvm/test/Transforms/InstCombine/pr38677.ll | 2 +- llvm/test/Transforms/InstCombine/pr38897.ll | 2 +- llvm/test/Transforms/InstCombine/pr38915.ll | 2 +- .../InstCombine/pr38984-inseltpoison.ll | 2 +- llvm/test/Transforms/InstCombine/pr38984.ll | 2 +- llvm/test/Transforms/InstCombine/pr39177.ll | 2 +- llvm/test/Transforms/InstCombine/pr39908.ll | 2 +- llvm/test/Transforms/InstCombine/pr41164.ll | 2 +- llvm/test/Transforms/InstCombine/pr43081.ll | 2 +- ...edStrictnessPredicateAndConstant-assert.ll | 2 +- llvm/test/Transforms/InstCombine/pr43893.ll | 2 +- llvm/test/Transforms/InstCombine/pr44242.ll | 2 +- llvm/test/Transforms/InstCombine/pr44245.ll | 2 +- llvm/test/Transforms/InstCombine/pr44541.ll | 2 +- llvm/test/Transforms/InstCombine/pr44552.ll | 2 +- llvm/test/Transforms/InstCombine/pr44835.ll | 2 +- llvm/test/Transforms/InstCombine/pr46680.ll | 2 +- llvm/test/Transforms/InstCombine/pr49688.ll | 2 +- llvm/test/Transforms/InstCombine/pr51824.ll | 2 +- .../Transforms/InstCombine/prefetch-load.ll | 2 +- .../InstCombine/preserve-sminmax.ll | 2 +- .../InstCombine/prevent-cmp-merge.ll | 2 +- llvm/test/Transforms/InstCombine/printf-1.ll | 4 +-- llvm/test/Transforms/InstCombine/printf-2.ll | 2 +- llvm/test/Transforms/InstCombine/printf-3.ll | 2 +- .../Transforms/InstCombine/ptr-int-cast.ll | 2 +- .../InstCombine/ptr-int-ptr-icmp.ll | 2 +- .../InstCombine/pull-binop-through-shift.ll | 2 +- .../pull-conditional-binop-through-shift.ll | 2 +- llvm/test/Transforms/InstCombine/puts-1.ll | 2 +- .../Transforms/InstCombine/range-check.ll | 2 +- .../InstCombine/readnone-maythrow.ll | 2 +- .../Transforms/InstCombine/realloc-free.ll | 2 +- llvm/test/Transforms/InstCombine/realloc.ll | 2 +- .../Transforms/InstCombine/reassociate-nuw.ll | 2 +- .../test/Transforms/InstCombine/recurrence.ll | 2 +- .../InstCombine/reduction-add-sext-zext-i1.ll | 2 +- .../InstCombine/reduction-and-sext-zext-i1.ll | 2 +- .../InstCombine/reduction-mul-sext-zext-i1.ll | 2 +- .../InstCombine/reduction-or-sext-zext-i1.ll | 2 +- .../InstCombine/reduction-shufflevector.ll | 2 +- .../reduction-smax-sext-zext-i1.ll | 2 +- .../reduction-smin-sext-zext-i1.ll | 2 +- .../reduction-umax-sext-zext-i1.ll | 2 +- .../reduction-umin-sext-zext-i1.ll | 2 +- .../InstCombine/reduction-xor-sext-zext-i1.ll | 2 +- ...nput-masking-after-truncation-variant-a.ll | 2 +- ...nput-masking-after-truncation-variant-b.ll | 2 +- ...nput-masking-after-truncation-variant-c.ll | 2 +- ...nput-masking-after-truncation-variant-d.ll | 2 +- ...nput-masking-after-truncation-variant-e.ll | 2 +- ...nput-masking-after-truncation-variant-f.ll | 2 +- ...undant-left-shift-input-masking-pr49778.ll | 2 +- ...dant-left-shift-input-masking-variant-a.ll | 2 +- ...dant-left-shift-input-masking-variant-b.ll | 2 +- ...dant-left-shift-input-masking-variant-c.ll | 2 +- ...dant-left-shift-input-masking-variant-d.ll | 2 +- ...dant-left-shift-input-masking-variant-e.ll | 2 +- ...dant-left-shift-input-masking-variant-f.ll | 2 +- .../redundant-right-shift-input-masking.ll | 2 +- llvm/test/Transforms/InstCombine/rem.ll | 2 +- ...f-negative-is-non-zero-and-no-underflow.ll | 2 +- ...ve-or-zero-is-non-zero-and-no-underflow.ll | 2 +- ...ult-of-usub-is-non-zero-and-no-overflow.ll | 2 +- .../reuse-constant-from-select-in-icmp.ll | 2 +- llvm/test/Transforms/InstCombine/rotate.ll | 2 +- .../InstCombine/sadd-with-overflow.ll | 2 +- llvm/test/Transforms/InstCombine/sadd_sat.ll | 2 +- llvm/test/Transforms/InstCombine/saddo.ll | 2 +- .../InstCombine/salvage-dbg-declare.ll | 2 +- .../scalable-bitcast-inseltpoison.ll | 2 +- .../InstCombine/scalable-bitcast.ll | 2 +- .../InstCombine/scalable-cast-of-alloc.ll | 2 +- .../InstCombine/scalable-const-fp-splat.ll | 2 +- .../Transforms/InstCombine/scalable-select.ll | 2 +- .../Transforms/InstCombine/scalable-trunc.ll | 2 +- .../InstCombine/scalarization-inseltpoison.ll | 2 +- .../Transforms/InstCombine/scalarization.ll | 2 +- llvm/test/Transforms/InstCombine/sdiv-2.ll | 2 +- .../InstCombine/sdiv-canonicalize.ll | 2 +- .../sdiv-exact-by-negative-power-of-two.ll | 2 +- .../InstCombine/sdiv-exact-by-power-of-two.ll | 2 +- .../test/Transforms/InstCombine/sdiv-guard.ll | 2 +- ...f-non-negative-by-negative-power-of-two.ll | 2 +- llvm/test/Transforms/InstCombine/select-2.ll | 2 +- .../Transforms/InstCombine/select-and-or.ll | 2 +- .../InstCombine/select-binop-cmp.ll | 2 +- .../select-binop-foldable-floating-point.ll | 2 +- .../InstCombine/select-bitext-bitwise-ops.ll | 2 +- .../Transforms/InstCombine/select-bitext.ll | 2 +- .../Transforms/InstCombine/select-cmp-br.ll | 2 +- .../InstCombine/select-cmp-cttz-ctlz.ll | 2 +- .../Transforms/InstCombine/select-cmpxchg.ll | 2 +- .../InstCombine/select-crash-noverify.ll | 2 +- .../Transforms/InstCombine/select-crash.ll | 2 +- .../InstCombine/select-ctlz-to-cttz.ll | 2 +- .../select-extractelement-inseltpoison.ll | 2 +- .../InstCombine/select-extractelement.ll | 2 +- .../test/Transforms/InstCombine/select-gep.ll | 2 +- .../Transforms/InstCombine/select-icmp-and.ll | 2 +- .../InstCombine/select-imm-canon.ll | 2 +- .../InstCombine/select-load-call.ll | 2 +- .../InstCombine/select-masked_load.ll | 2 +- .../Transforms/InstCombine/select-min-max.ll | 2 +- .../InstCombine/select-obo-peo-ops.ll | 2 +- .../InstCombine/select-of-bittest.ll | 2 +- .../Transforms/InstCombine/select-pr39595.ll | 2 +- .../select-safe-bool-transforms.ll | 2 +- .../select-safe-impliedcond-transforms.ll | 2 +- .../InstCombine/select-safe-transforms.ll | 2 +- .../Transforms/InstCombine/select-select.ll | 2 +- .../InstCombine/select-with-bitwise-ops.ll | 2 +- llvm/test/Transforms/InstCombine/select.ll | 2 +- .../InstCombine/select_arithmetic.ll | 2 +- .../Transforms/InstCombine/select_meta.ll | 2 +- .../set-lowbits-mask-canonicalize.ll | 2 +- llvm/test/Transforms/InstCombine/set.ll | 2 +- .../InstCombine/setcc-strength-reduce.ll | 2 +- .../InstCombine/sext-of-trunc-nsw.ll | 2 +- llvm/test/Transforms/InstCombine/sext.ll | 2 +- .../InstCombine/shift-add-inseltpoison.ll | 2 +- llvm/test/Transforms/InstCombine/shift-add.ll | 2 +- ...ciation-in-bittest-with-truncation-lshr.ll | 2 +- ...ociation-in-bittest-with-truncation-shl.ll | 2 +- .../shift-amount-reassociation-in-bittest.ll | 2 +- ...ount-reassociation-with-truncation-ashr.ll | 2 +- ...ount-reassociation-with-truncation-lshr.ll | 2 +- ...mount-reassociation-with-truncation-shl.ll | 2 +- .../InstCombine/shift-amount-reassociation.ll | 2 +- .../InstCombine/shift-by-signext.ll | 2 +- .../shift-direction-in-bit-test.ll | 2 +- .../Transforms/InstCombine/shift-logic.ll | 2 +- .../Transforms/InstCombine/shift-shift.ll | 2 +- llvm/test/Transforms/InstCombine/shift-sra.ll | 2 +- llvm/test/Transforms/InstCombine/shift.ll | 2 +- .../InstCombine/shl-and-negC-icmpeq-zero.ll | 2 +- .../shl-and-signbit-icmpeq-zero.ll | 2 +- llvm/test/Transforms/InstCombine/shl-bo.ll | 2 +- .../test/Transforms/InstCombine/shl-demand.ll | 2 +- .../test/Transforms/InstCombine/shl-factor.ll | 2 +- llvm/test/Transforms/InstCombine/shl-sub.ll | 2 +- .../InstCombine/shl-unsigned-cmp-const.ll | 2 +- .../InstCombine/should-change-type.ll | 2 +- .../InstCombine/shuffle-cast-dist.ll | 2 +- .../InstCombine/shuffle-cast-inseltpoison.ll | 4 +-- .../Transforms/InstCombine/shuffle-cast.ll | 4 +-- .../shuffle-select-narrow-inseltpoison.ll | 2 +- .../InstCombine/shuffle-select-narrow.ll | 2 +- .../shuffle_select-inseltpoison.ll | 2 +- .../Transforms/InstCombine/shuffle_select.ll | 2 +- .../shufflevec-bitcast-inseltpoison.ll | 2 +- .../InstCombine/shufflevec-bitcast.ll | 2 +- .../shufflevec-constant-inseltpoison.ll | 2 +- .../InstCombine/shufflevec-constant.ll | 2 +- .../shufflevector-div-rem-inseltpoison.ll | 2 +- .../InstCombine/shufflevector-div-rem.ll | 2 +- ...-test-via-right-shifting-all-other-bits.ll | 2 +- .../InstCombine/sign-test-and-or.ll | 2 +- .../signbit-lshr-and-icmpeq-zero.ll | 2 +- .../signbit-shl-and-icmpeq-zero.ll | 2 +- .../InstCombine/signed-comparison.ll | 2 +- ...mul-lack-of-overflow-check-via-mul-sdiv.ll | 2 +- .../signed-mul-overflow-check-via-mul-sdiv.ll | 2 +- .../InstCombine/signed-truncation-check.ll | 2 +- llvm/test/Transforms/InstCombine/signext.ll | 2 +- .../signmask-of-sext-vs-of-shl-of-zext.ll | 2 +- .../InstCombine/simple_phi_condition.ll | 1 - .../simplify-demanded-bits-pointer.ll | 2 +- .../InstCombine/simplify-libcalls-erased.ll | 2 +- .../InstCombine/simplify-libcalls.ll | 4 +-- llvm/test/Transforms/InstCombine/sincospi.ll | 12 ++++----- .../Transforms/InstCombine/sink-alloca.ll | 2 +- .../InstCombine/sink-into-catchswitch.ll | 2 +- .../InstCombine/sink-into-resume-block.ll | 2 +- .../sink-not-into-another-hand-of-and.ll | 2 +- .../sink-not-into-another-hand-of-or.ll | 2 +- .../InstCombine/sink_instruction.ll | 2 +- .../sink_sideeffecting_instruction.ll | 2 +- llvm/test/Transforms/InstCombine/sitofp.ll | 2 +- llvm/test/Transforms/InstCombine/smax-icmp.ll | 2 +- llvm/test/Transforms/InstCombine/smin-icmp.ll | 2 +- llvm/test/Transforms/InstCombine/smulo.ll | 2 +- llvm/test/Transforms/InstCombine/snprintf.ll | 2 +- llvm/test/Transforms/InstCombine/sprintf-1.ll | 14 +++++----- .../Transforms/InstCombine/sprintf-void.ll | 2 +- .../Transforms/InstCombine/sqrt-nofast.ll | 2 +- llvm/test/Transforms/InstCombine/sqrt.ll | 2 +- .../InstCombine/srem-canonicalize.ll | 2 +- .../InstCombine/srem-simplify-bug.ll | 2 +- .../InstCombine/srem-via-sdiv-mul-sub.ll | 2 +- llvm/test/Transforms/InstCombine/srem1.ll | 2 +- .../InstCombine/ssub-with-overflow.ll | 2 +- llvm/test/Transforms/InstCombine/ssubo.ll | 2 +- .../Transforms/InstCombine/stack-overalign.ll | 2 +- .../InstCombine/stacksave-debuginfo.ll | 2 +- .../InstCombine/stacksaverestore.ll | 2 +- .../test/Transforms/InstCombine/statepoint.ll | 2 +- .../Transforms/InstCombine/stdio-custom-dl.ll | 2 +- llvm/test/Transforms/InstCombine/store.ll | 2 +- llvm/test/Transforms/InstCombine/stpcpy-1.ll | 2 +- llvm/test/Transforms/InstCombine/stpcpy-2.ll | 2 +- .../Transforms/InstCombine/stpcpy_chk-1.ll | 2 +- .../Transforms/InstCombine/stpcpy_chk-2.ll | 2 +- llvm/test/Transforms/InstCombine/str-int-2.ll | 2 +- llvm/test/Transforms/InstCombine/str-int.ll | 2 +- llvm/test/Transforms/InstCombine/strcat-1.ll | 2 +- llvm/test/Transforms/InstCombine/strcat-2.ll | 2 +- llvm/test/Transforms/InstCombine/strcat-3.ll | 2 +- llvm/test/Transforms/InstCombine/strchr-1.ll | 2 +- llvm/test/Transforms/InstCombine/strchr-2.ll | 2 +- llvm/test/Transforms/InstCombine/strcmp-1.ll | 4 +-- llvm/test/Transforms/InstCombine/strcmp-2.ll | 2 +- .../Transforms/InstCombine/strcmp-memcmp.ll | 2 +- llvm/test/Transforms/InstCombine/strcpy-1.ll | 2 +- llvm/test/Transforms/InstCombine/strcpy-2.ll | 2 +- .../InstCombine/strcpy-nonzero-as.ll | 2 +- .../Transforms/InstCombine/strcpy_chk-1.ll | 2 +- .../Transforms/InstCombine/strcpy_chk-2.ll | 2 +- .../Transforms/InstCombine/strcpy_chk-64.ll | 2 +- llvm/test/Transforms/InstCombine/strcspn-1.ll | 2 +- llvm/test/Transforms/InstCombine/strcspn-2.ll | 2 +- ...low-check-to-comparison-of-sub-operands.ll | 2 +- llvm/test/Transforms/InstCombine/strlen-1.ll | 2 +- llvm/test/Transforms/InstCombine/strlen-2.ll | 2 +- llvm/test/Transforms/InstCombine/strlen-3.ll | 2 +- .../test/Transforms/InstCombine/strlen_chk.ll | 2 +- llvm/test/Transforms/InstCombine/strncat-1.ll | 2 +- llvm/test/Transforms/InstCombine/strncat-2.ll | 2 +- llvm/test/Transforms/InstCombine/strncat-3.ll | 2 +- llvm/test/Transforms/InstCombine/strncmp-1.ll | 2 +- llvm/test/Transforms/InstCombine/strncmp-2.ll | 2 +- .../InstCombine/strncmp-wrong-datalayout.ll | 2 +- llvm/test/Transforms/InstCombine/strncpy-1.ll | 2 +- llvm/test/Transforms/InstCombine/strncpy-2.ll | 2 +- llvm/test/Transforms/InstCombine/strncpy-3.ll | 2 +- .../Transforms/InstCombine/strncpy_chk-1.ll | 2 +- .../Transforms/InstCombine/strncpy_chk-2.ll | 2 +- llvm/test/Transforms/InstCombine/strndup.ll | 2 +- llvm/test/Transforms/InstCombine/strpbrk-1.ll | 2 +- llvm/test/Transforms/InstCombine/strpbrk-2.ll | 2 +- llvm/test/Transforms/InstCombine/strrchr-1.ll | 2 +- llvm/test/Transforms/InstCombine/strrchr-2.ll | 2 +- llvm/test/Transforms/InstCombine/strspn-1.ll | 2 +- llvm/test/Transforms/InstCombine/strstr-1.ll | 2 +- llvm/test/Transforms/InstCombine/strstr-2.ll | 2 +- .../InstCombine/struct-assign-tbaa-new.ll | 2 +- .../InstCombine/struct-assign-tbaa.ll | 2 +- .../InstCombine/sub-and-or-neg-xor.ll | 2 +- .../sub-ashr-and-to-icmp-select.ll | 2 +- .../InstCombine/sub-ashr-or-to-icmp-select.ll | 2 +- .../Transforms/InstCombine/sub-from-sub.ll | 2 +- llvm/test/Transforms/InstCombine/sub-gep.ll | 2 +- .../InstCombine/sub-lshr-or-to-icmp-select.ll | 2 +- .../test/Transforms/InstCombine/sub-minmax.ll | 2 +- llvm/test/Transforms/InstCombine/sub-not.ll | 2 +- .../sub-of-negatible-inseltpoison.ll | 2 +- .../InstCombine/sub-of-negatible.ll | 2 +- .../Transforms/InstCombine/sub-or-and-xor.ll | 2 +- .../InstCombine/sub-xor-or-neg-and.ll | 2 +- llvm/test/Transforms/InstCombine/sub-xor.ll | 2 +- llvm/test/Transforms/InstCombine/sub.ll | 2 +- .../subtract-from-one-hand-of-select.ll | 2 +- .../subtract-of-one-hand-of-select.ll | 2 +- .../swifterror-argument-bitcast-fold.ll | 2 +- .../InstCombine/switch-constant-expr.ll | 2 +- .../InstCombine/switch-truncate-crash.ll | 2 +- .../Transforms/InstCombine/tan-nofastmath.ll | 2 +- llvm/test/Transforms/InstCombine/tan.ll | 2 +- .../InstCombine/tbaa-store-to-load.ll | 2 +- .../InstCombine/tmp-alloca-bypass.ll | 2 +- llvm/test/Transforms/InstCombine/toascii-1.ll | 2 +- llvm/test/Transforms/InstCombine/token.ll | 2 +- .../InstCombine/trivial-dse-calls.ll | 2 +- .../Transforms/InstCombine/trunc-binop-ext.ll | 2 +- .../Transforms/InstCombine/trunc-demand.ll | 2 +- .../trunc-extractelement-inseltpoison.ll | 4 +-- .../InstCombine/trunc-extractelement.ll | 4 +-- .../InstCombine/trunc-inseltpoison.ll | 2 +- .../test/Transforms/InstCombine/trunc-load.ll | 4 +-- .../InstCombine/trunc-shift-trunc.ll | 2 +- llvm/test/Transforms/InstCombine/trunc.ll | 2 +- .../InstCombine/truncating-saturate.ll | 2 +- .../InstCombine/type_pun-inseltpoison.ll | 2 +- llvm/test/Transforms/InstCombine/type_pun.ll | 2 +- .../InstCombine/uadd-with-overflow.ll | 2 +- llvm/test/Transforms/InstCombine/uaddo.ll | 2 +- llvm/test/Transforms/InstCombine/uaddo2.ll | 2 +- .../udiv-pow2-vscale-inseltpoison.ll | 2 +- .../InstCombine/udiv-pow2-vscale.ll | 2 +- .../Transforms/InstCombine/udiv-simplify.ll | 2 +- .../udiv_select_to_select_shift.ll | 2 +- .../InstCombine/udivrem-change-width.ll | 2 +- llvm/test/Transforms/InstCombine/umax-icmp.ll | 2 +- llvm/test/Transforms/InstCombine/umin-icmp.ll | 2 +- .../Transforms/InstCombine/umul-sign-check.ll | 2 +- llvm/test/Transforms/InstCombine/umulo.ll | 2 +- .../InstCombine/unavailable-debug.ll | 2 +- ...old-masked-merge-with-const-mask-scalar.ll | 2 +- ...old-masked-merge-with-const-mask-vector.ll | 2 +- .../InstCombine/unordered-fcmp-select.ll | 2 +- .../test/Transforms/InstCombine/unpack-fca.ll | 2 +- .../unreachable-dbg-info-modified.ll | 2 +- .../unrecognized_three-way-comparison.ll | 2 +- ...gned-add-lack-of-overflow-check-via-add.ll | 2 +- ...gned-add-lack-of-overflow-check-via-xor.ll | 2 +- .../unsigned-add-lack-of-overflow-check.ll | 2 +- .../unsigned-add-overflow-check-via-add.ll | 2 +- .../unsigned-add-overflow-check-via-xor.ll | 2 +- .../unsigned-add-overflow-check.ll | 2 +- ...mul-lack-of-overflow-check-via-mul-udiv.ll | 2 +- ...k-of-overflow-check-via-udiv-of-allones.ll | 2 +- ...nsigned-mul-overflow-check-via-mul-udiv.ll | 2 +- ...-mul-overflow-check-via-udiv-of-allones.ll | 2 +- .../unsigned-sub-lack-of-overflow-check.ll | 2 +- .../unsigned-sub-overflow-check.ll | 2 +- .../InstCombine/unsigned_saturated_sub.ll | 2 +- .../InstCombine/urem-simplify-bug.ll | 2 +- .../InstCombine/urem-via-udiv-mul-sub.ll | 2 +- .../usub-overflow-known-by-implied-cond.ll | 2 +- llvm/test/Transforms/InstCombine/usubo.ll | 2 +- llvm/test/Transforms/InstCombine/vararg.ll | 2 +- ...signext-of-variable-high-bit-extraction.ll | 2 +- .../vec-binop-select-inseltpoison.ll | 2 +- .../InstCombine/vec-binop-select.ll | 2 +- .../vec_demanded_elts-inseltpoison.ll | 2 +- .../InstCombine/vec_demanded_elts.ll | 2 +- .../InstCombine/vec_extract_2elts.ll | 2 +- .../vec_extract_var_elt-inseltpoison.ll | 2 +- .../InstCombine/vec_extract_var_elt.ll | 2 +- .../vec_gep_scalar_arg-inseltpoison.ll | 2 +- .../InstCombine/vec_gep_scalar_arg.ll | 2 +- .../vec_phi_extract-inseltpoison.ll | 2 +- .../Transforms/InstCombine/vec_phi_extract.ll | 2 +- llvm/test/Transforms/InstCombine/vec_sext.ll | 2 +- .../InstCombine/vec_shuffle-inseltpoison.ll | 2 +- .../Transforms/InstCombine/vec_shuffle.ll | 2 +- .../InstCombine/vec_udiv_to_shift.ll | 2 +- .../InstCombine/vector-casts-inseltpoison.ll | 2 +- .../Transforms/InstCombine/vector-casts.ll | 2 +- .../vector-concat-binop-inseltpoison.ll | 2 +- .../InstCombine/vector-concat-binop.ll | 2 +- .../InstCombine/vector-logical-reductions.ll | 2 +- .../test/Transforms/InstCombine/vector-mul.ll | 2 +- .../InstCombine/vector-reductions.ll | 2 +- .../Transforms/InstCombine/vector-reverse.ll | 2 +- .../Transforms/InstCombine/vector-type.ll | 2 +- .../Transforms/InstCombine/vector-udiv.ll | 2 +- .../Transforms/InstCombine/vector-urem.ll | 2 +- .../test/Transforms/InstCombine/vector-xor.ll | 2 +- .../InstCombine/vector_gep1-inseltpoison.ll | 2 +- .../Transforms/InstCombine/vector_gep1.ll | 2 +- .../Transforms/InstCombine/vector_gep2.ll | 2 +- .../vector_insertelt_shuffle-inseltpoison.ll | 2 +- .../InstCombine/vector_insertelt_shuffle.ll | 2 +- .../InstCombine/volatile_load_cast.ll | 2 +- .../Transforms/InstCombine/volatile_store.ll | 2 +- .../test/Transforms/InstCombine/vscale_cmp.ll | 2 +- .../vscale_extractelement-inseltpoison.ll | 2 +- .../InstCombine/vscale_extractelement.ll | 2 +- .../test/Transforms/InstCombine/vscale_gep.ll | 2 +- .../vscale_insertelement-inseltpoison.ll | 2 +- .../InstCombine/vscale_insertelement.ll | 2 +- .../InstCombine/vscale_sext_and_zext.ll | 2 +- .../Transforms/InstCombine/vscale_trunc.ll | 2 +- llvm/test/Transforms/InstCombine/wcslen-1.ll | 2 +- llvm/test/Transforms/InstCombine/wcslen-2.ll | 2 +- llvm/test/Transforms/InstCombine/wcslen-3.ll | 2 +- llvm/test/Transforms/InstCombine/wcslen-4.ll | 2 +- .../Transforms/InstCombine/weak-symbols.ll | 2 +- .../InstCombine/widenable-conditions.ll | 2 +- .../Transforms/InstCombine/with_overflow.ll | 2 +- llvm/test/Transforms/InstCombine/xor-ashr.ll | 2 +- llvm/test/Transforms/InstCombine/xor-icmps.ll | 2 +- .../xor-of-icmps-with-extra-uses.ll | 2 +- llvm/test/Transforms/InstCombine/xor-undef.ll | 2 +- llvm/test/Transforms/InstCombine/xor.ll | 2 +- llvm/test/Transforms/InstCombine/xor2.ll | 2 +- .../InstCombine/zero-point-zero-add.ll | 2 +- .../InstCombine/zeroext-and-reduce.ll | 2 +- .../InstCombine/zext-bool-add-sub.ll | 2 +- .../zext-ctlz-trunc-to-ctlz-add.ll | 2 +- llvm/test/Transforms/InstCombine/zext-fold.ll | 2 +- .../Transforms/InstCombine/zext-or-icmp.ll | 2 +- llvm/test/Transforms/InstCombine/zext-phi.ll | 2 +- llvm/test/Transforms/InstCombine/zext.ll | 2 +- 1218 files changed, 1283 insertions(+), 1287 deletions(-) diff --git a/llvm/test/Transforms/InstCombine/2003-05-26-CastMiscompile.ll b/llvm/test/Transforms/InstCombine/2003-05-26-CastMiscompile.ll index 19010d22d729..27680a20d87d 100644 --- a/llvm/test/Transforms/InstCombine/2003-05-26-CastMiscompile.ll +++ b/llvm/test/Transforms/InstCombine/2003-05-26-CastMiscompile.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep 4294967295 +; RUN: opt < %s -passes=instcombine -S | grep 4294967295 define i64 @test(i64 %Val) { %tmp.3 = trunc i64 %Val to i32 ; [#uses=1] diff --git a/llvm/test/Transforms/InstCombine/2003-05-27-ConstExprCrash.ll b/llvm/test/Transforms/InstCombine/2003-05-27-ConstExprCrash.ll index 8645249b7cae..70ab97350364 100644 --- a/llvm/test/Transforms/InstCombine/2003-05-27-ConstExprCrash.ll +++ b/llvm/test/Transforms/InstCombine/2003-05-27-ConstExprCrash.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output @X = global i32 5 ; [#uses=1] diff --git a/llvm/test/Transforms/InstCombine/2003-06-05-BranchInvertInfLoop.ll b/llvm/test/Transforms/InstCombine/2003-06-05-BranchInvertInfLoop.ll index 154f3ba65e97..41a0bbcaf2b1 100644 --- a/llvm/test/Transforms/InstCombine/2003-06-05-BranchInvertInfLoop.ll +++ b/llvm/test/Transforms/InstCombine/2003-06-05-BranchInvertInfLoop.ll @@ -2,7 +2,7 @@ ; because it things that the constant value is a not expression... and ; constantly inverts the branch back and forth. ; -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output define i8 @test19(i1 %c) { br i1 true, label %True, label %False diff --git a/llvm/test/Transforms/InstCombine/2003-07-21-ExternalConstant.ll b/llvm/test/Transforms/InstCombine/2003-07-21-ExternalConstant.ll index b38154580893..cb9243fed556 100644 --- a/llvm/test/Transforms/InstCombine/2003-07-21-ExternalConstant.ll +++ b/llvm/test/Transforms/InstCombine/2003-07-21-ExternalConstant.ll @@ -10,7 +10,7 @@ ; should pass through the optimizer without failure. ; ; Extra code: -; RUN: opt < %s -instcombine +; RUN: opt < %s -passes=instcombine ; END. target datalayout = "e-p:32:32" diff --git a/llvm/test/Transforms/InstCombine/2003-09-09-VolatileLoadElim.ll b/llvm/test/Transforms/InstCombine/2003-09-09-VolatileLoadElim.ll index 3e0cf1247d90..f0dbc63deff9 100644 --- a/llvm/test/Transforms/InstCombine/2003-09-09-VolatileLoadElim.ll +++ b/llvm/test/Transforms/InstCombine/2003-09-09-VolatileLoadElim.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep load +; RUN: opt < %s -passes=instcombine -S | grep load define void @test(i32* %P) { ; Dead but not deletable! diff --git a/llvm/test/Transforms/InstCombine/2003-10-29-CallSiteResolve.ll b/llvm/test/Transforms/InstCombine/2003-10-29-CallSiteResolve.ll index 1fc8aa7c2784..0f27110c7fc7 100644 --- a/llvm/test/Transforms/InstCombine/2003-10-29-CallSiteResolve.ll +++ b/llvm/test/Transforms/InstCombine/2003-10-29-CallSiteResolve.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output declare i32* @bar() diff --git a/llvm/test/Transforms/InstCombine/2003-11-03-VarargsCallBug.ll b/llvm/test/Transforms/InstCombine/2003-11-03-VarargsCallBug.ll index aff39f8bf979..fe9946cede17 100644 --- a/llvm/test/Transforms/InstCombine/2003-11-03-VarargsCallBug.ll +++ b/llvm/test/Transforms/InstCombine/2003-11-03-VarargsCallBug.ll @@ -1,5 +1,5 @@ ; The cast in this testcase is not eliminable on a 32-bit target! -; RUN: opt < %s -instcombine -S | grep inttoptr +; RUN: opt < %s -passes=instcombine -S | grep inttoptr target datalayout = "e-p:32:32" diff --git a/llvm/test/Transforms/InstCombine/2004-01-13-InstCombineInvokePHI.ll b/llvm/test/Transforms/InstCombine/2004-01-13-InstCombineInvokePHI.ll index 7471d8b34620..214ce68eda74 100644 --- a/llvm/test/Transforms/InstCombine/2004-01-13-InstCombineInvokePHI.ll +++ b/llvm/test/Transforms/InstCombine/2004-01-13-InstCombineInvokePHI.ll @@ -5,7 +5,7 @@ ; invoke instruction, we really cannot perform this transformation at all at ; least without splitting the critical edge. ; -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output declare i8* @test() diff --git a/llvm/test/Transforms/InstCombine/2004-02-23-ShiftShiftOverflow.ll b/llvm/test/Transforms/InstCombine/2004-02-23-ShiftShiftOverflow.ll index a08e3a884ceb..a49be0144a19 100644 --- a/llvm/test/Transforms/InstCombine/2004-02-23-ShiftShiftOverflow.ll +++ b/llvm/test/Transforms/InstCombine/2004-02-23-ShiftShiftOverflow.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | not grep 34 +; RUN: opt < %s -passes=instcombine -S | not grep 34 define i32 @test(i32 %X) { ; Do not fold into shr X, 34, as this uses undefined behavior! diff --git a/llvm/test/Transforms/InstCombine/2004-03-13-InstCombineInfLoop.ll b/llvm/test/Transforms/InstCombine/2004-03-13-InstCombineInfLoop.ll index ff20d7db9483..b00415bf52e9 100644 --- a/llvm/test/Transforms/InstCombine/2004-03-13-InstCombineInfLoop.ll +++ b/llvm/test/Transforms/InstCombine/2004-03-13-InstCombineInfLoop.ll @@ -1,7 +1,7 @@ ; This testcase caused the combiner to go into an infinite loop, moving the ; cast back and forth, changing the seteq to operate on int vs uint and back. -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output define i1 @test(i32 %A, i32 %B) { %C = sub i32 0, %A ; [#uses=1] diff --git a/llvm/test/Transforms/InstCombine/2004-04-04-InstCombineReplaceAllUsesWith.ll b/llvm/test/Transforms/InstCombine/2004-04-04-InstCombineReplaceAllUsesWith.ll index 84f9bad69d8d..2713dbeedf2d 100644 --- a/llvm/test/Transforms/InstCombine/2004-04-04-InstCombineReplaceAllUsesWith.ll +++ b/llvm/test/Transforms/InstCombine/2004-04-04-InstCombineReplaceAllUsesWith.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output define i32 @test() { ret i32 0 diff --git a/llvm/test/Transforms/InstCombine/2004-05-07-UnsizedCastLoad.ll b/llvm/test/Transforms/InstCombine/2004-05-07-UnsizedCastLoad.ll index ff855dc13e5b..7648079b2ffb 100644 --- a/llvm/test/Transforms/InstCombine/2004-05-07-UnsizedCastLoad.ll +++ b/llvm/test/Transforms/InstCombine/2004-05-07-UnsizedCastLoad.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output %Ty = type opaque diff --git a/llvm/test/Transforms/InstCombine/2004-07-27-ConstantExprMul.ll b/llvm/test/Transforms/InstCombine/2004-07-27-ConstantExprMul.ll index 819260b60b12..ad2226d8fc9e 100644 --- a/llvm/test/Transforms/InstCombine/2004-07-27-ConstantExprMul.ll +++ b/llvm/test/Transforms/InstCombine/2004-07-27-ConstantExprMul.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output @p = weak global i32 0 ; [#uses=1] diff --git a/llvm/test/Transforms/InstCombine/2004-08-09-RemInfLoop.ll b/llvm/test/Transforms/InstCombine/2004-08-09-RemInfLoop.ll index f3e5d77c0c80..ccf26e973e47 100644 --- a/llvm/test/Transforms/InstCombine/2004-08-09-RemInfLoop.ll +++ b/llvm/test/Transforms/InstCombine/2004-08-09-RemInfLoop.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine +; RUN: opt < %s -passes=instcombine ; This testcase should not send the instcombiner into an infinite loop! diff --git a/llvm/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll b/llvm/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll index 4233797b6d72..c582efa9773e 100644 --- a/llvm/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll +++ b/llvm/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | \ +; RUN: opt < %s -passes=instcombine -S | \ ; RUN: grep "ret i1 false" define i1 @test(i1 %V) { diff --git a/llvm/test/Transforms/InstCombine/2004-09-28-BadShiftAndSetCC.ll b/llvm/test/Transforms/InstCombine/2004-09-28-BadShiftAndSetCC.ll index 27c823b9e633..aa2de91d1a07 100644 --- a/llvm/test/Transforms/InstCombine/2004-09-28-BadShiftAndSetCC.ll +++ b/llvm/test/Transforms/InstCombine/2004-09-28-BadShiftAndSetCC.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | not grep -- -65536 +; RUN: opt < %s -passes=instcombine -S | not grep -- -65536 define i1 @test(i32 %tmp.124) { %tmp.125 = shl i32 %tmp.124, 8 ; [#uses=1] diff --git a/llvm/test/Transforms/InstCombine/2004-11-22-Missed-and-fold.ll b/llvm/test/Transforms/InstCombine/2004-11-22-Missed-and-fold.ll index 730fdc26aabd..1eac1893df1b 100644 --- a/llvm/test/Transforms/InstCombine/2004-11-22-Missed-and-fold.ll +++ b/llvm/test/Transforms/InstCombine/2004-11-22-Missed-and-fold.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | not grep and +; RUN: opt < %s -passes=instcombine -S | not grep and define i8 @test21(i8 %A) { ;; sign extend diff --git a/llvm/test/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll b/llvm/test/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll index 170114fb48d6..8fac45dbf27a 100644 --- a/llvm/test/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll +++ b/llvm/test/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; This tests the InstructionCombining optimization that reduces things like: ; %Y = sext i8 %X to i32 diff --git a/llvm/test/Transforms/InstCombine/2004-12-08-RemInfiniteLoop.ll b/llvm/test/Transforms/InstCombine/2004-12-08-RemInfiniteLoop.ll index 008afa8a787d..92162ebd6a47 100644 --- a/llvm/test/Transforms/InstCombine/2004-12-08-RemInfiniteLoop.ll +++ b/llvm/test/Transforms/InstCombine/2004-12-08-RemInfiniteLoop.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine +; RUN: opt < %s -passes=instcombine define i32 @test(i32 %X) { %Y = srem i32 %X, undef ; [#uses=1] diff --git a/llvm/test/Transforms/InstCombine/2005-03-04-ShiftOverflow.ll b/llvm/test/Transforms/InstCombine/2005-03-04-ShiftOverflow.ll index 02bc043da0db..daabd206a6ef 100644 --- a/llvm/test/Transforms/InstCombine/2005-03-04-ShiftOverflow.ll +++ b/llvm/test/Transforms/InstCombine/2005-03-04-ShiftOverflow.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | \ +; RUN: opt < %s -passes=instcombine -S | \ ; RUN: not grep "ret i1 false" define i1 @test(i64 %tmp.169) { diff --git a/llvm/test/Transforms/InstCombine/2005-04-07-UDivSelectCrash.ll b/llvm/test/Transforms/InstCombine/2005-04-07-UDivSelectCrash.ll index 1ec118006deb..64db3896d335 100644 --- a/llvm/test/Transforms/InstCombine/2005-04-07-UDivSelectCrash.ll +++ b/llvm/test/Transforms/InstCombine/2005-04-07-UDivSelectCrash.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output define i32 @test(i1 %C, i32 %tmp.15) { %tmp.16 = select i1 %C, i32 8, i32 1 ; [#uses=1] diff --git a/llvm/test/Transforms/InstCombine/2005-06-15-DivSelectCrash.ll b/llvm/test/Transforms/InstCombine/2005-06-15-DivSelectCrash.ll index 9846ee72dd4b..21f991244cb1 100644 --- a/llvm/test/Transforms/InstCombine/2005-06-15-DivSelectCrash.ll +++ b/llvm/test/Transforms/InstCombine/2005-06-15-DivSelectCrash.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output define i32 @_Z13func_31585107li(i32 %l_39521025, i32 %l_59244666) { %shortcirc_val = select i1 false, i32 1, i32 0 ; [#uses=1] diff --git a/llvm/test/Transforms/InstCombine/2005-06-15-ShiftSetCCCrash.ll b/llvm/test/Transforms/InstCombine/2005-06-15-ShiftSetCCCrash.ll index e2d0618a41e6..b5c9af3b4772 100644 --- a/llvm/test/Transforms/InstCombine/2005-06-15-ShiftSetCCCrash.ll +++ b/llvm/test/Transforms/InstCombine/2005-06-15-ShiftSetCCCrash.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output ; PR577 define i1 @test() { diff --git a/llvm/test/Transforms/InstCombine/2005-06-16-RangeCrash.ll b/llvm/test/Transforms/InstCombine/2005-06-16-RangeCrash.ll index f0e60aca59f5..6795e1933930 100644 --- a/llvm/test/Transforms/InstCombine/2005-06-16-RangeCrash.ll +++ b/llvm/test/Transforms/InstCombine/2005-06-16-RangeCrash.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output ; PR585 define i1 @test() { diff --git a/llvm/test/Transforms/InstCombine/2005-07-07-DeadPHILoop.ll b/llvm/test/Transforms/InstCombine/2005-07-07-DeadPHILoop.ll index caee951b704c..5ad06cddf4c0 100644 --- a/llvm/test/Transforms/InstCombine/2005-07-07-DeadPHILoop.ll +++ b/llvm/test/Transforms/InstCombine/2005-07-07-DeadPHILoop.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output ; This example caused instcombine to spin into an infinite loop. diff --git a/llvm/test/Transforms/InstCombine/2006-02-13-DemandedMiscompile.ll b/llvm/test/Transforms/InstCombine/2006-02-13-DemandedMiscompile.ll index 10541ef70325..2ee2ba56424f 100644 --- a/llvm/test/Transforms/InstCombine/2006-02-13-DemandedMiscompile.ll +++ b/llvm/test/Transforms/InstCombine/2006-02-13-DemandedMiscompile.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | \ +; RUN: opt < %s -passes=instcombine -S | \ ; RUN: not grep undef define i32 @test(i8 %A) { diff --git a/llvm/test/Transforms/InstCombine/2006-02-28-Crash.ll b/llvm/test/Transforms/InstCombine/2006-02-28-Crash.ll index 9bea14c027ea..78114088d353 100644 --- a/llvm/test/Transforms/InstCombine/2006-02-28-Crash.ll +++ b/llvm/test/Transforms/InstCombine/2006-02-28-Crash.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output define i32 @test() { %tmp203 = icmp eq i32 1, 2 ; [#uses=1] diff --git a/llvm/test/Transforms/InstCombine/2006-03-30-ExtractElement.ll b/llvm/test/Transforms/InstCombine/2006-03-30-ExtractElement.ll index aa7d58786b42..00c531a2c071 100644 --- a/llvm/test/Transforms/InstCombine/2006-03-30-ExtractElement.ll +++ b/llvm/test/Transforms/InstCombine/2006-03-30-ExtractElement.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output define float @test(<4 x float> %V) { %V2 = insertelement <4 x float> %V, float 1.000000e+00, i32 3 ; <<4 x float>> [#uses=1] diff --git a/llvm/test/Transforms/InstCombine/2006-04-28-ShiftShiftLongLong.ll b/llvm/test/Transforms/InstCombine/2006-04-28-ShiftShiftLongLong.ll index baaafefa81de..5961a089a7a1 100644 --- a/llvm/test/Transforms/InstCombine/2006-04-28-ShiftShiftLongLong.ll +++ b/llvm/test/Transforms/InstCombine/2006-04-28-ShiftShiftLongLong.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; This cannot be turned into a sign extending cast! diff --git a/llvm/test/Transforms/InstCombine/2006-05-04-DemandedBitCrash.ll b/llvm/test/Transforms/InstCombine/2006-05-04-DemandedBitCrash.ll index e22395fb8774..3b82293b671f 100644 --- a/llvm/test/Transforms/InstCombine/2006-05-04-DemandedBitCrash.ll +++ b/llvm/test/Transforms/InstCombine/2006-05-04-DemandedBitCrash.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output ; END. define void @test() { diff --git a/llvm/test/Transforms/InstCombine/2006-09-15-CastToBool.ll b/llvm/test/Transforms/InstCombine/2006-09-15-CastToBool.ll index 2eb28a3f6bb8..7faaa8a85e99 100644 --- a/llvm/test/Transforms/InstCombine/2006-09-15-CastToBool.ll +++ b/llvm/test/Transforms/InstCombine/2006-09-15-CastToBool.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep and +; RUN: opt < %s -passes=instcombine -S | grep and ; PR913 define i32 @test(i32* %tmp1) { diff --git a/llvm/test/Transforms/InstCombine/2006-10-19-SignedToUnsignedCastAndConst-2.ll b/llvm/test/Transforms/InstCombine/2006-10-19-SignedToUnsignedCastAndConst-2.ll index 889bbcfa3ea5..e79047579e99 100644 --- a/llvm/test/Transforms/InstCombine/2006-10-19-SignedToUnsignedCastAndConst-2.ll +++ b/llvm/test/Transforms/InstCombine/2006-10-19-SignedToUnsignedCastAndConst-2.ll @@ -1,5 +1,5 @@ ; The optimizer should be able to remove cast operation here. -; RUN: opt < %s -instcombine -S | \ +; RUN: opt < %s -passes=instcombine -S | \ ; RUN: not grep sext.*i32 define i1 @eq_signed_to_small_unsigned(i8 %SB) { diff --git a/llvm/test/Transforms/InstCombine/2006-10-20-mask.ll b/llvm/test/Transforms/InstCombine/2006-10-20-mask.ll index e9797ae50c95..09307b3821ab 100644 --- a/llvm/test/Transforms/InstCombine/2006-10-20-mask.ll +++ b/llvm/test/Transforms/InstCombine/2006-10-20-mask.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; CHECK: and define i64 @foo(i64 %tmp, i64 %tmp2) { diff --git a/llvm/test/Transforms/InstCombine/2006-10-26-VectorReassoc.ll b/llvm/test/Transforms/InstCombine/2006-10-26-VectorReassoc.ll index b5a8686049c5..fb860a5e7bdf 100644 --- a/llvm/test/Transforms/InstCombine/2006-10-26-VectorReassoc.ll +++ b/llvm/test/Transforms/InstCombine/2006-10-26-VectorReassoc.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; (V * C1) * C2 => V * (C1 * C2) ; Verify this doesn't fold when no fast-math-flags are specified diff --git a/llvm/test/Transforms/InstCombine/2006-11-10-ashr-miscompile.ll b/llvm/test/Transforms/InstCombine/2006-11-10-ashr-miscompile.ll index 7799423f04f6..4c9449beb29f 100644 --- a/llvm/test/Transforms/InstCombine/2006-11-10-ashr-miscompile.ll +++ b/llvm/test/Transforms/InstCombine/2006-11-10-ashr-miscompile.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep lshr +; RUN: opt < %s -passes=instcombine -S | grep lshr ; Verify this is not turned into -1. define i32 @test(i8 %amt) { diff --git a/llvm/test/Transforms/InstCombine/2006-12-01-BadFPVectorXform.ll b/llvm/test/Transforms/InstCombine/2006-12-01-BadFPVectorXform.ll index b4285ab82099..e23aa839de68 100644 --- a/llvm/test/Transforms/InstCombine/2006-12-01-BadFPVectorXform.ll +++ b/llvm/test/Transforms/InstCombine/2006-12-01-BadFPVectorXform.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define <4 x float> @test(<4 x float> %tmp26, <4 x float> %tmp53) { ; (X+Y)-Y != X for fp vectors. diff --git a/llvm/test/Transforms/InstCombine/2006-12-05-fp-to-int-ext.ll b/llvm/test/Transforms/InstCombine/2006-12-05-fp-to-int-ext.ll index 74483c1d9c77..85e4cdacf35e 100644 --- a/llvm/test/Transforms/InstCombine/2006-12-05-fp-to-int-ext.ll +++ b/llvm/test/Transforms/InstCombine/2006-12-05-fp-to-int-ext.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep zext +; RUN: opt < %s -passes=instcombine -S | grep zext ; Never merge these two conversions, even though it's possible: this is ; significantly more expensive than the two conversions on some targets diff --git a/llvm/test/Transforms/InstCombine/2006-12-08-Phi-ICmp-Op-Fold.ll b/llvm/test/Transforms/InstCombine/2006-12-08-Phi-ICmp-Op-Fold.ll index 60113fb56206..16b5940d3498 100644 --- a/llvm/test/Transforms/InstCombine/2006-12-08-Phi-ICmp-Op-Fold.ll +++ b/llvm/test/Transforms/InstCombine/2006-12-08-Phi-ICmp-Op-Fold.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | \ +; RUN: opt < %s -passes=instcombine -S | \ ; RUN: grep "icmp sgt" ; END. target datalayout = "e-p:32:32" diff --git a/llvm/test/Transforms/InstCombine/2006-12-08-Select-ICmp.ll b/llvm/test/Transforms/InstCombine/2006-12-08-Select-ICmp.ll index f54416d14254..71b8e61967af 100644 --- a/llvm/test/Transforms/InstCombine/2006-12-08-Select-ICmp.ll +++ b/llvm/test/Transforms/InstCombine/2006-12-08-Select-ICmp.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; CHECK: select ; END. diff --git a/llvm/test/Transforms/InstCombine/2006-12-15-Range-Test.ll b/llvm/test/Transforms/InstCombine/2006-12-15-Range-Test.ll index 6b83408ed7e0..0833d910f992 100644 --- a/llvm/test/Transforms/InstCombine/2006-12-15-Range-Test.ll +++ b/llvm/test/Transforms/InstCombine/2006-12-15-Range-Test.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-p:32:32" target triple = "i686-pc-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/2006-12-23-Select-Cmp-Cmp.ll b/llvm/test/Transforms/InstCombine/2006-12-23-Select-Cmp-Cmp.ll index 9251e9b455d6..4d1b5e7cd031 100644 --- a/llvm/test/Transforms/InstCombine/2006-12-23-Select-Cmp-Cmp.ll +++ b/llvm/test/Transforms/InstCombine/2006-12-23-Select-Cmp-Cmp.ll @@ -1,6 +1,6 @@ ; For PR1065. This causes an assertion in instcombine if a select with two cmp ; operands is encountered. -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output ; END. target datalayout = "e-p:32:32" diff --git a/llvm/test/Transforms/InstCombine/2007-01-13-ExtCompareMiscompile.ll b/llvm/test/Transforms/InstCombine/2007-01-13-ExtCompareMiscompile.ll index 635a09ca93c7..96b02c4ce9cb 100644 --- a/llvm/test/Transforms/InstCombine/2007-01-13-ExtCompareMiscompile.ll +++ b/llvm/test/Transforms/InstCombine/2007-01-13-ExtCompareMiscompile.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "icmp ugt" +; RUN: opt < %s -passes=instcombine -S | grep "icmp ugt" ; PR1107 ; PR1940 diff --git a/llvm/test/Transforms/InstCombine/2007-01-18-VectorInfLoop.ll b/llvm/test/Transforms/InstCombine/2007-01-18-VectorInfLoop.ll index fed2255c0e29..09af8513677d 100644 --- a/llvm/test/Transforms/InstCombine/2007-01-18-VectorInfLoop.ll +++ b/llvm/test/Transforms/InstCombine/2007-01-18-VectorInfLoop.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output define <4 x i32> @test(<4 x i32> %A) { %B = xor <4 x i32> %A, < i32 -1, i32 -1, i32 -1, i32 -1 > diff --git a/llvm/test/Transforms/InstCombine/2007-02-07-PointerCast.ll b/llvm/test/Transforms/InstCombine/2007-02-07-PointerCast.ll index ddc1e03ddd20..b7e2bc0de950 100644 --- a/llvm/test/Transforms/InstCombine/2007-02-07-PointerCast.ll +++ b/llvm/test/Transforms/InstCombine/2007-02-07-PointerCast.ll @@ -1,4 +1,4 @@ -;RUN: opt < %s -instcombine -S | grep zext +;RUN: opt < %s -passes=instcombine -S | grep zext ; Make sure the uint isn't removed. Instcombine in llvm 1.9 was dropping the ; uint cast which was causing a sign extend. This only affected code with diff --git a/llvm/test/Transforms/InstCombine/2007-02-23-PhiFoldInfLoop.ll b/llvm/test/Transforms/InstCombine/2007-02-23-PhiFoldInfLoop.ll index f31c280661d0..45164f89c925 100644 --- a/llvm/test/Transforms/InstCombine/2007-02-23-PhiFoldInfLoop.ll +++ b/llvm/test/Transforms/InstCombine/2007-02-23-PhiFoldInfLoop.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep ret +; RUN: opt < %s -passes=instcombine -S | grep ret ; PR1217 target datalayout = "e-p:32:32" diff --git a/llvm/test/Transforms/InstCombine/2007-03-13-CompareMerge.ll b/llvm/test/Transforms/InstCombine/2007-03-13-CompareMerge.ll index 7cedb1c5ced2..573b65116036 100644 --- a/llvm/test/Transforms/InstCombine/2007-03-13-CompareMerge.ll +++ b/llvm/test/Transforms/InstCombine/2007-03-13-CompareMerge.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; PR1244 diff --git a/llvm/test/Transforms/InstCombine/2007-03-19-BadTruncChangePR1261.ll b/llvm/test/Transforms/InstCombine/2007-03-19-BadTruncChangePR1261.ll index 589bd805d6dd..41f20a19b780 100644 --- a/llvm/test/Transforms/InstCombine/2007-03-19-BadTruncChangePR1261.ll +++ b/llvm/test/Transforms/InstCombine/2007-03-19-BadTruncChangePR1261.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep zext +; RUN: opt < %s -passes=instcombine -S | grep zext ; PR1261. define i16 @test(i31 %zzz) { diff --git a/llvm/test/Transforms/InstCombine/2007-03-21-SignedRangeTest.ll b/llvm/test/Transforms/InstCombine/2007-03-21-SignedRangeTest.ll index a7040bbaa0c9..9e43aff45530 100644 --- a/llvm/test/Transforms/InstCombine/2007-03-21-SignedRangeTest.ll +++ b/llvm/test/Transforms/InstCombine/2007-03-21-SignedRangeTest.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; For PR1248 diff --git a/llvm/test/Transforms/InstCombine/2007-03-25-BadShiftMask.ll b/llvm/test/Transforms/InstCombine/2007-03-25-BadShiftMask.ll index 9fe293127932..b3c00614f8fb 100644 --- a/llvm/test/Transforms/InstCombine/2007-03-25-BadShiftMask.ll +++ b/llvm/test/Transforms/InstCombine/2007-03-25-BadShiftMask.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; PR1271 -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s %struct..0anon = type { i32, i32 } %struct..1anon = type { double } diff --git a/llvm/test/Transforms/InstCombine/2007-03-25-DoubleShift.ll b/llvm/test/Transforms/InstCombine/2007-03-25-DoubleShift.ll index 0d4aac25c28f..d7a2e18a7928 100644 --- a/llvm/test/Transforms/InstCombine/2007-03-25-DoubleShift.ll +++ b/llvm/test/Transforms/InstCombine/2007-03-25-DoubleShift.ll @@ -1,5 +1,5 @@ ; PR1271 -; RUN: opt < %s -instcombine -S | grep and +; RUN: opt < %s -passes=instcombine -S | grep and define i1 @test(i32 %tmp13) { entry: %tmp14 = shl i32 %tmp13, 12 ; [#uses=1] diff --git a/llvm/test/Transforms/InstCombine/2007-03-26-BadShiftMask.ll b/llvm/test/Transforms/InstCombine/2007-03-26-BadShiftMask.ll index c4070a1b1dbe..05d9c593eb23 100644 --- a/llvm/test/Transforms/InstCombine/2007-03-26-BadShiftMask.ll +++ b/llvm/test/Transforms/InstCombine/2007-03-26-BadShiftMask.ll @@ -1,5 +1,5 @@ ; PR1271 -; RUN: opt < %s -instcombine -S | \ +; RUN: opt < %s -passes=instcombine -S | \ ; RUN: grep "ashr exact i32 %.mp137, 2" 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" diff --git a/llvm/test/Transforms/InstCombine/2007-04-08-SingleEltVectorCrash.ll b/llvm/test/Transforms/InstCombine/2007-04-08-SingleEltVectorCrash.ll index 22eb2c23c34b..c1472bd8810b 100644 --- a/llvm/test/Transforms/InstCombine/2007-04-08-SingleEltVectorCrash.ll +++ b/llvm/test/Transforms/InstCombine/2007-04-08-SingleEltVectorCrash.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output ; PR1304 define i64 @bork(<1 x i64> %vec) { diff --git a/llvm/test/Transforms/InstCombine/2007-05-10-icmp-or.ll b/llvm/test/Transforms/InstCombine/2007-05-10-icmp-or.ll index f019507082b3..e6012ab1e1c0 100644 --- a/llvm/test/Transforms/InstCombine/2007-05-10-icmp-or.ll +++ b/llvm/test/Transforms/InstCombine/2007-05-10-icmp-or.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i1 @test(i32 %tmp9) { ; CHECK-LABEL: @test( diff --git a/llvm/test/Transforms/InstCombine/2007-05-14-Crash.ll b/llvm/test/Transforms/InstCombine/2007-05-14-Crash.ll index e744489f4369..ecc8a28cba2f 100644 --- a/llvm/test/Transforms/InstCombine/2007-05-14-Crash.ll +++ b/llvm/test/Transforms/InstCombine/2007-05-14-Crash.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output target datalayout = "E-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64" target triple = "powerpc-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/2007-05-18-CastFoldBug.ll b/llvm/test/Transforms/InstCombine/2007-05-18-CastFoldBug.ll index 4cc14a4fd6df..fbf363afce29 100644 --- a/llvm/test/Transforms/InstCombine/2007-05-18-CastFoldBug.ll +++ b/llvm/test/Transforms/InstCombine/2007-05-18-CastFoldBug.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "call.*sret" +; RUN: opt < %s -passes=instcombine -S | grep "call.*sret" ; Make sure instcombine doesn't drop the sret attribute. define void @blah(i16* %tmp10) { diff --git a/llvm/test/Transforms/InstCombine/2007-06-06-AshrSignBit.ll b/llvm/test/Transforms/InstCombine/2007-06-06-AshrSignBit.ll index 2b89a9d721fb..ed7b8769930a 100644 --- a/llvm/test/Transforms/InstCombine/2007-06-06-AshrSignBit.ll +++ b/llvm/test/Transforms/InstCombine/2007-06-06-AshrSignBit.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "ashr" +; RUN: opt < %s -passes=instcombine -S | grep "ashr" ; PR1499 define void @av_cmp_q_cond_true(i32* %retval, i32* %tmp9, i64* %tmp10) { diff --git a/llvm/test/Transforms/InstCombine/2007-06-21-DivCompareMiscomp.ll b/llvm/test/Transforms/InstCombine/2007-06-21-DivCompareMiscomp.ll index b2b04d6bd2f7..00b338eff0cb 100644 --- a/llvm/test/Transforms/InstCombine/2007-06-21-DivCompareMiscomp.ll +++ b/llvm/test/Transforms/InstCombine/2007-06-21-DivCompareMiscomp.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "ret i1 true" +; RUN: opt < %s -passes=instcombine -S | grep "ret i1 true" ; rdar://5278853 define i1 @test(i32 %tmp468) { diff --git a/llvm/test/Transforms/InstCombine/2007-08-02-InfiniteLoop.ll b/llvm/test/Transforms/InstCombine/2007-08-02-InfiniteLoop.ll index 3f76187b780a..2cad49243ed9 100644 --- a/llvm/test/Transforms/InstCombine/2007-08-02-InfiniteLoop.ll +++ b/llvm/test/Transforms/InstCombine/2007-08-02-InfiniteLoop.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output ; PR1594 define i64 @test(i16 %tmp510, i16 %tmp512) { diff --git a/llvm/test/Transforms/InstCombine/2007-09-10-AliasConstFold.ll b/llvm/test/Transforms/InstCombine/2007-09-10-AliasConstFold.ll index c303ddd58974..eb8cafc09eca 100644 --- a/llvm/test/Transforms/InstCombine/2007-09-10-AliasConstFold.ll +++ b/llvm/test/Transforms/InstCombine/2007-09-10-AliasConstFold.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep icmp +; RUN: opt < %s -passes=instcombine -S | grep icmp ; PR1646 @__gthrw_pthread_cancel = weak alias i32 (i32), i32 (i32)* @pthread_cancel ; [#uses=1] diff --git a/llvm/test/Transforms/InstCombine/2007-09-17-AliasConstFold2.ll b/llvm/test/Transforms/InstCombine/2007-09-17-AliasConstFold2.ll index 7c6df1f984a4..ff1fd079457e 100644 --- a/llvm/test/Transforms/InstCombine/2007-09-17-AliasConstFold2.ll +++ b/llvm/test/Transforms/InstCombine/2007-09-17-AliasConstFold2.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep icmp +; RUN: opt < %s -passes=instcombine -S | grep icmp ; PR1678 @A = weak alias void (), void ()* @B ; [#uses=1] diff --git a/llvm/test/Transforms/InstCombine/2007-10-10-EliminateMemCpy.ll b/llvm/test/Transforms/InstCombine/2007-10-10-EliminateMemCpy.ll index 427d0e3b0d14..85ed08102299 100644 --- a/llvm/test/Transforms/InstCombine/2007-10-10-EliminateMemCpy.ll +++ b/llvm/test/Transforms/InstCombine/2007-10-10-EliminateMemCpy.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | not grep call +; RUN: opt < %s -passes=instcombine -S | not grep call ; RUN: opt < %s -O3 -S | not grep xyz target datalayout = "E-p:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128" diff --git a/llvm/test/Transforms/InstCombine/2007-10-12-Crash.ll b/llvm/test/Transforms/InstCombine/2007-10-12-Crash.ll index 33d55e7e9e02..c8d5a0c9024b 100644 --- a/llvm/test/Transforms/InstCombine/2007-10-12-Crash.ll +++ b/llvm/test/Transforms/InstCombine/2007-10-12-Crash.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output %struct.Ray = type { %struct.Vec, %struct.Vec } %struct.Scene = type { i32 (...)** } diff --git a/llvm/test/Transforms/InstCombine/2007-10-28-stacksave.ll b/llvm/test/Transforms/InstCombine/2007-10-28-stacksave.ll index 48e876510a9d..f15568949a38 100644 --- a/llvm/test/Transforms/InstCombine/2007-10-28-stacksave.ll +++ b/llvm/test/Transforms/InstCombine/2007-10-28-stacksave.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "call.*stacksave" +; RUN: opt < %s -passes=instcombine -S | grep "call.*stacksave" ; PR1745 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:128:128" target triple = "i686-apple-darwin8" diff --git a/llvm/test/Transforms/InstCombine/2007-10-31-RangeCrash.ll b/llvm/test/Transforms/InstCombine/2007-10-31-RangeCrash.ll index e42e5adf2e9d..0fcd0a4bd68c 100644 --- a/llvm/test/Transforms/InstCombine/2007-10-31-RangeCrash.ll +++ b/llvm/test/Transforms/InstCombine/2007-10-31-RangeCrash.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output 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-f128:64:128" target triple = "powerpc-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/2007-10-31-StringCrash.ll b/llvm/test/Transforms/InstCombine/2007-10-31-StringCrash.ll index 876cdd53f524..ba77c00e4a66 100644 --- a/llvm/test/Transforms/InstCombine/2007-10-31-StringCrash.ll +++ b/llvm/test/Transforms/InstCombine/2007-10-31-StringCrash.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output 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:128:128" target triple = "i686-apple-darwin8" diff --git a/llvm/test/Transforms/InstCombine/2007-11-07-OpaqueAlignCrash.ll b/llvm/test/Transforms/InstCombine/2007-11-07-OpaqueAlignCrash.ll index ff3107297a12..39111bff0e1a 100644 --- a/llvm/test/Transforms/InstCombine/2007-11-07-OpaqueAlignCrash.ll +++ b/llvm/test/Transforms/InstCombine/2007-11-07-OpaqueAlignCrash.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output ; PR1780 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" diff --git a/llvm/test/Transforms/InstCombine/2007-11-15-CompareMiscomp.ll b/llvm/test/Transforms/InstCombine/2007-11-15-CompareMiscomp.ll index 8efa821d7de0..5b6d55cb8079 100644 --- a/llvm/test/Transforms/InstCombine/2007-11-15-CompareMiscomp.ll +++ b/llvm/test/Transforms/InstCombine/2007-11-15-CompareMiscomp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; PR1800 diff --git a/llvm/test/Transforms/InstCombine/2007-11-25-CompatibleAttributes.ll b/llvm/test/Transforms/InstCombine/2007-11-25-CompatibleAttributes.ll index 1232005a5610..941e083969d4 100644 --- a/llvm/test/Transforms/InstCombine/2007-11-25-CompatibleAttributes.ll +++ b/llvm/test/Transforms/InstCombine/2007-11-25-CompatibleAttributes.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | not grep bitcast +; RUN: opt < %s -passes=instcombine -S | not grep bitcast ; PR1716 @.str = internal constant [4 x i8] c"%d\0A\00" ; <[4 x i8]*> [#uses=1] diff --git a/llvm/test/Transforms/InstCombine/2007-12-10-ConstFoldCompare.ll b/llvm/test/Transforms/InstCombine/2007-12-10-ConstFoldCompare.ll index 89f867252bf9..0af16714c920 100644 --- a/llvm/test/Transforms/InstCombine/2007-12-10-ConstFoldCompare.ll +++ b/llvm/test/Transforms/InstCombine/2007-12-10-ConstFoldCompare.ll @@ -1,6 +1,6 @@ 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" target triple = "i686-pc-linux-gnu" -; RUN: opt < %s -instcombine -S | not grep "ret i1 0" +; RUN: opt < %s -passes=instcombine -S | not grep "ret i1 0" ; PR1850 define i1 @test() { diff --git a/llvm/test/Transforms/InstCombine/2007-12-12-GEPScale.ll b/llvm/test/Transforms/InstCombine/2007-12-12-GEPScale.ll index 60f715e2ef7d..09fcfbd48468 100644 --- a/llvm/test/Transforms/InstCombine/2007-12-12-GEPScale.ll +++ b/llvm/test/Transforms/InstCombine/2007-12-12-GEPScale.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | not grep 1431655764 +; RUN: opt < %s -passes=instcombine -S | not grep 1431655764 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" diff --git a/llvm/test/Transforms/InstCombine/2007-12-16-AsmNoUnwind.ll b/llvm/test/Transforms/InstCombine/2007-12-16-AsmNoUnwind.ll index 85cf9b6904cb..ac8d7ae26062 100644 --- a/llvm/test/Transforms/InstCombine/2007-12-16-AsmNoUnwind.ll +++ b/llvm/test/Transforms/InstCombine/2007-12-16-AsmNoUnwind.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep nounwind +; RUN: opt < %s -passes=instcombine -S | grep nounwind define void @bar() { entry: diff --git a/llvm/test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll b/llvm/test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll index 38721f3079a6..07e48b24d66a 100644 --- a/llvm/test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll +++ b/llvm/test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @foo(i32 %a) { ; CHECK-LABEL: @foo( diff --git a/llvm/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll b/llvm/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll index 22c078250ece..0bb9705295d4 100644 --- a/llvm/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll +++ b/llvm/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll @@ -1,5 +1,5 @@ ; Ignore stderr, we expect warnings there -; RUN: opt < %s -instcombine 2> /dev/null -S | FileCheck %s +; RUN: opt < %s -passes=instcombine 2> /dev/null -S | FileCheck %s ; CHECK-NOT: bitcast diff --git a/llvm/test/Transforms/InstCombine/2008-01-06-CastCrash.ll b/llvm/test/Transforms/InstCombine/2008-01-06-CastCrash.ll index 097a0ce849d0..2cfd0a82d82f 100644 --- a/llvm/test/Transforms/InstCombine/2008-01-06-CastCrash.ll +++ b/llvm/test/Transforms/InstCombine/2008-01-06-CastCrash.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output define <2 x i32> @f() { ret <2 x i32> undef diff --git a/llvm/test/Transforms/InstCombine/2008-01-06-VoidCast.ll b/llvm/test/Transforms/InstCombine/2008-01-06-VoidCast.ll index 5dcaa38edc02..1c83e99f8563 100644 --- a/llvm/test/Transforms/InstCombine/2008-01-06-VoidCast.ll +++ b/llvm/test/Transforms/InstCombine/2008-01-06-VoidCast.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define void @f(i16 %y) { ret void diff --git a/llvm/test/Transforms/InstCombine/2008-01-13-AndCmpCmp.ll b/llvm/test/Transforms/InstCombine/2008-01-13-AndCmpCmp.ll index 6dde4402e1fb..d90d5250d345 100644 --- a/llvm/test/Transforms/InstCombine/2008-01-13-AndCmpCmp.ll +++ b/llvm/test/Transforms/InstCombine/2008-01-13-AndCmpCmp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; PR1907 diff --git a/llvm/test/Transforms/InstCombine/2008-01-14-VarArgTrampoline.ll b/llvm/test/Transforms/InstCombine/2008-01-14-VarArgTrampoline.ll index b111b85d59f0..e4fee58ca8f8 100644 --- a/llvm/test/Transforms/InstCombine/2008-01-14-VarArgTrampoline.ll +++ b/llvm/test/Transforms/InstCombine/2008-01-14-VarArgTrampoline.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep zeroext +; RUN: opt < %s -passes=instcombine -S | grep zeroext %struct.FRAME.nest = type { i32, i32 (...)* } %struct.__builtin_trampoline = type { [10 x i8] } diff --git a/llvm/test/Transforms/InstCombine/2008-01-21-MismatchedCastAndCompare.ll b/llvm/test/Transforms/InstCombine/2008-01-21-MismatchedCastAndCompare.ll index 5ff23a3881fa..15b2ff6eb5a1 100644 --- a/llvm/test/Transforms/InstCombine/2008-01-21-MismatchedCastAndCompare.ll +++ b/llvm/test/Transforms/InstCombine/2008-01-21-MismatchedCastAndCompare.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; PR1940 define i1 @test1(i8 %A, i8 %B) { diff --git a/llvm/test/Transforms/InstCombine/2008-01-21-MulTrunc.ll b/llvm/test/Transforms/InstCombine/2008-01-21-MulTrunc.ll index 89e4a3c1aaed..fa63847cab2a 100644 --- a/llvm/test/Transforms/InstCombine/2008-01-21-MulTrunc.ll +++ b/llvm/test/Transforms/InstCombine/2008-01-21-MulTrunc.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" diff --git a/llvm/test/Transforms/InstCombine/2008-01-27-FloatSelect.ll b/llvm/test/Transforms/InstCombine/2008-01-27-FloatSelect.ll index 6b4e89dbbe60..0db638aa5bc4 100644 --- a/llvm/test/Transforms/InstCombine/2008-01-27-FloatSelect.ll +++ b/llvm/test/Transforms/InstCombine/2008-01-27-FloatSelect.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; CHECK: select define double @fold(i1 %a, double %b) { diff --git a/llvm/test/Transforms/InstCombine/2008-02-13-MulURem.ll b/llvm/test/Transforms/InstCombine/2008-02-13-MulURem.ll index d85ef97553ab..5bc01f220b9c 100644 --- a/llvm/test/Transforms/InstCombine/2008-02-13-MulURem.ll +++ b/llvm/test/Transforms/InstCombine/2008-02-13-MulURem.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; PR1933 ; CHECK: rem diff --git a/llvm/test/Transforms/InstCombine/2008-02-16-SDivOverflow2.ll b/llvm/test/Transforms/InstCombine/2008-02-16-SDivOverflow2.ll index 854f8cb0b562..a286dad6de92 100644 --- a/llvm/test/Transforms/InstCombine/2008-02-16-SDivOverflow2.ll +++ b/llvm/test/Transforms/InstCombine/2008-02-16-SDivOverflow2.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "sdiv i8 \%a, 9" +; RUN: opt < %s -passes=instcombine -S | grep "sdiv i8 \%a, 9" ; PR2048 define i8 @i(i8 %a) { diff --git a/llvm/test/Transforms/InstCombine/2008-02-23-MulSub.ll b/llvm/test/Transforms/InstCombine/2008-02-23-MulSub.ll index bb21c4b03417..91331555443c 100644 --- a/llvm/test/Transforms/InstCombine/2008-02-23-MulSub.ll +++ b/llvm/test/Transforms/InstCombine/2008-02-23-MulSub.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | not grep mul +; RUN: opt < %s -passes=instcombine -S | not grep mul define i26 @test(i26 %a) nounwind { entry: diff --git a/llvm/test/Transforms/InstCombine/2008-02-28-OrFCmpCrash.ll b/llvm/test/Transforms/InstCombine/2008-02-28-OrFCmpCrash.ll index cb0f5d82c088..f151605627a6 100644 --- a/llvm/test/Transforms/InstCombine/2008-02-28-OrFCmpCrash.ll +++ b/llvm/test/Transforms/InstCombine/2008-02-28-OrFCmpCrash.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; rdar://5771353 diff --git a/llvm/test/Transforms/InstCombine/2008-03-13-IntToPtr.ll b/llvm/test/Transforms/InstCombine/2008-03-13-IntToPtr.ll index d086f4b63b71..3c5e6608648c 100644 --- a/llvm/test/Transforms/InstCombine/2008-03-13-IntToPtr.ll +++ b/llvm/test/Transforms/InstCombine/2008-03-13-IntToPtr.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "16" | count 1 +; RUN: opt < %s -passes=instcombine -S | grep "16" | count 1 define i8* @bork(i8** %qux) { %tmp275 = load i8*, i8** %qux, align 1 diff --git a/llvm/test/Transforms/InstCombine/2008-04-22-ByValBitcast.ll b/llvm/test/Transforms/InstCombine/2008-04-22-ByValBitcast.ll index e4452c863aaf..3e79cc90abc7 100644 --- a/llvm/test/Transforms/InstCombine/2008-04-22-ByValBitcast.ll +++ b/llvm/test/Transforms/InstCombine/2008-04-22-ByValBitcast.ll @@ -1,6 +1,6 @@ ;; The bitcast cannot be eliminated because byval arguments need ;; the correct type, or at least a type of the correct size. -; RUN: opt < %s -instcombine -S | grep bitcast +; RUN: opt < %s -passes=instcombine -S | grep bitcast 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:128:128" target triple = "i386-apple-darwin9" %struct.NSRect = type { [4 x float] } diff --git a/llvm/test/Transforms/InstCombine/2008-04-28-VolatileStore.ll b/llvm/test/Transforms/InstCombine/2008-04-28-VolatileStore.ll index dba6cdb56547..62a9d8325566 100644 --- a/llvm/test/Transforms/InstCombine/2008-04-28-VolatileStore.ll +++ b/llvm/test/Transforms/InstCombine/2008-04-28-VolatileStore.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "store volatile" +; RUN: opt < %s -passes=instcombine -S | grep "store volatile" define void @test() { %votf = alloca <4 x float> ; <<4 x float>*> [#uses=1] diff --git a/llvm/test/Transforms/InstCombine/2008-04-29-VolatileLoadDontMerge.ll b/llvm/test/Transforms/InstCombine/2008-04-29-VolatileLoadDontMerge.ll index af662bda1e6e..a797ed4902b0 100644 --- a/llvm/test/Transforms/InstCombine/2008-04-29-VolatileLoadDontMerge.ll +++ b/llvm/test/Transforms/InstCombine/2008-04-29-VolatileLoadDontMerge.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "load volatile" | count 2 +; RUN: opt < %s -passes=instcombine -S | grep "load volatile" | count 2 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:128:128" target triple = "i386-apple-darwin8" @g_1 = internal global i32 0 ; [#uses=3] diff --git a/llvm/test/Transforms/InstCombine/2008-04-29-VolatileLoadMerge.ll b/llvm/test/Transforms/InstCombine/2008-04-29-VolatileLoadMerge.ll index 3c67e513bcc1..53974badba7b 100644 --- a/llvm/test/Transforms/InstCombine/2008-04-29-VolatileLoadMerge.ll +++ b/llvm/test/Transforms/InstCombine/2008-04-29-VolatileLoadMerge.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "load volatile" | count 2 +; RUN: opt < %s -passes=instcombine -S | grep "load volatile" | count 2 ; PR2262 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:128:128" target triple = "i386-apple-darwin8" diff --git a/llvm/test/Transforms/InstCombine/2008-05-08-LiveStoreDelete.ll b/llvm/test/Transforms/InstCombine/2008-05-08-LiveStoreDelete.ll index 907382093d11..4be97d8ff44c 100644 --- a/llvm/test/Transforms/InstCombine/2008-05-08-LiveStoreDelete.ll +++ b/llvm/test/Transforms/InstCombine/2008-05-08-LiveStoreDelete.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "store i8" | count 3 +; RUN: opt < %s -passes=instcombine -S | grep "store i8" | count 3 ; PR2297 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:128:128" target triple = "i386-apple-darwin8" diff --git a/llvm/test/Transforms/InstCombine/2008-05-08-StrLenSink.ll b/llvm/test/Transforms/InstCombine/2008-05-08-StrLenSink.ll index ce1923338c6b..03c9590ec51c 100644 --- a/llvm/test/Transforms/InstCombine/2008-05-08-StrLenSink.ll +++ b/llvm/test/Transforms/InstCombine/2008-05-08-StrLenSink.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; PR2297 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:128:128" target triple = "i386-apple-darwin8" diff --git a/llvm/test/Transforms/InstCombine/2008-05-09-SinkOfInvoke.ll b/llvm/test/Transforms/InstCombine/2008-05-09-SinkOfInvoke.ll index 4d9c19ff583b..b5f38db536d0 100644 --- a/llvm/test/Transforms/InstCombine/2008-05-09-SinkOfInvoke.ll +++ b/llvm/test/Transforms/InstCombine/2008-05-09-SinkOfInvoke.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output ; PR2303 %"struct.std::ctype" = type { %"struct.std::locale::facet", i32*, i8, i32*, i32*, i16*, i8, [256 x i8], [256 x i8], i8 } %"struct.std::locale::facet" = type { i32 (...)**, i32 } diff --git a/llvm/test/Transforms/InstCombine/2008-05-17-InfLoop.ll b/llvm/test/Transforms/InstCombine/2008-05-17-InfLoop.ll index af0f2a45e7ec..ac23fa3fc852 100644 --- a/llvm/test/Transforms/InstCombine/2008-05-17-InfLoop.ll +++ b/llvm/test/Transforms/InstCombine/2008-05-17-InfLoop.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output ; PR2339 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-s0:0:64-f80:32:32" target triple = "i686-pc-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/2008-05-18-FoldIntToPtr.ll b/llvm/test/Transforms/InstCombine/2008-05-18-FoldIntToPtr.ll index a0e95a93982c..9b34dd1d751f 100644 --- a/llvm/test/Transforms/InstCombine/2008-05-18-FoldIntToPtr.ll +++ b/llvm/test/Transforms/InstCombine/2008-05-18-FoldIntToPtr.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "ret i1 false" | count 2 +; RUN: opt < %s -passes=instcombine -S | grep "ret i1 false" | count 2 ; PR2329 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" diff --git a/llvm/test/Transforms/InstCombine/2008-05-22-IDivVector.ll b/llvm/test/Transforms/InstCombine/2008-05-22-IDivVector.ll index f7ba99c6b449..360840172cf7 100644 --- a/llvm/test/Transforms/InstCombine/2008-05-22-IDivVector.ll +++ b/llvm/test/Transforms/InstCombine/2008-05-22-IDivVector.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output define <3 x i8> @f(<3 x i8> %i) { %A = sdiv <3 x i8> %i, %i diff --git a/llvm/test/Transforms/InstCombine/2008-05-23-CompareFold.ll b/llvm/test/Transforms/InstCombine/2008-05-23-CompareFold.ll index b10aac96599f..81db043eca81 100644 --- a/llvm/test/Transforms/InstCombine/2008-05-23-CompareFold.ll +++ b/llvm/test/Transforms/InstCombine/2008-05-23-CompareFold.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; PR2359 ; CHECK-LABEL: @f( diff --git a/llvm/test/Transforms/InstCombine/2008-05-31-AddBool.ll b/llvm/test/Transforms/InstCombine/2008-05-31-AddBool.ll index 31b17196d8f5..9bc02603a269 100644 --- a/llvm/test/Transforms/InstCombine/2008-05-31-AddBool.ll +++ b/llvm/test/Transforms/InstCombine/2008-05-31-AddBool.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; PR2389 ; CHECK: xor diff --git a/llvm/test/Transforms/InstCombine/2008-05-31-Bools.ll b/llvm/test/Transforms/InstCombine/2008-05-31-Bools.ll index 7c33f2dd05ee..e7dd74b06d94 100644 --- a/llvm/test/Transforms/InstCombine/2008-05-31-Bools.ll +++ b/llvm/test/Transforms/InstCombine/2008-05-31-Bools.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S > %t +; RUN: opt < %s -passes=instcombine -S > %t ; RUN: grep "xor" %t ; RUN: grep "and" %t ; RUN: not grep "div" %t diff --git a/llvm/test/Transforms/InstCombine/2008-06-05-ashr-crash.ll b/llvm/test/Transforms/InstCombine/2008-06-05-ashr-crash.ll index 5e4a9d0e5b30..c3e129d2f023 100644 --- a/llvm/test/Transforms/InstCombine/2008-06-05-ashr-crash.ll +++ b/llvm/test/Transforms/InstCombine/2008-06-05-ashr-crash.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine +; RUN: opt < %s -passes=instcombine define i65 @foo(i65 %x) nounwind { entry: diff --git a/llvm/test/Transforms/InstCombine/2008-06-08-ICmpPHI.ll b/llvm/test/Transforms/InstCombine/2008-06-08-ICmpPHI.ll index 7e8341b99f78..9ebbabf53dab 100644 --- a/llvm/test/Transforms/InstCombine/2008-06-08-ICmpPHI.ll +++ b/llvm/test/Transforms/InstCombine/2008-06-08-ICmpPHI.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "phi i32" | count 2 +; RUN: opt < %s -passes=instcombine -S | grep "phi i32" | count 2 define void @test() nounwind { entry: diff --git a/llvm/test/Transforms/InstCombine/2008-06-13-InfiniteLoopStore.ll b/llvm/test/Transforms/InstCombine/2008-06-13-InfiniteLoopStore.ll index cc469262d53a..1932152fbf82 100644 --- a/llvm/test/Transforms/InstCombine/2008-06-13-InfiniteLoopStore.ll +++ b/llvm/test/Transforms/InstCombine/2008-06-13-InfiniteLoopStore.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "store i32" | count 2 +; RUN: opt < %s -passes=instcombine -S | grep "store i32" | count 2 @g_139 = global i32 0 ; [#uses=2] diff --git a/llvm/test/Transforms/InstCombine/2008-06-13-ReadOnlyCallStore.ll b/llvm/test/Transforms/InstCombine/2008-06-13-ReadOnlyCallStore.ll index bf5e96b763f0..377d22329623 100644 --- a/llvm/test/Transforms/InstCombine/2008-06-13-ReadOnlyCallStore.ll +++ b/llvm/test/Transforms/InstCombine/2008-06-13-ReadOnlyCallStore.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "store i8" | count 2 +; RUN: opt < %s -passes=instcombine -S | grep "store i8" | count 2 define i32 @a(i8* %s) nounwind { entry: diff --git a/llvm/test/Transforms/InstCombine/2008-06-19-UncondLoad.ll b/llvm/test/Transforms/InstCombine/2008-06-19-UncondLoad.ll index c3aab464b87e..59d0ded68595 100644 --- a/llvm/test/Transforms/InstCombine/2008-06-19-UncondLoad.ll +++ b/llvm/test/Transforms/InstCombine/2008-06-19-UncondLoad.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep load | count 3 +; RUN: opt < %s -passes=instcombine -S | grep load | count 3 ; PR2471 declare i32 @x(i32*) diff --git a/llvm/test/Transforms/InstCombine/2008-06-21-CompareMiscomp.ll b/llvm/test/Transforms/InstCombine/2008-06-21-CompareMiscomp.ll index 2b0f364ee375..e8c827b49b99 100644 --- a/llvm/test/Transforms/InstCombine/2008-06-21-CompareMiscomp.ll +++ b/llvm/test/Transforms/InstCombine/2008-06-21-CompareMiscomp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; PR2479 ; (See also PR1800.) diff --git a/llvm/test/Transforms/InstCombine/2008-06-24-StackRestore.ll b/llvm/test/Transforms/InstCombine/2008-06-24-StackRestore.ll index f963b009671b..cb06571f4149 100644 --- a/llvm/test/Transforms/InstCombine/2008-06-24-StackRestore.ll +++ b/llvm/test/Transforms/InstCombine/2008-06-24-StackRestore.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "call.*llvm.stackrestore" +; RUN: opt < %s -passes=instcombine -S | grep "call.*llvm.stackrestore" ; PR2488 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" target triple = "i386-pc-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/2008-07-08-ShiftOneAndOne.ll b/llvm/test/Transforms/InstCombine/2008-07-08-ShiftOneAndOne.ll index b0a17467455a..d431132106da 100644 --- a/llvm/test/Transforms/InstCombine/2008-07-08-ShiftOneAndOne.ll +++ b/llvm/test/Transforms/InstCombine/2008-07-08-ShiftOneAndOne.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i1 @PR2330(i32 %a) { ; CHECK-LABEL: @PR2330( diff --git a/llvm/test/Transforms/InstCombine/2008-07-08-SubAnd.ll b/llvm/test/Transforms/InstCombine/2008-07-08-SubAnd.ll index a3d44cb2467a..509dab5957ad 100644 --- a/llvm/test/Transforms/InstCombine/2008-07-08-SubAnd.ll +++ b/llvm/test/Transforms/InstCombine/2008-07-08-SubAnd.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep -v "i32 8" +; RUN: opt < %s -passes=instcombine -S | grep -v "i32 8" ; PR2330 define i32 @a(i32 %a) nounwind { diff --git a/llvm/test/Transforms/InstCombine/2008-07-08-VolatileLoadMerge.ll b/llvm/test/Transforms/InstCombine/2008-07-08-VolatileLoadMerge.ll index 17ec9cd1d82b..5ea323a7f11a 100644 --- a/llvm/test/Transforms/InstCombine/2008-07-08-VolatileLoadMerge.ll +++ b/llvm/test/Transforms/InstCombine/2008-07-08-VolatileLoadMerge.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "load volatile" | count 2 +; RUN: opt < %s -passes=instcombine -S | grep "load volatile" | count 2 ; PR2496 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:128:128" target triple = "i386-apple-darwin8" diff --git a/llvm/test/Transforms/InstCombine/2008-07-09-SubAndError.ll b/llvm/test/Transforms/InstCombine/2008-07-09-SubAndError.ll index ed0141403bbe..96a4b1bcf921 100644 --- a/llvm/test/Transforms/InstCombine/2008-07-09-SubAndError.ll +++ b/llvm/test/Transforms/InstCombine/2008-07-09-SubAndError.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | not grep "sub i32 0" +; RUN: opt < %s -passes=instcombine -S | not grep "sub i32 0" ; PR2330 define i32 @foo(i32 %a) nounwind { diff --git a/llvm/test/Transforms/InstCombine/2008-07-10-CastSextBool.ll b/llvm/test/Transforms/InstCombine/2008-07-10-CastSextBool.ll index a9fa53d39992..0122defb9901 100644 --- a/llvm/test/Transforms/InstCombine/2008-07-10-CastSextBool.ll +++ b/llvm/test/Transforms/InstCombine/2008-07-10-CastSextBool.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i1 @PR2539_A(i1 %A) { ; CHECK-LABEL: @PR2539_A( diff --git a/llvm/test/Transforms/InstCombine/2008-07-11-RemAnd.ll b/llvm/test/Transforms/InstCombine/2008-07-11-RemAnd.ll index bf53451d66cf..04fea07ddaf6 100644 --- a/llvm/test/Transforms/InstCombine/2008-07-11-RemAnd.ll +++ b/llvm/test/Transforms/InstCombine/2008-07-11-RemAnd.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | not grep rem +; RUN: opt < %s -passes=instcombine -S | not grep rem ; PR2330 define i32 @a(i32 %b) nounwind { diff --git a/llvm/test/Transforms/InstCombine/2008-07-13-DivZero.ll b/llvm/test/Transforms/InstCombine/2008-07-13-DivZero.ll index 18c995428343..ded766d81772 100644 --- a/llvm/test/Transforms/InstCombine/2008-07-13-DivZero.ll +++ b/llvm/test/Transforms/InstCombine/2008-07-13-DivZero.ll @@ -1,5 +1,5 @@ -; RUN: opt < %s -instcombine -S | grep "lshr.*3" -; RUN: opt < %s -instcombine -S | grep "call .*%cond" +; RUN: opt < %s -passes=instcombine -S | grep "lshr.*3" +; RUN: opt < %s -passes=instcombine -S | grep "call .*%cond" ; PR2506 ; We can simplify the operand of udiv to '8', but not the operand to the diff --git a/llvm/test/Transforms/InstCombine/2008-07-16-fsub.ll b/llvm/test/Transforms/InstCombine/2008-07-16-fsub.ll index 672b4e955262..2ace78854162 100644 --- a/llvm/test/Transforms/InstCombine/2008-07-16-fsub.ll +++ b/llvm/test/Transforms/InstCombine/2008-07-16-fsub.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep sub +; RUN: opt < %s -passes=instcombine -S | grep sub ; PR2553 define double @test(double %X) nounwind { diff --git a/llvm/test/Transforms/InstCombine/2008-08-05-And.ll b/llvm/test/Transforms/InstCombine/2008-08-05-And.ll index f5a6df2ab80f..8aa86a5cb9b4 100644 --- a/llvm/test/Transforms/InstCombine/2008-08-05-And.ll +++ b/llvm/test/Transforms/InstCombine/2008-08-05-And.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; PR2629 define void @f(i8* %x) nounwind { diff --git a/llvm/test/Transforms/InstCombine/2008-09-02-VectorCrash.ll b/llvm/test/Transforms/InstCombine/2008-09-02-VectorCrash.ll index 7c50141421dc..346c97ee446b 100644 --- a/llvm/test/Transforms/InstCombine/2008-09-02-VectorCrash.ll +++ b/llvm/test/Transforms/InstCombine/2008-09-02-VectorCrash.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine +; RUN: opt < %s -passes=instcombine define void @entry(i32 %m_task_id, i32 %start_x, i32 %end_x, i32 %start_y, i32 %end_y) { br label %1 diff --git a/llvm/test/Transforms/InstCombine/2008-10-11-DivCompareFold.ll b/llvm/test/Transforms/InstCombine/2008-10-11-DivCompareFold.ll index cf29f8d9bf24..634de983d626 100644 --- a/llvm/test/Transforms/InstCombine/2008-10-11-DivCompareFold.ll +++ b/llvm/test/Transforms/InstCombine/2008-10-11-DivCompareFold.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "ret i1 false" +; RUN: opt < %s -passes=instcombine -S | grep "ret i1 false" ; PR2697 define i1 @x(i32 %x) nounwind { diff --git a/llvm/test/Transforms/InstCombine/2008-10-23-ConstFoldWithoutMask.ll b/llvm/test/Transforms/InstCombine/2008-10-23-ConstFoldWithoutMask.ll index d70d05293e8f..fda6cb07f6b0 100644 --- a/llvm/test/Transforms/InstCombine/2008-10-23-ConstFoldWithoutMask.ll +++ b/llvm/test/Transforms/InstCombine/2008-10-23-ConstFoldWithoutMask.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine +; RUN: opt < %s -passes=instcombine ; PR2940 define i32 @tstid() { diff --git a/llvm/test/Transforms/InstCombine/2008-11-01-SRemDemandedBits.ll b/llvm/test/Transforms/InstCombine/2008-11-01-SRemDemandedBits.ll index 679cc5f73d77..dd760061d577 100644 --- a/llvm/test/Transforms/InstCombine/2008-11-01-SRemDemandedBits.ll +++ b/llvm/test/Transforms/InstCombine/2008-11-01-SRemDemandedBits.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "ret i1 true" +; RUN: opt < %s -passes=instcombine -S | grep "ret i1 true" ; PR2993 define i1 @foo(i32 %x) { diff --git a/llvm/test/Transforms/InstCombine/2008-11-08-FCmp.ll b/llvm/test/Transforms/InstCombine/2008-11-08-FCmp.ll index f1af7ce2fb12..fe3071bf0c01 100644 --- a/llvm/test/Transforms/InstCombine/2008-11-08-FCmp.ll +++ b/llvm/test/Transforms/InstCombine/2008-11-08-FCmp.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; PR3021 ; When inst combining an FCMP with the LHS coming from a uitofp instruction, we diff --git a/llvm/test/Transforms/InstCombine/2008-11-27-IDivVector.ll b/llvm/test/Transforms/InstCombine/2008-11-27-IDivVector.ll index 318a80cbc2a4..0ed52a29c1dc 100644 --- a/llvm/test/Transforms/InstCombine/2008-11-27-IDivVector.ll +++ b/llvm/test/Transforms/InstCombine/2008-11-27-IDivVector.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | not grep div +; RUN: opt < %s -passes=instcombine -S | not grep div define <2 x i8> @f(<2 x i8> %x) { %A = udiv <2 x i8> %x, diff --git a/llvm/test/Transforms/InstCombine/2008-11-27-MultiplyIntVec.ll b/llvm/test/Transforms/InstCombine/2008-11-27-MultiplyIntVec.ll index d8c53fac49e0..b65ec0472aba 100644 --- a/llvm/test/Transforms/InstCombine/2008-11-27-MultiplyIntVec.ll +++ b/llvm/test/Transforms/InstCombine/2008-11-27-MultiplyIntVec.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | not grep mul +; RUN: opt < %s -passes=instcombine -S | not grep mul define <2 x i8> @f(<2 x i8> %x) { %A = mul <2 x i8> %x, diff --git a/llvm/test/Transforms/InstCombine/2008-12-17-SRemNegConstVec.ll b/llvm/test/Transforms/InstCombine/2008-12-17-SRemNegConstVec.ll index cc8737dbd03c..f1f881b8a1bb 100644 --- a/llvm/test/Transforms/InstCombine/2008-12-17-SRemNegConstVec.ll +++ b/llvm/test/Transforms/InstCombine/2008-12-17-SRemNegConstVec.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; PR2756 define <2 x i8> @foo(<2 x i8> %x) { diff --git a/llvm/test/Transforms/InstCombine/2009-01-05-i128-crash.ll b/llvm/test/Transforms/InstCombine/2009-01-05-i128-crash.ll index d355e0aff8a7..c3a4c70077cd 100644 --- a/llvm/test/Transforms/InstCombine/2009-01-05-i128-crash.ll +++ b/llvm/test/Transforms/InstCombine/2009-01-05-i128-crash.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine | llvm-dis +; RUN: opt < %s -passes=instcombine | llvm-dis ; PR3235 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" diff --git a/llvm/test/Transforms/InstCombine/2009-01-08-AlignAlloca.ll b/llvm/test/Transforms/InstCombine/2009-01-08-AlignAlloca.ll index 3c1c04a3f8fd..939cbf38dae7 100644 --- a/llvm/test/Transforms/InstCombine/2009-01-08-AlignAlloca.ll +++ b/llvm/test/Transforms/InstCombine/2009-01-08-AlignAlloca.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; rdar://6480438 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:128:128" diff --git a/llvm/test/Transforms/InstCombine/2009-01-16-PointerAddrSpace.ll b/llvm/test/Transforms/InstCombine/2009-01-16-PointerAddrSpace.ll index e3543116a666..0f3e3ac1027d 100644 --- a/llvm/test/Transforms/InstCombine/2009-01-16-PointerAddrSpace.ll +++ b/llvm/test/Transforms/InstCombine/2009-01-16-PointerAddrSpace.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "store.*addrspace(1)" +; RUN: opt < %s -passes=instcombine -S | grep "store.*addrspace(1)" ; PR3335 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:128:128" target triple = "i386-apple-darwin9.6" diff --git a/llvm/test/Transforms/InstCombine/2009-01-24-EmptyStruct.ll b/llvm/test/Transforms/InstCombine/2009-01-24-EmptyStruct.ll index 3f3535b363d7..ecce1505cdc8 100644 --- a/llvm/test/Transforms/InstCombine/2009-01-24-EmptyStruct.ll +++ b/llvm/test/Transforms/InstCombine/2009-01-24-EmptyStruct.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine +; RUN: opt < %s -passes=instcombine ; PR3381 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" diff --git a/llvm/test/Transforms/InstCombine/2009-01-31-InfIterate.ll b/llvm/test/Transforms/InstCombine/2009-01-31-InfIterate.ll index 815c1a91936a..a38714027022 100644 --- a/llvm/test/Transforms/InstCombine/2009-01-31-InfIterate.ll +++ b/llvm/test/Transforms/InstCombine/2009-01-31-InfIterate.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine | llvm-dis +; RUN: opt < %s -passes=instcombine | llvm-dis ; PR3452 define i128 @test(i64 %A, i64 %B, i1 %C, i128 %Z, i128 %Y, i64* %P, i64* %Q) { entry: diff --git a/llvm/test/Transforms/InstCombine/2009-02-04-FPBitcast.ll b/llvm/test/Transforms/InstCombine/2009-02-04-FPBitcast.ll index bc6a2045fa0c..38e5f2f909ad 100644 --- a/llvm/test/Transforms/InstCombine/2009-02-04-FPBitcast.ll +++ b/llvm/test/Transforms/InstCombine/2009-02-04-FPBitcast.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine +; RUN: opt < %s -passes=instcombine ; PR3468 define x86_fp80 @cast() { diff --git a/llvm/test/Transforms/InstCombine/2009-02-21-LoadCST.ll b/llvm/test/Transforms/InstCombine/2009-02-21-LoadCST.ll index 90ec6d540e9c..5e2ac42b4d7d 100644 --- a/llvm/test/Transforms/InstCombine/2009-02-21-LoadCST.ll +++ b/llvm/test/Transforms/InstCombine/2009-02-21-LoadCST.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "ret i32 3679669" +; RUN: opt < %s -passes=instcombine -S | grep "ret i32 3679669" ; PR3595 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" diff --git a/llvm/test/Transforms/InstCombine/2009-02-25-CrashZeroSizeArray.ll b/llvm/test/Transforms/InstCombine/2009-02-25-CrashZeroSizeArray.ll index ef1734ba7d17..78b8344ff320 100644 --- a/llvm/test/Transforms/InstCombine/2009-02-25-CrashZeroSizeArray.ll +++ b/llvm/test/Transforms/InstCombine/2009-02-25-CrashZeroSizeArray.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine | llvm-dis +; RUN: opt < %s -passes=instcombine | llvm-dis ; PR3667 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" target triple = "i386-pc-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/2009-03-18-vector-ashr-crash.ll b/llvm/test/Transforms/InstCombine/2009-03-18-vector-ashr-crash.ll index 3847abd30c80..3cf9c48dfe2b 100644 --- a/llvm/test/Transforms/InstCombine/2009-03-18-vector-ashr-crash.ll +++ b/llvm/test/Transforms/InstCombine/2009-03-18-vector-ashr-crash.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine | llvm-dis +; RUN: opt < %s -passes=instcombine | llvm-dis ; PR3826 define void @0(<4 x i16>*, <4 x i16>*) { diff --git a/llvm/test/Transforms/InstCombine/2009-03-24-InfLoop.ll b/llvm/test/Transforms/InstCombine/2009-03-24-InfLoop.ll index 4ce04a1eb542..7766a0f60641 100644 --- a/llvm/test/Transforms/InstCombine/2009-03-24-InfLoop.ll +++ b/llvm/test/Transforms/InstCombine/2009-03-24-InfLoop.ll @@ -1,5 +1,5 @@ ; PR3874 -; RUN: opt < %s -instcombine | llvm-dis +; RUN: opt < %s -passes=instcombine | llvm-dis define i1 @test(i32 %x) { %A = lshr i32 3968, %x %B = and i32 %A, 1 diff --git a/llvm/test/Transforms/InstCombine/2009-04-07-MulPromoteToI96.ll b/llvm/test/Transforms/InstCombine/2009-04-07-MulPromoteToI96.ll index b79edf66b261..05f3461bf51c 100644 --- a/llvm/test/Transforms/InstCombine/2009-04-07-MulPromoteToI96.ll +++ b/llvm/test/Transforms/InstCombine/2009-04-07-MulPromoteToI96.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "mul i64" +; RUN: opt < %s -passes=instcombine -S | grep "mul i64" ; rdar://6762288 ; Instcombine should not promote the mul to i96 because it is definitely diff --git a/llvm/test/Transforms/InstCombine/2009-05-23-FCmpToICmp.ll b/llvm/test/Transforms/InstCombine/2009-05-23-FCmpToICmp.ll index ced317c4d43f..b0d5ec54eeb6 100644 --- a/llvm/test/Transforms/InstCombine/2009-05-23-FCmpToICmp.ll +++ b/llvm/test/Transforms/InstCombine/2009-05-23-FCmpToICmp.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | not grep cmp +; RUN: opt < %s -passes=instcombine -S | not grep cmp ; rdar://6903175 define i1 @f0(i32 *%a) nounwind { diff --git a/llvm/test/Transforms/InstCombine/2009-06-11-StoreAddrSpace.ll b/llvm/test/Transforms/InstCombine/2009-06-11-StoreAddrSpace.ll index 468c1cd8bbc4..61191f9ae352 100644 --- a/llvm/test/Transforms/InstCombine/2009-06-11-StoreAddrSpace.ll +++ b/llvm/test/Transforms/InstCombine/2009-06-11-StoreAddrSpace.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "store i32 0," +; RUN: opt < %s -passes=instcombine -S | grep "store i32 0," ; PR4366 define void @a() { diff --git a/llvm/test/Transforms/InstCombine/2009-06-16-SRemDemandedBits.ll b/llvm/test/Transforms/InstCombine/2009-06-16-SRemDemandedBits.ll index 8730b4e08e60..845e6c1749b6 100644 --- a/llvm/test/Transforms/InstCombine/2009-06-16-SRemDemandedBits.ll +++ b/llvm/test/Transforms/InstCombine/2009-06-16-SRemDemandedBits.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; PR3439 define i32 @a(i32 %x) nounwind { diff --git a/llvm/test/Transforms/InstCombine/2009-07-02-MaskedIntVector.ll b/llvm/test/Transforms/InstCombine/2009-07-02-MaskedIntVector.ll index 41940fe885e5..86e8ab316b73 100644 --- a/llvm/test/Transforms/InstCombine/2009-07-02-MaskedIntVector.ll +++ b/llvm/test/Transforms/InstCombine/2009-07-02-MaskedIntVector.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine | llvm-dis +; RUN: opt < %s -passes=instcombine | llvm-dis ; PR4495 define i32 @test(i64 %test) { diff --git a/llvm/test/Transforms/InstCombine/2009-12-17-CmpSelectNull.ll b/llvm/test/Transforms/InstCombine/2009-12-17-CmpSelectNull.ll index c438ca5fd172..e54908616698 100644 --- a/llvm/test/Transforms/InstCombine/2009-12-17-CmpSelectNull.ll +++ b/llvm/test/Transforms/InstCombine/2009-12-17-CmpSelectNull.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s @.str254 = internal constant [2 x i8] c".\00" @.str557 = internal constant [3 x i8] c"::\00" diff --git a/llvm/test/Transforms/InstCombine/2010-01-28-NegativeSRem.ll b/llvm/test/Transforms/InstCombine/2010-01-28-NegativeSRem.ll index 077419027c1b..949a5057efc9 100644 --- a/llvm/test/Transforms/InstCombine/2010-01-28-NegativeSRem.ll +++ b/llvm/test/Transforms/InstCombine/2010-01-28-NegativeSRem.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; PR6165 define i32 @f() { diff --git a/llvm/test/Transforms/InstCombine/2010-03-03-ExtElim.ll b/llvm/test/Transforms/InstCombine/2010-03-03-ExtElim.ll index da9d0469e5e2..e802cf62c6d1 100644 --- a/llvm/test/Transforms/InstCombine/2010-03-03-ExtElim.ll +++ b/llvm/test/Transforms/InstCombine/2010-03-03-ExtElim.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %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" diff --git a/llvm/test/Transforms/InstCombine/2010-05-30-memcpy-Struct.ll b/llvm/test/Transforms/InstCombine/2010-05-30-memcpy-Struct.ll index e8aa86bdacb5..8e930973a9e4 100644 --- a/llvm/test/Transforms/InstCombine/2010-05-30-memcpy-Struct.ll +++ b/llvm/test/Transforms/InstCombine/2010-05-30-memcpy-Struct.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; PR7265 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" diff --git a/llvm/test/Transforms/InstCombine/2010-11-21-SizeZeroTypeGEP.ll b/llvm/test/Transforms/InstCombine/2010-11-21-SizeZeroTypeGEP.ll index 798c726e566f..c3a078a9bfde 100644 --- a/llvm/test/Transforms/InstCombine/2010-11-21-SizeZeroTypeGEP.ll +++ b/llvm/test/Transforms/InstCombine/2010-11-21-SizeZeroTypeGEP.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" diff --git a/llvm/test/Transforms/InstCombine/2010-11-23-Distributed.ll b/llvm/test/Transforms/InstCombine/2010-11-23-Distributed.ll index 3b26ba73ac31..bfd3b07f2d0e 100644 --- a/llvm/test/Transforms/InstCombine/2010-11-23-Distributed.ll +++ b/llvm/test/Transforms/InstCombine/2010-11-23-Distributed.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @foo(i32 %x, i32 %y) { ; CHECK-LABEL: @foo( diff --git a/llvm/test/Transforms/InstCombine/2011-02-14-InfLoop.ll b/llvm/test/Transforms/InstCombine/2011-02-14-InfLoop.ll index 6d8a7ddbe46f..7faf952e9eb1 100644 --- a/llvm/test/Transforms/InstCombine/2011-02-14-InfLoop.ll +++ b/llvm/test/Transforms/InstCombine/2011-02-14-InfLoop.ll @@ -1,7 +1,7 @@ ; This testcase causes an infinite loop in the instruction combiner, ; because it changes a pattern and the original pattern is almost ; identical to the newly-generated pattern. -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output ;PR PR9216 diff --git a/llvm/test/Transforms/InstCombine/2011-03-08-SRemMinusOneBadOpt.ll b/llvm/test/Transforms/InstCombine/2011-03-08-SRemMinusOneBadOpt.ll index 6a3e3e40e6d4..f87cd83e8d03 100644 --- a/llvm/test/Transforms/InstCombine/2011-03-08-SRemMinusOneBadOpt.ll +++ b/llvm/test/Transforms/InstCombine/2011-03-08-SRemMinusOneBadOpt.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; PR9346 define i32 @test(i64 %x) nounwind { diff --git a/llvm/test/Transforms/InstCombine/2011-05-02-VectorBoolean.ll b/llvm/test/Transforms/InstCombine/2011-05-02-VectorBoolean.ll index 116c9713d893..3bca0de3bc3e 100644 --- a/llvm/test/Transforms/InstCombine/2011-05-02-VectorBoolean.ll +++ b/llvm/test/Transforms/InstCombine/2011-05-02-VectorBoolean.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine +; RUN: opt < %s -passes=instcombine ; PR9579 define <2 x i16> @entry(<2 x i16> %a) nounwind { diff --git a/llvm/test/Transforms/InstCombine/2011-05-13-InBoundsGEP.ll b/llvm/test/Transforms/InstCombine/2011-05-13-InBoundsGEP.ll index 69568705cfd5..29e5fb27a4b9 100644 --- a/llvm/test/Transforms/InstCombine/2011-05-13-InBoundsGEP.ll +++ b/llvm/test/Transforms/InstCombine/2011-05-13-InBoundsGEP.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -S -instcombine | FileCheck %s +; RUN: opt < %s -S -passes=instcombine | FileCheck %s ; rdar://problem/9267970 ; ideally this test will run on a 32-bit host ; must not discard GEPs that might overflow at runtime (aren't inbounds) diff --git a/llvm/test/Transforms/InstCombine/2011-05-28-swapmulsub.ll b/llvm/test/Transforms/InstCombine/2011-05-28-swapmulsub.ll index a746ccdc48c7..a9b7de5e7b88 100644 --- a/llvm/test/Transforms/InstCombine/2011-05-28-swapmulsub.ll +++ b/llvm/test/Transforms/InstCombine/2011-05-28-swapmulsub.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s target triple = "x86_64-apple-macosx10.6.6" diff --git a/llvm/test/Transforms/InstCombine/2011-06-13-nsw-alloca.ll b/llvm/test/Transforms/InstCombine/2011-06-13-nsw-alloca.ll index 15c11db37f59..dd0d83705abe 100644 --- a/llvm/test/Transforms/InstCombine/2011-06-13-nsw-alloca.ll +++ b/llvm/test/Transforms/InstCombine/2011-06-13-nsw-alloca.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %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:128:128-n8:16:32" target triple = "i386-apple-darwin10.0.0" diff --git a/llvm/test/Transforms/InstCombine/2011-09-03-Trampoline.ll b/llvm/test/Transforms/InstCombine/2011-09-03-Trampoline.ll index 5765d3185305..0292fa78139c 100644 --- a/llvm/test/Transforms/InstCombine/2011-09-03-Trampoline.ll +++ b/llvm/test/Transforms/InstCombine/2011-09-03-Trampoline.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s declare void @llvm.init.trampoline(i8*, i8*, i8*) declare i8* @llvm.adjust.trampoline(i8*) diff --git a/llvm/test/Transforms/InstCombine/2011-10-07-AlignPromotion.ll b/llvm/test/Transforms/InstCombine/2011-10-07-AlignPromotion.ll index 122669ec04a7..79edcf1c2f67 100644 --- a/llvm/test/Transforms/InstCombine/2011-10-07-AlignPromotion.ll +++ b/llvm/test/Transforms/InstCombine/2011-10-07-AlignPromotion.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; rdar://problem/10063307 target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:32:64-v128:32:128-a0:0:32-n32-S32" target triple = "thumbv7-apple-ios5.0.0" diff --git a/llvm/test/Transforms/InstCombine/2012-01-11-OpaqueBitcastCrash.ll b/llvm/test/Transforms/InstCombine/2012-01-11-OpaqueBitcastCrash.ll index abab9dc57029..515d26dac8ba 100644 --- a/llvm/test/Transforms/InstCombine/2012-01-11-OpaqueBitcastCrash.ll +++ b/llvm/test/Transforms/InstCombine/2012-01-11-OpaqueBitcastCrash.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output %opaque_struct = type opaque diff --git a/llvm/test/Transforms/InstCombine/2012-02-13-FCmp.ll b/llvm/test/Transforms/InstCombine/2012-02-13-FCmp.ll index 586f86de3c29..d839e19129e1 100644 --- a/llvm/test/Transforms/InstCombine/2012-02-13-FCmp.ll +++ b/llvm/test/Transforms/InstCombine/2012-02-13-FCmp.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; Radar 10803727 @.str = private unnamed_addr constant [35 x i8] c"\0Ain_range input (should be 0): %f\0A\00", align 1 @.str1 = external hidden unnamed_addr constant [35 x i8], align 1 diff --git a/llvm/test/Transforms/InstCombine/2012-02-28-ICmp.ll b/llvm/test/Transforms/InstCombine/2012-02-28-ICmp.ll index 85792304c50d..a112fb9aae39 100644 --- a/llvm/test/Transforms/InstCombine/2012-02-28-ICmp.ll +++ b/llvm/test/Transforms/InstCombine/2012-02-28-ICmp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; diff --git a/llvm/test/Transforms/InstCombine/2012-03-10-InstCombine.ll b/llvm/test/Transforms/InstCombine/2012-03-10-InstCombine.ll index 2574d52c5ce0..de2ed86d480b 100644 --- a/llvm/test/Transforms/InstCombine/2012-03-10-InstCombine.ll +++ b/llvm/test/Transforms/InstCombine/2012-03-10-InstCombine.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -S -instcombine | FileCheck %s +; RUN: opt < %s -S -passes=instcombine | FileCheck %s ; Derived from gcc.c-torture/execute/frame-address.c diff --git a/llvm/test/Transforms/InstCombine/2012-04-24-vselect.ll b/llvm/test/Transforms/InstCombine/2012-04-24-vselect.ll index 211d401a3bca..1fab1ea7cc63 100644 --- a/llvm/test/Transforms/InstCombine/2012-04-24-vselect.ll +++ b/llvm/test/Transforms/InstCombine/2012-04-24-vselect.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; CHECK-LABEL: @foo( ; CHECK: diff --git a/llvm/test/Transforms/InstCombine/2012-04-30-SRem.ll b/llvm/test/Transforms/InstCombine/2012-04-30-SRem.ll index a285d5aea5e5..b885f58b17c7 100644 --- a/llvm/test/Transforms/InstCombine/2012-04-30-SRem.ll +++ b/llvm/test/Transforms/InstCombine/2012-04-30-SRem.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; PR12541 define i32 @foo(i32 %x) { diff --git a/llvm/test/Transforms/InstCombine/2012-05-28-select-hang.ll b/llvm/test/Transforms/InstCombine/2012-05-28-select-hang.ll index c514dd1f5ec7..7828778b8901 100644 --- a/llvm/test/Transforms/InstCombine/2012-05-28-select-hang.ll +++ b/llvm/test/Transforms/InstCombine/2012-05-28-select-hang.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s @c = common global i8 0, align 1 @a = common global i8 0, align 1 diff --git a/llvm/test/Transforms/InstCombine/2012-06-06-LoadOfPHIs.ll b/llvm/test/Transforms/InstCombine/2012-06-06-LoadOfPHIs.ll index 4af1ca842c59..76b60d4409b4 100644 --- a/llvm/test/Transforms/InstCombine/2012-06-06-LoadOfPHIs.ll +++ b/llvm/test/Transforms/InstCombine/2012-06-06-LoadOfPHIs.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; define void @func(double %r, double %g, double %b, double* %outH, double* %outS, double* %outL) nounwind uwtable ssp { diff --git a/llvm/test/Transforms/InstCombine/2012-07-25-LoadPart.ll b/llvm/test/Transforms/InstCombine/2012-07-25-LoadPart.ll index 71255ebbf81f..338bed0438db 100644 --- a/llvm/test/Transforms/InstCombine/2012-07-25-LoadPart.ll +++ b/llvm/test/Transforms/InstCombine/2012-07-25-LoadPart.ll @@ -1,5 +1,5 @@ -; RUN: opt < %s -data-layout="e-p:32:32:32" -instcombine -S | FileCheck %s --check-prefix=LE -; RUN: opt < %s -data-layout="E-p:32:32:32" -instcombine -S | FileCheck %s --check-prefix=BE +; RUN: opt < %s -data-layout="e-p:32:32:32" -passes=instcombine -S | FileCheck %s --check-prefix=LE +; RUN: opt < %s -data-layout="E-p:32:32:32" -passes=instcombine -S | FileCheck %s --check-prefix=BE ; PR13442 @test = constant [4 x i32] [i32 1, i32 2, i32 3, i32 4] diff --git a/llvm/test/Transforms/InstCombine/2012-07-30-addrsp-bitcast.ll b/llvm/test/Transforms/InstCombine/2012-07-30-addrsp-bitcast.ll index 666538067884..e911507a5164 100644 --- a/llvm/test/Transforms/InstCombine/2012-07-30-addrsp-bitcast.ll +++ b/llvm/test/Transforms/InstCombine/2012-07-30-addrsp-bitcast.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; CHECK: addrspacecast @base = internal unnamed_addr addrspace(3) global [16 x i32] zeroinitializer, align 16 diff --git a/llvm/test/Transforms/InstCombine/2012-08-28-udiv_ashl.ll b/llvm/test/Transforms/InstCombine/2012-08-28-udiv_ashl.ll index 0374bd52afd4..e04ed2a46435 100644 --- a/llvm/test/Transforms/InstCombine/2012-08-28-udiv_ashl.ll +++ b/llvm/test/Transforms/InstCombine/2012-08-28-udiv_ashl.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; rdar://12182093 diff --git a/llvm/test/Transforms/InstCombine/2012-09-17-ZeroSizedAlloca.ll b/llvm/test/Transforms/InstCombine/2012-09-17-ZeroSizedAlloca.ll index 369228c15aab..08f79a2350c2 100644 --- a/llvm/test/Transforms/InstCombine/2012-09-17-ZeroSizedAlloca.ll +++ b/llvm/test/Transforms/InstCombine/2012-09-17-ZeroSizedAlloca.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; When merging zero sized alloca check that requested alignments of the allocas ; are obeyed. diff --git a/llvm/test/Transforms/InstCombine/2012-10-25-vector-of-pointers.ll b/llvm/test/Transforms/InstCombine/2012-10-25-vector-of-pointers.ll index 23210650e2f3..5c4d4a6340ab 100644 --- a/llvm/test/Transforms/InstCombine/2012-10-25-vector-of-pointers.ll +++ b/llvm/test/Transforms/InstCombine/2012-10-25-vector-of-pointers.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S +; RUN: opt < %s -passes=instcombine -S ; Make sure that we don't crash when optimizing the vectors of pointers. diff --git a/llvm/test/Transforms/InstCombine/2012-12-14-simp-vgep.ll b/llvm/test/Transforms/InstCombine/2012-12-14-simp-vgep.ll index 46702f80c0cc..12b000bab6ab 100644 --- a/llvm/test/Transforms/InstCombine/2012-12-14-simp-vgep.ll +++ b/llvm/test/Transforms/InstCombine/2012-12-14-simp-vgep.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/2012-3-15-or-xor-constant.ll b/llvm/test/Transforms/InstCombine/2012-3-15-or-xor-constant.ll index 466629cb5fd6..c9542aa9c76a 100644 --- a/llvm/test/Transforms/InstCombine/2012-3-15-or-xor-constant.ll +++ b/llvm/test/Transforms/InstCombine/2012-3-15-or-xor-constant.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; PR12234 @g = extern_weak global i32 diff --git a/llvm/test/Transforms/InstCombine/2012-6-7-vselect-bitcast.ll b/llvm/test/Transforms/InstCombine/2012-6-7-vselect-bitcast.ll index cb527f864068..e8b1435e3db4 100644 --- a/llvm/test/Transforms/InstCombine/2012-6-7-vselect-bitcast.ll +++ b/llvm/test/Transforms/InstCombine/2012-6-7-vselect-bitcast.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; CHECK: bitcast define void @foo(<16 x i8> %a, <16 x i8> %b, <4 x i32>* %c) { diff --git a/llvm/test/Transforms/InstCombine/2013-03-05-Combine-BitcastTy-Into-Alloca.ll b/llvm/test/Transforms/InstCombine/2013-03-05-Combine-BitcastTy-Into-Alloca.ll index 9425c29a427d..9c6d29d838b5 100644 --- a/llvm/test/Transforms/InstCombine/2013-03-05-Combine-BitcastTy-Into-Alloca.ll +++ b/llvm/test/Transforms/InstCombine/2013-03-05-Combine-BitcastTy-Into-Alloca.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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.9.0" diff --git a/llvm/test/Transforms/InstCombine/AArch64/2012-04-23-Neon-Intrinsics.ll b/llvm/test/Transforms/InstCombine/AArch64/2012-04-23-Neon-Intrinsics.ll index 392865f1ea02..91f230f6ae28 100644 --- a/llvm/test/Transforms/InstCombine/AArch64/2012-04-23-Neon-Intrinsics.ll +++ b/llvm/test/Transforms/InstCombine/AArch64/2012-04-23-Neon-Intrinsics.ll @@ -1,4 +1,4 @@ -; RUN: opt --mtriple=aarch64-unknown-linux -S -instcombine < %s | FileCheck %s +; RUN: opt --mtriple=aarch64-unknown-linux -S -passes=instcombine < %s | FileCheck %s ; ARM64 neon intrinsic variants - define <4 x i32> @mulByZeroARM64(<4 x i16> %x) nounwind readnone ssp { diff --git a/llvm/test/Transforms/InstCombine/AArch64/VectorUtils_heuristics.ll b/llvm/test/Transforms/InstCombine/AArch64/VectorUtils_heuristics.ll index b3a166d10b69..5ea50e36236e 100644 --- a/llvm/test/Transforms/InstCombine/AArch64/VectorUtils_heuristics.ll +++ b/llvm/test/Transforms/InstCombine/AArch64/VectorUtils_heuristics.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128" target triple = "aarch64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/AArch64/aes-intrinsics.ll b/llvm/test/Transforms/InstCombine/AArch64/aes-intrinsics.ll index c38385907be9..48abdee3401c 100644 --- a/llvm/test/Transforms/InstCombine/AArch64/aes-intrinsics.ll +++ b/llvm/test/Transforms/InstCombine/AArch64/aes-intrinsics.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; ARM64 AES intrinsic variants define <16 x i8> @combineXorAeseZeroARM64(<16 x i8> %data, <16 x i8> %key) { diff --git a/llvm/test/Transforms/InstCombine/AArch64/demandelts.ll b/llvm/test/Transforms/InstCombine/AArch64/demandelts.ll index c264f24eb8ce..3edde213c0c0 100644 --- a/llvm/test/Transforms/InstCombine/AArch64/demandelts.ll +++ b/llvm/test/Transforms/InstCombine/AArch64/demandelts.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine -mtriple aarch64-none-eabi < %s | FileCheck %s +; RUN: opt -S -passes=instcombine -mtriple aarch64-none-eabi < %s | FileCheck %s define <2 x float> @fcvtxn(<2 x double> %d1) { ; CHECK-LABEL: @fcvtxn( diff --git a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-fma-binops.ll b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-fma-binops.ll index cac17e6f7403..b2d5668f0b7b 100644 --- a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-fma-binops.ll +++ b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-fma-binops.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s target triple = "aarch64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-fmul-idempotency.ll b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-fmul-idempotency.ll index 77c76ea3671a..ed3ca6700854 100644 --- a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-fmul-idempotency.ll +++ b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-fmul-idempotency.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s target triple = "aarch64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-loadstore.ll b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-loadstore.ll index 93401e7b5513..c035ea04a1f4 100644 --- a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-loadstore.ll +++ b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-loadstore.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s target triple = "aarch64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-mul-idempotency.ll b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-mul-idempotency.ll index e6acd3676c16..a4cfb06d98aa 100644 --- a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-mul-idempotency.ll +++ b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-mul-idempotency.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s target triple = "aarch64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-muladd.ll b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-muladd.ll index 56219c2d9a9b..026080b57633 100644 --- a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-muladd.ll +++ b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-muladd.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s target triple = "aarch64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-cmpne.ll b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-cmpne.ll index a54683943a53..7f0b11704e3b 100644 --- a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-cmpne.ll +++ b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-cmpne.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s target triple = "aarch64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-counting-elems.ll b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-counting-elems.ll index e5e9fcbc312f..4e7e9eeb7250 100644 --- a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-counting-elems.ll +++ b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-counting-elems.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s target triple = "aarch64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-dup.ll b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-dup.ll index d09b3785d216..41e7afcd110c 100644 --- a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-dup.ll +++ b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-dup.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s target triple = "aarch64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-lasta-lastb.ll b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-lasta-lastb.ll index 5db1a7de5e13..dbf822ba5b6b 100644 --- a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-lasta-lastb.ll +++ b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-lasta-lastb.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck --check-prefix OPT %s +; RUN: opt -passes=instcombine -S < %s | FileCheck --check-prefix OPT %s target triple = "aarch64" diff --git a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-reinterpret.ll b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-reinterpret.ll index 0b58da6c0ef7..07487925a7af 100644 --- a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-reinterpret.ll +++ b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-reinterpret.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s target triple = "aarch64" diff --git a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-tuple-get.ll b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-tuple-get.ll index de1c6b56c788..5d8700bab19b 100644 --- a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-tuple-get.ll +++ b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-tuple-get.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s target triple = "aarch64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-unpkhi-unpklo.ll b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-unpkhi-unpklo.ll index daed5b8a3bca..b745c7cfc17b 100644 --- a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-unpkhi-unpklo.ll +++ b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-unpkhi-unpklo.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s target triple = "aarch64" diff --git a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-zip.ll b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-zip.ll index d0e0225001f5..5ed2d2086fcf 100644 --- a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-zip.ll +++ b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-zip.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s target triple = "aarch64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-sdiv.ll b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-sdiv.ll index 54541dae9115..6d91fd6bb850 100644 --- a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-sdiv.ll +++ b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-sdiv.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s target triple = "aarch64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-tbl-dupx.ll b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-tbl-dupx.ll index 594ea4aaac46..b4d62274c8f0 100644 --- a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-tbl-dupx.ll +++ b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-tbl-dupx.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s target triple = "aarch64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-to-svbool-binops.ll b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-to-svbool-binops.ll index 29a5f777728c..ecedbdb3522d 100644 --- a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-to-svbool-binops.ll +++ b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-to-svbool-binops.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s target triple = "aarch64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsics-ptest.ll b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsics-ptest.ll index 7ae35d37a39e..18e334fe7f0f 100644 --- a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsics-ptest.ll +++ b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsics-ptest.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s target triple = "aarch64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsics-rdffr-predication.ll b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsics-rdffr-predication.ll index 4360d99bd03c..155102db52b5 100644 --- a/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsics-rdffr-predication.ll +++ b/llvm/test/Transforms/InstCombine/AArch64/sve-intrinsics-rdffr-predication.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s target triple = "aarch64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/AArch64/tbl1.ll b/llvm/test/Transforms/InstCombine/AArch64/tbl1.ll index 42a346bc7e67..61389cd640a8 100644 --- a/llvm/test/Transforms/InstCombine/AArch64/tbl1.ll +++ b/llvm/test/Transforms/InstCombine/AArch64/tbl1.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128" target triple = "aarch64-arm-none-eabi" diff --git a/llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts-inseltpoison.ll b/llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts-inseltpoison.ll index 2acc69f0895b..3bec481054b9 100644 --- a/llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine -mtriple=amdgcn-amd-amdhsa %s | FileCheck %s +; RUN: opt -S -passes=instcombine -mtriple=amdgcn-amd-amdhsa %s | FileCheck %s ; -------------------------------------------------------------------- ; llvm.amdgcn.buffer.load diff --git a/llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts.ll b/llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts.ll index ae8e9a9a064d..ddf3bc9423e3 100644 --- a/llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts.ll +++ b/llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine -mtriple=amdgcn-amd-amdhsa %s | FileCheck %s +; RUN: opt -S -passes=instcombine -mtriple=amdgcn-amd-amdhsa %s | FileCheck %s ; -------------------------------------------------------------------- ; llvm.amdgcn.buffer.load diff --git a/llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics-gfx8.ll b/llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics-gfx8.ll index e7d0aedd2448..01803097c7a8 100644 --- a/llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics-gfx8.ll +++ b/llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics-gfx8.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -mtriple=amdgcn-amd-amdhsa -mcpu=fiji -instcombine -S < %s | FileCheck %s +; RUN: opt -mtriple=amdgcn-amd-amdhsa -mcpu=fiji -passes=instcombine -S < %s | FileCheck %s ; -------------------------------------------------------------------- ; llvm.amdgcn.image.sample a16 is disabled on pre-gfx9 diff --git a/llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll b/llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll index 894e0ef86064..91f7a8cae743 100644 --- a/llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll +++ b/llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1010 -instcombine -S < %s | FileCheck %s +; RUN: opt -mtriple=amdgcn-amd-amdhsa -mcpu=gfx1010 -passes=instcombine -S < %s | FileCheck %s ; -------------------------------------------------------------------- ; llvm.amdgcn.rcp diff --git a/llvm/test/Transforms/InstCombine/AMDGPU/fma_legacy.ll b/llvm/test/Transforms/InstCombine/AMDGPU/fma_legacy.ll index 2a740da875ea..89979bcedf81 100644 --- a/llvm/test/Transforms/InstCombine/AMDGPU/fma_legacy.ll +++ b/llvm/test/Transforms/InstCombine/AMDGPU/fma_legacy.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -mtriple=amdgcn-amd-amdhsa -instcombine -S | FileCheck %s +; RUN: opt < %s -mtriple=amdgcn-amd-amdhsa -passes=instcombine -S | FileCheck %s ; Simplify to +0.0 + z. define float @test_zero(float %x, float %z) { diff --git a/llvm/test/Transforms/InstCombine/AMDGPU/fmul_legacy.ll b/llvm/test/Transforms/InstCombine/AMDGPU/fmul_legacy.ll index 56839dbb7f29..439bedbe60dd 100644 --- a/llvm/test/Transforms/InstCombine/AMDGPU/fmul_legacy.ll +++ b/llvm/test/Transforms/InstCombine/AMDGPU/fmul_legacy.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -mtriple=amdgcn-amd-amdhsa -instcombine -S | FileCheck %s +; RUN: opt < %s -mtriple=amdgcn-amd-amdhsa -passes=instcombine -S | FileCheck %s ; Simplify to +0.0. define float @test_zero(float %x) { diff --git a/llvm/test/Transforms/InstCombine/AMDGPU/ldexp.ll b/llvm/test/Transforms/InstCombine/AMDGPU/ldexp.ll index dbcecb6538cc..1e97cfc45013 100644 --- a/llvm/test/Transforms/InstCombine/AMDGPU/ldexp.ll +++ b/llvm/test/Transforms/InstCombine/AMDGPU/ldexp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -mtriple=amdgcn-amd-amdhsa -instcombine -S | FileCheck %s +; RUN: opt < %s -mtriple=amdgcn-amd-amdhsa -passes=instcombine -S | FileCheck %s define float @ldexp_f32_undef_undef() { ; CHECK-LABEL: @ldexp_f32_undef_undef( diff --git a/llvm/test/Transforms/InstCombine/AMDGPU/tan.ll b/llvm/test/Transforms/InstCombine/AMDGPU/tan.ll index 4c3a9f1fb791..62160a6d3063 100644 --- a/llvm/test/Transforms/InstCombine/AMDGPU/tan.ll +++ b/llvm/test/Transforms/InstCombine/AMDGPU/tan.ll @@ -1,4 +1,4 @@ -; RUN: opt -mtriple=amdgcn--amdpal -S -instcombine <%s | FileCheck --check-prefixes=GCN %s +; RUN: opt -mtriple=amdgcn--amdpal -S -passes=instcombine <%s | FileCheck --check-prefixes=GCN %s ; Check that sin/cos is not folded to tan on amdgcn. diff --git a/llvm/test/Transforms/InstCombine/ARM/2012-04-23-Neon-Intrinsics.ll b/llvm/test/Transforms/InstCombine/ARM/2012-04-23-Neon-Intrinsics.ll index 9efed367d19f..81813aa5c878 100644 --- a/llvm/test/Transforms/InstCombine/ARM/2012-04-23-Neon-Intrinsics.ll +++ b/llvm/test/Transforms/InstCombine/ARM/2012-04-23-Neon-Intrinsics.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s define <4 x i32> @mulByZero(<4 x i16> %x) nounwind readnone ssp { entry: diff --git a/llvm/test/Transforms/InstCombine/ARM/aes-intrinsics.ll b/llvm/test/Transforms/InstCombine/ARM/aes-intrinsics.ll index 56eee5468010..0765ca809a66 100644 --- a/llvm/test/Transforms/InstCombine/ARM/aes-intrinsics.ll +++ b/llvm/test/Transforms/InstCombine/ARM/aes-intrinsics.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; ARM AES intrinsic variants define <16 x i8> @combineXorAeseZeroARM(<16 x i8> %data, <16 x i8> %key) { diff --git a/llvm/test/Transforms/InstCombine/ARM/constant-fold-hang.ll b/llvm/test/Transforms/InstCombine/ARM/constant-fold-hang.ll index 2ca6b86ccc2f..d7df7f0f0fe1 100644 --- a/llvm/test/Transforms/InstCombine/ARM/constant-fold-hang.ll +++ b/llvm/test/Transforms/InstCombine/ARM/constant-fold-hang.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine < %s +; RUN: opt -passes=instcombine < %s ; Function Attrs: nounwind readnone ssp define void @mulByZero(<4 x i16> %x) #0 { diff --git a/llvm/test/Transforms/InstCombine/ARM/mve-narrow.ll b/llvm/test/Transforms/InstCombine/ARM/mve-narrow.ll index 826874bea8b5..623e774ea2c3 100644 --- a/llvm/test/Transforms/InstCombine/ARM/mve-narrow.ll +++ b/llvm/test/Transforms/InstCombine/ARM/mve-narrow.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S -mtriple=thumbv8.1m.main-none-eabi -mattr=+mve.fp -o - %s | FileCheck %s +; RUN: opt -passes=instcombine -S -mtriple=thumbv8.1m.main-none-eabi -mattr=+mve.fp -o - %s | FileCheck %s target datalayout = "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64" diff --git a/llvm/test/Transforms/InstCombine/ARM/mve-v2i2v.ll b/llvm/test/Transforms/InstCombine/ARM/mve-v2i2v.ll index b47b1e7872d0..d0d17efd2305 100644 --- a/llvm/test/Transforms/InstCombine/ARM/mve-v2i2v.ll +++ b/llvm/test/Transforms/InstCombine/ARM/mve-v2i2v.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S -mtriple=arm -o - %s | FileCheck %s +; RUN: opt -passes=instcombine -S -mtriple=arm -o - %s | FileCheck %s target datalayout = "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64" diff --git a/llvm/test/Transforms/InstCombine/ARM/neon-intrinsics.ll b/llvm/test/Transforms/InstCombine/ARM/neon-intrinsics.ll index 564b45a432a1..489566ec5ac0 100644 --- a/llvm/test/Transforms/InstCombine/ARM/neon-intrinsics.ll +++ b/llvm/test/Transforms/InstCombine/ARM/neon-intrinsics.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -mtriple=arm -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=arm -S | FileCheck %s ; The alignment arguments for NEON load/store intrinsics can be increased ; by instcombine. Check for this. diff --git a/llvm/test/Transforms/InstCombine/ARM/strcmp.ll b/llvm/test/Transforms/InstCombine/ARM/strcmp.ll index 9cbe33b66001..1fbcf1aba0a3 100644 --- a/llvm/test/Transforms/InstCombine/ARM/strcmp.ll +++ b/llvm/test/Transforms/InstCombine/ARM/strcmp.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the strcmp library call simplifier works correctly. -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64" diff --git a/llvm/test/Transforms/InstCombine/ARM/strcpy.ll b/llvm/test/Transforms/InstCombine/ARM/strcpy.ll index 19021219b52f..2b2a68b6fef4 100644 --- a/llvm/test/Transforms/InstCombine/ARM/strcpy.ll +++ b/llvm/test/Transforms/InstCombine/ARM/strcpy.ll @@ -1,5 +1,5 @@ ; Test that the strcpy library call simplifier works correctly for ARM procedure calls -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; ; This transformation requires the pointer size, as it assumes that size_t is ; the size of a pointer. diff --git a/llvm/test/Transforms/InstCombine/ARM/tbl1.ll b/llvm/test/Transforms/InstCombine/ARM/tbl1.ll index ec4b842bb789..fbec1a2bb7a0 100644 --- a/llvm/test/Transforms/InstCombine/ARM/tbl1.ll +++ b/llvm/test/Transforms/InstCombine/ARM/tbl1.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64" target triple = "armv8-arm-none-eabi" diff --git a/llvm/test/Transforms/InstCombine/ARM/vld1.ll b/llvm/test/Transforms/InstCombine/ARM/vld1.ll index c87ee04f4205..05fff9c32360 100644 --- a/llvm/test/Transforms/InstCombine/ARM/vld1.ll +++ b/llvm/test/Transforms/InstCombine/ARM/vld1.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64" target triple = "armv8-arm-none-eabi" diff --git a/llvm/test/Transforms/InstCombine/ARM/vmldava.ll b/llvm/test/Transforms/InstCombine/ARM/vmldava.ll index eeb10de350cc..8760825f944e 100644 --- a/llvm/test/Transforms/InstCombine/ARM/vmldava.ll +++ b/llvm/test/Transforms/InstCombine/ARM/vmldava.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S -mtriple=arm -o - %s | FileCheck %s +; RUN: opt -passes=instcombine -S -mtriple=arm -o - %s | FileCheck %s target datalayout = "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64" diff --git a/llvm/test/Transforms/InstCombine/AddOverFlow.ll b/llvm/test/Transforms/InstCombine/AddOverFlow.ll index e34e516c8b3e..37c3a21f324a 100644 --- a/llvm/test/Transforms/InstCombine/AddOverFlow.ll +++ b/llvm/test/Transforms/InstCombine/AddOverFlow.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Transforms/InstCombine/CPP_min_max.ll b/llvm/test/Transforms/InstCombine/CPP_min_max.ll index cd65a4253de2..0e21ae450776 100644 --- a/llvm/test/Transforms/InstCombine/CPP_min_max.ll +++ b/llvm/test/Transforms/InstCombine/CPP_min_max.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; This testcase corresponds to PR362, which notices that this horrible code ; is generated by the C++ front-end and LLVM optimizers, which has lots of diff --git a/llvm/test/Transforms/InstCombine/ExtractCast.ll b/llvm/test/Transforms/InstCombine/ExtractCast.ll index 2492d2418d51..d5ad40f0caf8 100644 --- a/llvm/test/Transforms/InstCombine/ExtractCast.ll +++ b/llvm/test/Transforms/InstCombine/ExtractCast.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S -o - | FileCheck %s +; RUN: opt < %s -passes=instcombine -S -o - | FileCheck %s define i32 @a(<4 x i64> %I) { ; CHECK-LABEL: @a( diff --git a/llvm/test/Transforms/InstCombine/Hexagon/simplify-hvx-qvq.ll b/llvm/test/Transforms/InstCombine/Hexagon/simplify-hvx-qvq.ll index 9501f4d0b191..2729fee77ef4 100644 --- a/llvm/test/Transforms/InstCombine/Hexagon/simplify-hvx-qvq.ll +++ b/llvm/test/Transforms/InstCombine/Hexagon/simplify-hvx-qvq.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; Simplify the Q -> V -> Q sequence, i.e. (vandvrt (vandqrt q b) m) -> q ; when every byte in (b & m) is non-zero. diff --git a/llvm/test/Transforms/InstCombine/IntPtrCast.ll b/llvm/test/Transforms/InstCombine/IntPtrCast.ll index 4ecbccd86a48..c3d0982c245a 100644 --- a/llvm/test/Transforms/InstCombine/IntPtrCast.ll +++ b/llvm/test/Transforms/InstCombine/IntPtrCast.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-p:32:32" define i32* @test(i32* %P) { diff --git a/llvm/test/Transforms/InstCombine/JavaCompare.ll b/llvm/test/Transforms/InstCombine/JavaCompare.ll index 8c1f307c79c0..8a312f738bd7 100644 --- a/llvm/test/Transforms/InstCombine/JavaCompare.ll +++ b/llvm/test/Transforms/InstCombine/JavaCompare.ll @@ -1,7 +1,7 @@ ; This is the sequence of stuff that the Java front-end expands for a single ; <= comparison. Check to make sure we turn it into a <= (only) -; RUN: opt < %s -instcombine -S | grep "icmp sle i32 %A, %B" +; RUN: opt < %s -passes=instcombine -S | grep "icmp sle i32 %A, %B" define i1 @le(i32 %A, i32 %B) { %c1 = icmp sgt i32 %A, %B ; [#uses=1] diff --git a/llvm/test/Transforms/InstCombine/LandingPadClauses.ll b/llvm/test/Transforms/InstCombine/LandingPadClauses.ll index 75050c91bbb4..fe437eebdeeb 100644 --- a/llvm/test/Transforms/InstCombine/LandingPadClauses.ll +++ b/llvm/test/Transforms/InstCombine/LandingPadClauses.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s @T1 = external constant i32 @T2 = external constant i32 diff --git a/llvm/test/Transforms/InstCombine/NVPTX/nvvm-intrins.ll b/llvm/test/Transforms/InstCombine/NVPTX/nvvm-intrins.ll index 9e94aee71398..ca1a5237f905 100644 --- a/llvm/test/Transforms/InstCombine/NVPTX/nvvm-intrins.ll +++ b/llvm/test/Transforms/InstCombine/NVPTX/nvvm-intrins.ll @@ -6,11 +6,11 @@ ; RUN: cat %s > %t.ftz ; RUN: echo 'attributes #0 = { "denormal-fp-math-f32" = "preserve-sign" }' >> %t.ftz -; RUN: opt < %t.ftz -instcombine -mtriple=nvptx64-nvidia-cuda -S | FileCheck %s --check-prefix=CHECK --check-prefix=FTZ +; RUN: opt < %t.ftz -passes=instcombine -mtriple=nvptx64-nvidia-cuda -S | FileCheck %s --check-prefix=CHECK --check-prefix=FTZ ; RUN: cat %s > %t.noftz ; RUN: echo 'attributes #0 = { "denormal-fp-math-f32" = "ieee" }' >> %t.noftz -; RUN: opt < %t.noftz -instcombine -mtriple=nvptx64-nvidia-cuda -S | FileCheck %s --check-prefix=CHECK --check-prefix=NOFTZ +; RUN: opt < %t.noftz -passes=instcombine -mtriple=nvptx64-nvidia-cuda -S | FileCheck %s --check-prefix=CHECK --check-prefix=NOFTZ ; We handle nvvm intrinsics with ftz variants as follows: ; - If the module is in ftz mode, the ftz variant is transformed into the diff --git a/llvm/test/Transforms/InstCombine/OverlappingInsertvalues.ll b/llvm/test/Transforms/InstCombine/OverlappingInsertvalues.ll index 9248aecdf575..950cc7314f1b 100644 --- a/llvm/test/Transforms/InstCombine/OverlappingInsertvalues.ll +++ b/llvm/test/Transforms/InstCombine/OverlappingInsertvalues.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" ; Check that we can find and remove redundant insertvalues diff --git a/llvm/test/Transforms/InstCombine/PowerPC/aligned-altivec.ll b/llvm/test/Transforms/InstCombine/PowerPC/aligned-altivec.ll index 10b4e4d62631..ab991f472031 100644 --- a/llvm/test/Transforms/InstCombine/PowerPC/aligned-altivec.ll +++ b/llvm/test/Transforms/InstCombine/PowerPC/aligned-altivec.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %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-f128:128:128-v128:128:128-n32:64" target triple = "powerpc64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/PowerPC/vsx-unaligned.ll b/llvm/test/Transforms/InstCombine/PowerPC/vsx-unaligned.ll index ad264fb15b31..dbf501ed381b 100644 --- a/llvm/test/Transforms/InstCombine/PowerPC/vsx-unaligned.ll +++ b/llvm/test/Transforms/InstCombine/PowerPC/vsx-unaligned.ll @@ -1,6 +1,6 @@ ; Verify that we can create unaligned loads and stores from VSX intrinsics. -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target triple = "powerpc64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/RISCV/riscv-vsetvli-knownbits.ll b/llvm/test/Transforms/InstCombine/RISCV/riscv-vsetvli-knownbits.ll index f18604032c33..4a8108279914 100644 --- a/llvm/test/Transforms/InstCombine/RISCV/riscv-vsetvli-knownbits.ll +++ b/llvm/test/Transforms/InstCombine/RISCV/riscv-vsetvli-knownbits.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare i32 @llvm.riscv.vsetvli.i32(i32, i32, i32) declare i64 @llvm.riscv.vsetvli.i64(i64, i64, i64) diff --git a/llvm/test/Transforms/InstCombine/X86/2009-03-23-i80-fp80.ll b/llvm/test/Transforms/InstCombine/X86/2009-03-23-i80-fp80.ll index f093c435a879..1e2396e95288 100644 --- a/llvm/test/Transforms/InstCombine/X86/2009-03-23-i80-fp80.ll +++ b/llvm/test/Transforms/InstCombine/X86/2009-03-23-i80-fp80.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" target triple = "i686-apple-darwin9" diff --git a/llvm/test/Transforms/InstCombine/X86/addcarry.ll b/llvm/test/Transforms/InstCombine/X86/addcarry.ll index 25a6cf216b07..8260f05bdacc 100644 --- a/llvm/test/Transforms/InstCombine/X86/addcarry.ll +++ b/llvm/test/Transforms/InstCombine/X86/addcarry.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s declare { i8, i32 } @llvm.x86.addcarry.32(i8, i32, i32) declare { i8, i64 } @llvm.x86.addcarry.64(i8, i64, i64) diff --git a/llvm/test/Transforms/InstCombine/X86/blend_x86.ll b/llvm/test/Transforms/InstCombine/X86/blend_x86.ll index 864e2b9aa67e..77859070aa9f 100644 --- a/llvm/test/Transforms/InstCombine/X86/blend_x86.ll +++ b/llvm/test/Transforms/InstCombine/X86/blend_x86.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-apple-macosx -mcpu=core-avx2 -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-apple-macosx -mcpu=core-avx2 -S | FileCheck %s define <2 x double> @constant_blendvpd(<2 x double> %xy, <2 x double> %ab) { ; CHECK-LABEL: @constant_blendvpd( diff --git a/llvm/test/Transforms/InstCombine/X86/clmulqdq.ll b/llvm/test/Transforms/InstCombine/X86/clmulqdq.ll index 26da05f80697..763b79c9e581 100644 --- a/llvm/test/Transforms/InstCombine/X86/clmulqdq.ll +++ b/llvm/test/Transforms/InstCombine/X86/clmulqdq.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s declare <2 x i64> @llvm.x86.pclmulqdq(<2 x i64>, <2 x i64>, i8) declare <4 x i64> @llvm.x86.pclmulqdq.256(<4 x i64>, <4 x i64>, i8) diff --git a/llvm/test/Transforms/InstCombine/X86/pr2645-1.ll b/llvm/test/Transforms/InstCombine/X86/pr2645-1.ll index 2986d21866bf..99cf523bf03a 100644 --- a/llvm/test/Transforms/InstCombine/X86/pr2645-1.ll +++ b/llvm/test/Transforms/InstCombine/X86/pr2645-1.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep shufflevector +; RUN: opt < %s -passes=instcombine -S | grep shufflevector ; PR2645 ; instcombine shouldn't delete the shufflevector. diff --git a/llvm/test/Transforms/InstCombine/X86/shufflemask-undef-inseltpoison.ll b/llvm/test/Transforms/InstCombine/X86/shufflemask-undef-inseltpoison.ll index 95b453a20698..d2fab4c307af 100644 --- a/llvm/test/Transforms/InstCombine/X86/shufflemask-undef-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/X86/shufflemask-undef-inseltpoison.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; CHECK-NOT: shufflevector{{.*}}i32 8" 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:128:128" diff --git a/llvm/test/Transforms/InstCombine/X86/shufflemask-undef.ll b/llvm/test/Transforms/InstCombine/X86/shufflemask-undef.ll index d95c42da5f7e..4ce7a28108b3 100644 --- a/llvm/test/Transforms/InstCombine/X86/shufflemask-undef.ll +++ b/llvm/test/Transforms/InstCombine/X86/shufflemask-undef.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; CHECK-NOT: shufflevector{{.*}}i32 8" 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:128:128" diff --git a/llvm/test/Transforms/InstCombine/X86/simplify-libcalls-memcmp.ll b/llvm/test/Transforms/InstCombine/X86/simplify-libcalls-memcmp.ll index 0bb82d854652..78c5a8cde668 100644 --- a/llvm/test/Transforms/InstCombine/X86/simplify-libcalls-memcmp.ll +++ b/llvm/test/Transforms/InstCombine/X86/simplify-libcalls-memcmp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S < %s -instcombine | FileCheck %s +; RUN: opt -S < %s -passes=instcombine | FileCheck %s ; This test requires a target with 'bcmp' in its library. ; It used to crash/assert because the function signature does diff --git a/llvm/test/Transforms/InstCombine/X86/x86-addsub-inseltpoison.ll b/llvm/test/Transforms/InstCombine/X86/x86-addsub-inseltpoison.ll index ea657cec6c5c..276c69660c5c 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-addsub-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-addsub-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s declare <2 x double> @llvm.x86.sse3.addsub.pd(<2 x double>, <2 x double>) declare <4 x float> @llvm.x86.sse3.addsub.ps(<4 x float>, <4 x float>) diff --git a/llvm/test/Transforms/InstCombine/X86/x86-addsub.ll b/llvm/test/Transforms/InstCombine/X86/x86-addsub.ll index 7ea38cf2bc81..8dda1de57134 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-addsub.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-addsub.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s declare <2 x double> @llvm.x86.sse3.addsub.pd(<2 x double>, <2 x double>) declare <4 x float> @llvm.x86.sse3.addsub.ps(<4 x float>, <4 x float>) diff --git a/llvm/test/Transforms/InstCombine/X86/x86-amx-load-store.ll b/llvm/test/Transforms/InstCombine/X86/x86-amx-load-store.ll index a51f7551911e..d17f33767952 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-amx-load-store.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-amx-load-store.ll @@ -1,5 +1,4 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s ; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; Prohibit poiter cast for amx. diff --git a/llvm/test/Transforms/InstCombine/X86/x86-amx.ll b/llvm/test/Transforms/InstCombine/X86/x86-amx.ll index 9f922a057029..0f7bc245cd62 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-amx.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-amx.ll @@ -1,5 +1,4 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s ; RUN: opt -passes=instcombine -S < %s | FileCheck %s define linkonce_odr dso_local void @foo(<256 x i32>* %arrayidx16, <256 x i32>* %arrayidx29, <256 x i32>* %arrayidx35) local_unnamed_addr { diff --git a/llvm/test/Transforms/InstCombine/X86/x86-avx2-inseltpoison.ll b/llvm/test/Transforms/InstCombine/X86/x86-avx2-inseltpoison.ll index a9060d8f55f3..a4483f667348 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-avx2-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-avx2-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" ; Verify that instcombine is able to fold identity shuffles. diff --git a/llvm/test/Transforms/InstCombine/X86/x86-avx2.ll b/llvm/test/Transforms/InstCombine/X86/x86-avx2.ll index 91484385df87..25eb66c3d980 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-avx2.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-avx2.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" ; Verify that instcombine is able to fold identity shuffles. diff --git a/llvm/test/Transforms/InstCombine/X86/x86-avx512-inseltpoison.ll b/llvm/test/Transforms/InstCombine/X86/x86-avx512-inseltpoison.ll index ccc8d0a2cb71..dddde60d8812 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-avx512-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-avx512-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" declare <4 x float> @llvm.x86.avx512.mask.add.ss.round(<4 x float>, <4 x float>, <4 x float>, i8, i32) diff --git a/llvm/test/Transforms/InstCombine/X86/x86-avx512.ll b/llvm/test/Transforms/InstCombine/X86/x86-avx512.ll index b93355e87d6c..845a25aba443 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-avx512.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-avx512.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" declare <4 x float> @llvm.x86.avx512.mask.add.ss.round(<4 x float>, <4 x float>, <4 x float>, i8, i32) diff --git a/llvm/test/Transforms/InstCombine/X86/x86-bmi-tbm.ll b/llvm/test/Transforms/InstCombine/X86/x86-bmi-tbm.ll index b7f814630c8a..09e716145ae2 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-bmi-tbm.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-bmi-tbm.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s declare i32 @llvm.x86.tbm.bextri.u32(i32, i32) nounwind readnone declare i64 @llvm.x86.tbm.bextri.u64(i64, i64) nounwind readnone diff --git a/llvm/test/Transforms/InstCombine/X86/x86-crc32-demanded.ll b/llvm/test/Transforms/InstCombine/X86/x86-crc32-demanded.ll index 878b97d1bb22..e98807cd86fe 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-crc32-demanded.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-crc32-demanded.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; crc32 with 64-bit destination zeros high 32-bit. ; rdar://9467055 diff --git a/llvm/test/Transforms/InstCombine/X86/x86-f16c-inseltpoison.ll b/llvm/test/Transforms/InstCombine/X86/x86-f16c-inseltpoison.ll index 741930a459d4..a5c28200f104 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-f16c-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-f16c-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare <4 x float> @llvm.x86.vcvtph2ps.128(<8 x i16>) declare <8 x float> @llvm.x86.vcvtph2ps.256(<8 x i16>) diff --git a/llvm/test/Transforms/InstCombine/X86/x86-f16c.ll b/llvm/test/Transforms/InstCombine/X86/x86-f16c.ll index ab0cad1e07b3..bd9d6b350189 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-f16c.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-f16c.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare <4 x float> @llvm.x86.vcvtph2ps.128(<8 x i16>) declare <8 x float> @llvm.x86.vcvtph2ps.256(<8 x i16>) diff --git a/llvm/test/Transforms/InstCombine/X86/x86-fma.ll b/llvm/test/Transforms/InstCombine/X86/x86-fma.ll index 833d03c13ffc..8dd1b7165041 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-fma.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-fma.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" define <4 x float> @test_vfmadd_ss(<4 x float> %a, <4 x float> %b, <4 x float> %c) { diff --git a/llvm/test/Transforms/InstCombine/X86/x86-insertps.ll b/llvm/test/Transforms/InstCombine/X86/x86-insertps.ll index d204e03099b4..6ff094ecc741 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-insertps.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-insertps.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s declare <4 x float> @llvm.x86.sse41.insertps(<4 x float>, <4 x float>, i8) nounwind readnone diff --git a/llvm/test/Transforms/InstCombine/X86/x86-masked-memops.ll b/llvm/test/Transforms/InstCombine/X86/x86-masked-memops.ll index d89ec8584275..1ddd18db40a7 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-masked-memops.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-masked-memops.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s ;; MASKED LOADS diff --git a/llvm/test/Transforms/InstCombine/X86/x86-movmsk.ll b/llvm/test/Transforms/InstCombine/X86/x86-movmsk.ll index 60704d0e9d62..63114288fc58 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-movmsk.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-movmsk.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Transforms/InstCombine/X86/x86-muldq-inseltpoison.ll b/llvm/test/Transforms/InstCombine/X86/x86-muldq-inseltpoison.ll index 68c77ef6de31..bc998669c960 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-muldq-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-muldq-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; ; UNDEF Elts diff --git a/llvm/test/Transforms/InstCombine/X86/x86-muldq.ll b/llvm/test/Transforms/InstCombine/X86/x86-muldq.ll index a26737e771bc..9a2676645076 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-muldq.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-muldq.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; ; UNDEF Elts diff --git a/llvm/test/Transforms/InstCombine/X86/x86-pack-inseltpoison.ll b/llvm/test/Transforms/InstCombine/X86/x86-pack-inseltpoison.ll index 0327e2866625..9c17b9a159cb 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-pack-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-pack-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s ; ; UNDEF Elts diff --git a/llvm/test/Transforms/InstCombine/X86/x86-pack.ll b/llvm/test/Transforms/InstCombine/X86/x86-pack.ll index 0dfef255c216..537b1639ed56 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-pack.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-pack.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s ; ; UNDEF Elts diff --git a/llvm/test/Transforms/InstCombine/X86/x86-pshufb-inseltpoison.ll b/llvm/test/Transforms/InstCombine/X86/x86-pshufb-inseltpoison.ll index 4c55797e4388..c05e5cb6182a 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-pshufb-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-pshufb-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s ; Verify that instcombine is able to fold identity shuffles. diff --git a/llvm/test/Transforms/InstCombine/X86/x86-pshufb.ll b/llvm/test/Transforms/InstCombine/X86/x86-pshufb.ll index 2f5aafdc9824..59324b157cb4 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-pshufb.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-pshufb.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s ; Verify that instcombine is able to fold identity shuffles. diff --git a/llvm/test/Transforms/InstCombine/X86/x86-sse-inseltpoison.ll b/llvm/test/Transforms/InstCombine/X86/x86-sse-inseltpoison.ll index 9cda18f41a65..e2455ca72129 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-sse-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-sse-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" define float @test_rcp_ss_0(float %a) { diff --git a/llvm/test/Transforms/InstCombine/X86/x86-sse.ll b/llvm/test/Transforms/InstCombine/X86/x86-sse.ll index 90794b6732a2..ca2a0f74b029 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-sse.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-sse.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" define float @test_rcp_ss_0(float %a) { diff --git a/llvm/test/Transforms/InstCombine/X86/x86-sse2-inseltpoison.ll b/llvm/test/Transforms/InstCombine/X86/x86-sse2-inseltpoison.ll index ba7113a3fa5e..d78c1fcf88f3 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-sse2-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-sse2-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" define double @test_sqrt_sd_0(double %a) { diff --git a/llvm/test/Transforms/InstCombine/X86/x86-sse2.ll b/llvm/test/Transforms/InstCombine/X86/x86-sse2.ll index 66f8f71a46ae..ba6dc5aedb2b 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-sse2.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-sse2.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" define double @test_sqrt_sd_0(double %a) { diff --git a/llvm/test/Transforms/InstCombine/X86/x86-sse41-inseltpoison.ll b/llvm/test/Transforms/InstCombine/X86/x86-sse41-inseltpoison.ll index 314842851693..d1f14c05f774 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-sse41-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-sse41-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" define <2 x double> @test_round_sd(<2 x double> %a, <2 x double> %b) { diff --git a/llvm/test/Transforms/InstCombine/X86/x86-sse41.ll b/llvm/test/Transforms/InstCombine/X86/x86-sse41.ll index 4bc76ec98b7f..15d7eeabf8b6 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-sse41.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-sse41.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" define <2 x double> @test_round_sd(<2 x double> %a, <2 x double> %b) { diff --git a/llvm/test/Transforms/InstCombine/X86/x86-sse4a-inseltpoison.ll b/llvm/test/Transforms/InstCombine/X86/x86-sse4a-inseltpoison.ll index 1376266308ab..68924c839eb8 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-sse4a-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-sse4a-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s ; ; EXTRQ diff --git a/llvm/test/Transforms/InstCombine/X86/x86-sse4a.ll b/llvm/test/Transforms/InstCombine/X86/x86-sse4a.ll index 5468b9f9364a..c37cdf77a76f 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-sse4a.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-sse4a.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s ; ; EXTRQ diff --git a/llvm/test/Transforms/InstCombine/X86/x86-vec_demanded_elts-inseltpoison.ll b/llvm/test/Transforms/InstCombine/X86/x86-vec_demanded_elts-inseltpoison.ll index 04569735f44f..87e5411acb35 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-vec_demanded_elts-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-vec_demanded_elts-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" define i16 @test1(float %f) { diff --git a/llvm/test/Transforms/InstCombine/X86/x86-vec_demanded_elts.ll b/llvm/test/Transforms/InstCombine/X86/x86-vec_demanded_elts.ll index f1ad421db25f..5800dc66ef38 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-vec_demanded_elts.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-vec_demanded_elts.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" define i16 @test1(float %f) { diff --git a/llvm/test/Transforms/InstCombine/X86/x86-vector-shifts-inseltpoison.ll b/llvm/test/Transforms/InstCombine/X86/x86-vector-shifts-inseltpoison.ll index 40a2a4037771..8c2ba9701e72 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-vector-shifts-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-vector-shifts-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" ; diff --git a/llvm/test/Transforms/InstCombine/X86/x86-vector-shifts.ll b/llvm/test/Transforms/InstCombine/X86/x86-vector-shifts.ll index a4af65c88a0e..63e44fda8155 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-vector-shifts.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-vector-shifts.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" ; diff --git a/llvm/test/Transforms/InstCombine/X86/x86-vpermil-inseltpoison.ll b/llvm/test/Transforms/InstCombine/X86/x86-vpermil-inseltpoison.ll index 98b5cb44f450..b6c7f264ce23 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-vpermil-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-vpermil-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" ; Verify that instcombine is able to fold identity shuffles. diff --git a/llvm/test/Transforms/InstCombine/X86/x86-vpermil.ll b/llvm/test/Transforms/InstCombine/X86/x86-vpermil.ll index 02306905884a..b7dac07387a6 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-vpermil.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-vpermil.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" ; Verify that instcombine is able to fold identity shuffles. diff --git a/llvm/test/Transforms/InstCombine/X86/x86-xop-inseltpoison.ll b/llvm/test/Transforms/InstCombine/X86/x86-xop-inseltpoison.ll index 2aa0f3ce4111..ec010b02c86a 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-xop-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-xop-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s define <2 x double> @test_vfrcz_sd(<2 x double> %a) { ; CHECK-LABEL: @test_vfrcz_sd( diff --git a/llvm/test/Transforms/InstCombine/X86/x86-xop.ll b/llvm/test/Transforms/InstCombine/X86/x86-xop.ll index a3ecd21fbe32..644cbc8824f3 100644 --- a/llvm/test/Transforms/InstCombine/X86/x86-xop.ll +++ b/llvm/test/Transforms/InstCombine/X86/x86-xop.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-unknown -S | FileCheck %s define <2 x double> @test_vfrcz_sd(<2 x double> %a) { ; CHECK-LABEL: @test_vfrcz_sd( diff --git a/llvm/test/Transforms/InstCombine/abs-1.ll b/llvm/test/Transforms/InstCombine/abs-1.ll index ea77dfb5fef4..f81967e2161a 100644 --- a/llvm/test/Transforms/InstCombine/abs-1.ll +++ b/llvm/test/Transforms/InstCombine/abs-1.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/abs-intrinsic.ll b/llvm/test/Transforms/InstCombine/abs-intrinsic.ll index 058289d8e631..2c28a1954d76 100644 --- a/llvm/test/Transforms/InstCombine/abs-intrinsic.ll +++ b/llvm/test/Transforms/InstCombine/abs-intrinsic.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare i8 @llvm.abs.i8(i8, i1) declare i32 @llvm.abs.i32(i32, i1) diff --git a/llvm/test/Transforms/InstCombine/abs_abs.ll b/llvm/test/Transforms/InstCombine/abs_abs.ll index cb0118261bb6..172f23e9dad9 100644 --- a/llvm/test/Transforms/InstCombine/abs_abs.ll +++ b/llvm/test/Transforms/InstCombine/abs_abs.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @abs_abs_x01(i32 %x) { ; CHECK-LABEL: @abs_abs_x01( diff --git a/llvm/test/Transforms/InstCombine/add-shl-sdiv-to-srem.ll b/llvm/test/Transforms/InstCombine/add-shl-sdiv-to-srem.ll index 3157cde6d95f..82224496d90e 100644 --- a/llvm/test/Transforms/InstCombine/add-shl-sdiv-to-srem.ll +++ b/llvm/test/Transforms/InstCombine/add-shl-sdiv-to-srem.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i8 @add-shl-sdiv-scalar0(i8 %x) { ; CHECK-LABEL: @add-shl-sdiv-scalar0( diff --git a/llvm/test/Transforms/InstCombine/add-sitofp.ll b/llvm/test/Transforms/InstCombine/add-sitofp.ll index 105c9efa0893..db44b806593b 100644 --- a/llvm/test/Transforms/InstCombine/add-sitofp.ll +++ b/llvm/test/Transforms/InstCombine/add-sitofp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define double @x(i32 %a, i32 %b) { ; CHECK-LABEL: @x( diff --git a/llvm/test/Transforms/InstCombine/add.ll b/llvm/test/Transforms/InstCombine/add.ll index 14647f957ccf..8e5d6f2d3a41 100644 --- a/llvm/test/Transforms/InstCombine/add.ll +++ b/llvm/test/Transforms/InstCombine/add.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @select_0_or_1_from_bool(i1 %x) { ; CHECK-LABEL: @select_0_or_1_from_bool( diff --git a/llvm/test/Transforms/InstCombine/add2.ll b/llvm/test/Transforms/InstCombine/add2.ll index ed99936e081e..dee866f2fba4 100644 --- a/llvm/test/Transforms/InstCombine/add2.ll +++ b/llvm/test/Transforms/InstCombine/add2.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i64 @test1(i64 %A, i32 %B) { ; CHECK-LABEL: @test1( diff --git a/llvm/test/Transforms/InstCombine/add3.ll b/llvm/test/Transforms/InstCombine/add3.ll index 9d3842f1a31a..5395dfa1b9bc 100644 --- a/llvm/test/Transforms/InstCombine/add3.ll +++ b/llvm/test/Transforms/InstCombine/add3.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep inttoptr | count 2 +; RUN: opt < %s -passes=instcombine -S | grep inttoptr | count 2 ;; Target triple for gep raising case below. 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:128:128" diff --git a/llvm/test/Transforms/InstCombine/add4.ll b/llvm/test/Transforms/InstCombine/add4.ll index 41eaf1255af6..4362194c4ea0 100644 --- a/llvm/test/Transforms/InstCombine/add4.ll +++ b/llvm/test/Transforms/InstCombine/add4.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i64 @match_unsigned(i64 %x) { ; CHECK-LABEL: @match_unsigned( diff --git a/llvm/test/Transforms/InstCombine/addnegneg.ll b/llvm/test/Transforms/InstCombine/addnegneg.ll index 90f6baf5dd54..bfea4f328f86 100644 --- a/llvm/test/Transforms/InstCombine/addnegneg.ll +++ b/llvm/test/Transforms/InstCombine/addnegneg.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep " sub " | count 1 +; RUN: opt < %s -passes=instcombine -S | grep " sub " | count 1 ; PR2047 define i32 @l(i32 %a, i32 %b, i32 %c, i32 %d) { diff --git a/llvm/test/Transforms/InstCombine/addrspacecast.ll b/llvm/test/Transforms/InstCombine/addrspacecast.ll index 20627a60da26..9069db0bdad4 100644 --- a/llvm/test/Transforms/InstCombine/addrspacecast.ll +++ b/llvm/test/Transforms/InstCombine/addrspacecast.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s target datalayout = "e-p:64:64:64-p1:32:32:32-p2:16:16:16-n8:16:32:64" diff --git a/llvm/test/Transforms/InstCombine/addsub-constant-folding.ll b/llvm/test/Transforms/InstCombine/addsub-constant-folding.ll index e9584f35238e..90383eab4247 100644 --- a/llvm/test/Transforms/InstCombine/addsub-constant-folding.ll +++ b/llvm/test/Transforms/InstCombine/addsub-constant-folding.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use(i32 %arg) declare void @vec_use(<4 x i32> %arg) diff --git a/llvm/test/Transforms/InstCombine/adjust-for-minmax.ll b/llvm/test/Transforms/InstCombine/adjust-for-minmax.ll index 9a5b1f5d5a0a..9f179f4de7de 100644 --- a/llvm/test/Transforms/InstCombine/adjust-for-minmax.ll +++ b/llvm/test/Transforms/InstCombine/adjust-for-minmax.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Instcombine should recognize that this code can be adjusted to fit the canonical max/min pattern. diff --git a/llvm/test/Transforms/InstCombine/aggregate-reconstruction.ll b/llvm/test/Transforms/InstCombine/aggregate-reconstruction.ll index 427151f55f68..f599b75853af 100644 --- a/llvm/test/Transforms/InstCombine/aggregate-reconstruction.ll +++ b/llvm/test/Transforms/InstCombine/aggregate-reconstruction.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s declare void @foo() declare void @bar() diff --git a/llvm/test/Transforms/InstCombine/alias-recursion.ll b/llvm/test/Transforms/InstCombine/alias-recursion.ll index efc1899e1f47..a7e7f4e329cd 100644 --- a/llvm/test/Transforms/InstCombine/alias-recursion.ll +++ b/llvm/test/Transforms/InstCombine/alias-recursion.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-windows-msvc" diff --git a/llvm/test/Transforms/InstCombine/align-2d-gep.ll b/llvm/test/Transforms/InstCombine/align-2d-gep.ll index d7da479c8a56..cd2ae85b300a 100644 --- a/llvm/test/Transforms/InstCombine/align-2d-gep.ll +++ b/llvm/test/Transforms/InstCombine/align-2d-gep.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "E-p:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128" ; A multi-dimensional array in a nested loop doing vector stores that diff --git a/llvm/test/Transforms/InstCombine/align-addr.ll b/llvm/test/Transforms/InstCombine/align-addr.ll index d78e5206d197..abc52f2adc3b 100644 --- a/llvm/test/Transforms/InstCombine/align-addr.ll +++ b/llvm/test/Transforms/InstCombine/align-addr.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "E-p:64:64:64-p1:32:32:32-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128" ; Instcombine should be able to prove vector alignment in the diff --git a/llvm/test/Transforms/InstCombine/align-attr.ll b/llvm/test/Transforms/InstCombine/align-attr.ll index 2b004311cc8e..1e8f580ce627 100644 --- a/llvm/test/Transforms/InstCombine/align-attr.ll +++ b/llvm/test/Transforms/InstCombine/align-attr.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/align-external.ll b/llvm/test/Transforms/InstCombine/align-external.ll index 15f3096105bb..0e83e3692e24 100644 --- a/llvm/test/Transforms/InstCombine/align-external.ll +++ b/llvm/test/Transforms/InstCombine/align-external.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Don't assume that external global variables or those with weak linkage have ; their preferred alignment. They may only have the ABI minimum alignment. diff --git a/llvm/test/Transforms/InstCombine/all-bits-shift.ll b/llvm/test/Transforms/InstCombine/all-bits-shift.ll index ac3b0a5517bb..83ad7c039dc3 100644 --- a/llvm/test/Transforms/InstCombine/all-bits-shift.ll +++ b/llvm/test/Transforms/InstCombine/all-bits-shift.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s target datalayout = "E-m:e-i64:64-n32:64" target triple = "powerpc64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/alloc-realloc-free.ll b/llvm/test/Transforms/InstCombine/alloc-realloc-free.ll index 8f3cf87adcaa..40c995cd768e 100644 --- a/llvm/test/Transforms/InstCombine/alloc-realloc-free.ll +++ b/llvm/test/Transforms/InstCombine/alloc-realloc-free.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --scrub-attributes -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s define dso_local void @test() local_unnamed_addr #0 { ; CHECK-LABEL: @test( diff --git a/llvm/test/Transforms/InstCombine/alloca-big.ll b/llvm/test/Transforms/InstCombine/alloca-big.ll index bff5fcfe4e79..3891b19efea4 100644 --- a/llvm/test/Transforms/InstCombine/alloca-big.ll +++ b/llvm/test/Transforms/InstCombine/alloca-big.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5223 define void @test_bigalloc() { diff --git a/llvm/test/Transforms/InstCombine/alloca-in-non-alloca-as.ll b/llvm/test/Transforms/InstCombine/alloca-in-non-alloca-as.ll index c8987e11a723..90cb95b025ac 100644 --- a/llvm/test/Transforms/InstCombine/alloca-in-non-alloca-as.ll +++ b/llvm/test/Transforms/InstCombine/alloca-in-non-alloca-as.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Gracefully handle the alloca that is not in the alloca AS (=5) diff --git a/llvm/test/Transforms/InstCombine/alloca.ll b/llvm/test/Transforms/InstCombine/alloca.ll index fee8e0ef70f1..a61e5be12c88 100644 --- a/llvm/test/Transforms/InstCombine/alloca.ll +++ b/llvm/test/Transforms/InstCombine/alloca.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S -data-layout="E-p:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128" | FileCheck %s -check-prefixes=ALL,CHECK -; RUN: opt < %s -instcombine -S -data-layout="E-p:32:32:32-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128" | FileCheck %s -check-prefixes=ALL,P32 -; RUN: opt < %s -instcombine -S | FileCheck %s -check-prefixes=ALL,NODL +; RUN: opt < %s -passes=instcombine -S -data-layout="E-p:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128" | FileCheck %s -check-prefixes=ALL,CHECK +; RUN: opt < %s -passes=instcombine -S -data-layout="E-p:32:32:32-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128" | FileCheck %s -check-prefixes=ALL,P32 +; RUN: opt < %s -passes=instcombine -S | FileCheck %s -check-prefixes=ALL,NODL declare void @use(...) diff --git a/llvm/test/Transforms/InstCombine/allocsize-32.ll b/llvm/test/Transforms/InstCombine/allocsize-32.ll index a732f64e43db..5b96a9b2d73b 100644 --- a/llvm/test/Transforms/InstCombine/allocsize-32.ll +++ b/llvm/test/Transforms/InstCombine/allocsize-32.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; ; The idea is that we want to have sane semantics (e.g. not assertion failures) ; when given an allocsize function that takes a 64-bit argument in the face of diff --git a/llvm/test/Transforms/InstCombine/allocsize.ll b/llvm/test/Transforms/InstCombine/allocsize.ll index ac1817c164f7..060da7c7ea05 100644 --- a/llvm/test/Transforms/InstCombine/allocsize.ll +++ b/llvm/test/Transforms/InstCombine/allocsize.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; ; Test that instcombine folds allocsize function calls properly. ; Dummy arguments are inserted to verify that allocsize is picking the right diff --git a/llvm/test/Transforms/InstCombine/and-compare.ll b/llvm/test/Transforms/InstCombine/and-compare.ll index a9af18438730..14379ebf3a90 100644 --- a/llvm/test/Transforms/InstCombine/and-compare.ll +++ b/llvm/test/Transforms/InstCombine/and-compare.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/and-fcmp.ll b/llvm/test/Transforms/InstCombine/and-fcmp.ll index 86444288200a..48edc3973b9b 100644 --- a/llvm/test/Transforms/InstCombine/and-fcmp.ll +++ b/llvm/test/Transforms/InstCombine/and-fcmp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i1 @PR1738(double %x, double %y) { ; CHECK-LABEL: @PR1738( diff --git a/llvm/test/Transforms/InstCombine/and-narrow.ll b/llvm/test/Transforms/InstCombine/and-narrow.ll index e20099df9fef..92894090ef66 100644 --- a/llvm/test/Transforms/InstCombine/and-narrow.ll +++ b/llvm/test/Transforms/InstCombine/and-narrow.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -data-layout="n8:16:32" -S | FileCheck %s -; RUN: opt < %s -instcombine -data-layout="n16" -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -data-layout="n8:16:32" -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -data-layout="n16" -S | FileCheck %s ; PR35792 - https://bugs.llvm.org/show_bug.cgi?id=35792 diff --git a/llvm/test/Transforms/InstCombine/and-or-and.ll b/llvm/test/Transforms/InstCombine/and-or-and.ll index 34cad82f4f19..80e788a6b784 100644 --- a/llvm/test/Transforms/InstCombine/and-or-and.ll +++ b/llvm/test/Transforms/InstCombine/and-or-and.ll @@ -9,7 +9,7 @@ ; ; Which corresponds to test1. -; RUN: opt < %s -instcombine -S | \ +; RUN: opt < %s -passes=instcombine -S | \ ; RUN: not grep "or " define i32 @test1(i32 %X, i32 %Y) { diff --git a/llvm/test/Transforms/InstCombine/and-or-icmp-min-max.ll b/llvm/test/Transforms/InstCombine/and-or-icmp-min-max.ll index da0a9c83e5d1..058847a75bde 100644 --- a/llvm/test/Transforms/InstCombine/and-or-icmp-min-max.ll +++ b/llvm/test/Transforms/InstCombine/and-or-icmp-min-max.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; There are 12 basic patterns (or 6 with DeMorganized equivalent) with ; 2 (commute logic op) * diff --git a/llvm/test/Transforms/InstCombine/and-or-icmp-nullptr.ll b/llvm/test/Transforms/InstCombine/and-or-icmp-nullptr.ll index 728f372cf77c..a72a6daa1e7e 100644 --- a/llvm/test/Transforms/InstCombine/and-or-icmp-nullptr.ll +++ b/llvm/test/Transforms/InstCombine/and-or-icmp-nullptr.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; This is a specialization of generic folds for min/max values targeted to the ; 'null' ptr constant. diff --git a/llvm/test/Transforms/InstCombine/and-or-icmps.ll b/llvm/test/Transforms/InstCombine/and-or-icmps.ll index cf3ea5c091e4..16008ff2df4c 100644 --- a/llvm/test/Transforms/InstCombine/and-or-icmps.ll +++ b/llvm/test/Transforms/InstCombine/and-or-icmps.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use(i1) diff --git a/llvm/test/Transforms/InstCombine/and-or-not.ll b/llvm/test/Transforms/InstCombine/and-or-not.ll index 7bd4ad7b3bb7..de21466a0e8f 100644 --- a/llvm/test/Transforms/InstCombine/and-or-not.ll +++ b/llvm/test/Transforms/InstCombine/and-or-not.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; PR1510 diff --git a/llvm/test/Transforms/InstCombine/and-or.ll b/llvm/test/Transforms/InstCombine/and-or.ll index 2f3add7e77ee..5876c9d0d845 100644 --- a/llvm/test/Transforms/InstCombine/and-or.ll +++ b/llvm/test/Transforms/InstCombine/and-or.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use(i8) declare void @use_vec(<2 x i8>) diff --git a/llvm/test/Transforms/InstCombine/and-xor-merge.ll b/llvm/test/Transforms/InstCombine/and-xor-merge.ll index fdb6e8365ef6..9f2d36b81da2 100644 --- a/llvm/test/Transforms/InstCombine/and-xor-merge.ll +++ b/llvm/test/Transforms/InstCombine/and-xor-merge.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; (x&z) ^ (y&z) -> (x^y)&z define i32 @test1(i32 %x, i32 %y, i32 %z) { diff --git a/llvm/test/Transforms/InstCombine/and-xor-or.ll b/llvm/test/Transforms/InstCombine/and-xor-or.ll index e070f1269d87..cdee02ae275a 100644 --- a/llvm/test/Transforms/InstCombine/and-xor-or.ll +++ b/llvm/test/Transforms/InstCombine/and-xor-or.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use(i32) diff --git a/llvm/test/Transforms/InstCombine/and.ll b/llvm/test/Transforms/InstCombine/and.ll index 53c7f09189ff..b249115de99e 100644 --- a/llvm/test/Transforms/InstCombine/and.ll +++ b/llvm/test/Transforms/InstCombine/and.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use8(i8) declare void @use32(i32) @@ -532,7 +532,7 @@ define i32 @test34(i32 %A, i32 %B) { ret i32 %t4 } -; FIXME: This test should only need -instsimplify (ValueTracking / computeKnownBits), not -instcombine. +; FIXME: This test should only need -instsimplify (ValueTracking / computeKnownBits), not -passes=instcombine. define <2 x i32> @PR24942(<2 x i32> %x) { ; CHECK-LABEL: @PR24942( diff --git a/llvm/test/Transforms/InstCombine/and2.ll b/llvm/test/Transforms/InstCombine/and2.ll index bb8776a970ee..d6488761bf13 100644 --- a/llvm/test/Transforms/InstCombine/and2.ll +++ b/llvm/test/Transforms/InstCombine/and2.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i1 @test2(i1 %X, i1 %Y) { ; CHECK-LABEL: @test2( diff --git a/llvm/test/Transforms/InstCombine/annotation-intrinsic.ll b/llvm/test/Transforms/InstCombine/annotation-intrinsic.ll index aef68c9558be..88b5860693b6 100644 --- a/llvm/test/Transforms/InstCombine/annotation-intrinsic.ll +++ b/llvm/test/Transforms/InstCombine/annotation-intrinsic.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine %s -S -o - | FileCheck %s +; RUN: opt -passes=instcombine %s -S -o - | FileCheck %s ; This tests that llvm.annotation does not prevent load combining. diff --git a/llvm/test/Transforms/InstCombine/annotations.ll b/llvm/test/Transforms/InstCombine/annotations.ll index c260828d2df2..fc2d4777bf72 100644 --- a/llvm/test/Transforms/InstCombine/annotations.ll +++ b/llvm/test/Transforms/InstCombine/annotations.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck --match-full-lines %s +; RUN: opt < %s -passes=instcombine -S | FileCheck --match-full-lines %s ; Test cases to make sure !annotation metadata is preserved, if possible. ; Currently we fail to preserve !annotation metadata in many cases. diff --git a/llvm/test/Transforms/InstCombine/apint-add.ll b/llvm/test/Transforms/InstCombine/apint-add.ll index c55fd0419a65..bcd5e2ef5b3f 100644 --- a/llvm/test/Transforms/InstCombine/apint-add.ll +++ b/llvm/test/Transforms/InstCombine/apint-add.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Tests for Integer BitWidth <= 64 && BitWidth % 8 != 0. diff --git a/llvm/test/Transforms/InstCombine/apint-and-compare.ll b/llvm/test/Transforms/InstCombine/apint-and-compare.ll index 53e591e69c9d..55ff1d1588ee 100644 --- a/llvm/test/Transforms/InstCombine/apint-and-compare.ll +++ b/llvm/test/Transforms/InstCombine/apint-and-compare.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep and | count 2 +; RUN: opt < %s -passes=instcombine -S | grep and | count 2 ; Should be optimized to one and. define i1 @test1(i33 %a, i33 %b) { diff --git a/llvm/test/Transforms/InstCombine/apint-and-or-and.ll b/llvm/test/Transforms/InstCombine/apint-and-or-and.ll index 43536d72e9ba..e30b30870922 100644 --- a/llvm/test/Transforms/InstCombine/apint-and-or-and.ll +++ b/llvm/test/Transforms/InstCombine/apint-and-or-and.ll @@ -11,7 +11,7 @@ ; ; This tests arbitrary precision integers. -; RUN: opt < %s -instcombine -S | not grep "or " +; RUN: opt < %s -passes=instcombine -S | not grep "or " ; END. define i17 @test1(i17 %X, i17 %Y) { diff --git a/llvm/test/Transforms/InstCombine/apint-and-xor-merge.ll b/llvm/test/Transforms/InstCombine/apint-and-xor-merge.ll index 52633125048a..c904035f41ca 100644 --- a/llvm/test/Transforms/InstCombine/apint-and-xor-merge.ll +++ b/llvm/test/Transforms/InstCombine/apint-and-xor-merge.ll @@ -2,7 +2,7 @@ ; This test case checks that the merge of and/xor can work on arbitrary ; precision integers. -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; (x &z ) ^ (y & z) -> (x ^ y) & z define i57 @test1(i57 %x, i57 %y, i57 %z) { diff --git a/llvm/test/Transforms/InstCombine/apint-and.ll b/llvm/test/Transforms/InstCombine/apint-and.ll index f0381dfc2845..8e0dab786d59 100644 --- a/llvm/test/Transforms/InstCombine/apint-and.ll +++ b/llvm/test/Transforms/InstCombine/apint-and.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; FIXME: Some of these tests belong in InstSimplify. diff --git a/llvm/test/Transforms/InstCombine/apint-call-cast-target.ll b/llvm/test/Transforms/InstCombine/apint-call-cast-target.ll index 85a9f0982dfa..6eaefa04ea7b 100644 --- a/llvm/test/Transforms/InstCombine/apint-call-cast-target.ll +++ b/llvm/test/Transforms/InstCombine/apint-call-cast-target.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-p:32:32" target triple = "i686-pc-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/apint-cast-and-cast.ll b/llvm/test/Transforms/InstCombine/apint-cast-and-cast.ll index 251d78f59bee..06e0dcdc0ca5 100644 --- a/llvm/test/Transforms/InstCombine/apint-cast-and-cast.ll +++ b/llvm/test/Transforms/InstCombine/apint-cast-and-cast.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | not grep bitcast +; RUN: opt < %s -passes=instcombine -S | not grep bitcast define i19 @test1(i43 %val) { %t1 = bitcast i43 %val to i43 diff --git a/llvm/test/Transforms/InstCombine/apint-cast-cast-to-and.ll b/llvm/test/Transforms/InstCombine/apint-cast-cast-to-and.ll index b2069a93ac4c..0c98cc353502 100644 --- a/llvm/test/Transforms/InstCombine/apint-cast-cast-to-and.ll +++ b/llvm/test/Transforms/InstCombine/apint-cast-cast-to-and.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | not grep i41 +; RUN: opt < %s -passes=instcombine -S | not grep i41 define i61 @test1(i61 %X) { %Y = trunc i61 %X to i41 ;; Turn i61o an AND diff --git a/llvm/test/Transforms/InstCombine/apint-cast.ll b/llvm/test/Transforms/InstCombine/apint-cast.ll index 0be2134b9e01..b56d7d62e684 100644 --- a/llvm/test/Transforms/InstCombine/apint-cast.ll +++ b/llvm/test/Transforms/InstCombine/apint-cast.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" diff --git a/llvm/test/Transforms/InstCombine/apint-div1.ll b/llvm/test/Transforms/InstCombine/apint-div1.ll index 68aadac1de44..22af6e9b9867 100644 --- a/llvm/test/Transforms/InstCombine/apint-div1.ll +++ b/llvm/test/Transforms/InstCombine/apint-div1.ll @@ -1,7 +1,7 @@ ; This test makes sure that div instructions are properly eliminated. ; This test is for Integer BitWidth < 64 && BitWidth % 2 != 0. ; -; RUN: opt < %s -instcombine -S | not grep div +; RUN: opt < %s -passes=instcombine -S | not grep div define i33 @test1(i33 %X) { diff --git a/llvm/test/Transforms/InstCombine/apint-div2.ll b/llvm/test/Transforms/InstCombine/apint-div2.ll index 2d7ac78a210f..36a5bff23383 100644 --- a/llvm/test/Transforms/InstCombine/apint-div2.ll +++ b/llvm/test/Transforms/InstCombine/apint-div2.ll @@ -1,7 +1,7 @@ ; This test makes sure that div instructions are properly eliminated. ; This test is for Integer BitWidth >= 64 && BitWidth <= 1024. ; -; RUN: opt < %s -instcombine -S | not grep div +; RUN: opt < %s -passes=instcombine -S | not grep div define i333 @test1(i333 %X) { diff --git a/llvm/test/Transforms/InstCombine/apint-mul1.ll b/llvm/test/Transforms/InstCombine/apint-mul1.ll index 93fa5b0504c2..2a00275db260 100644 --- a/llvm/test/Transforms/InstCombine/apint-mul1.ll +++ b/llvm/test/Transforms/InstCombine/apint-mul1.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; This test makes sure that mul instructions are properly eliminated. ; This test is for Integer BitWidth < 64 && BitWidth % 2 != 0. diff --git a/llvm/test/Transforms/InstCombine/apint-mul2.ll b/llvm/test/Transforms/InstCombine/apint-mul2.ll index 16239ec3fcdf..12c44755b7e4 100644 --- a/llvm/test/Transforms/InstCombine/apint-mul2.ll +++ b/llvm/test/Transforms/InstCombine/apint-mul2.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; This test makes sure that mul instructions are properly eliminated. ; This test is for Integer BitWidth >= 64 && BitWidth % 2 >= 1024. diff --git a/llvm/test/Transforms/InstCombine/apint-not.ll b/llvm/test/Transforms/InstCombine/apint-not.ll index c5b12fd5dee5..1da03726c6e6 100644 --- a/llvm/test/Transforms/InstCombine/apint-not.ll +++ b/llvm/test/Transforms/InstCombine/apint-not.ll @@ -1,7 +1,7 @@ ; This test makes sure that the xor instructions are properly eliminated ; when arbitrary precision integers are used. -; RUN: opt < %s -instcombine -S | not grep xor +; RUN: opt < %s -passes=instcombine -S | not grep xor define i33 @test1(i33 %A) { %B = xor i33 %A, -1 diff --git a/llvm/test/Transforms/InstCombine/apint-or.ll b/llvm/test/Transforms/InstCombine/apint-or.ll index 33304bf8ad62..939d151c21d2 100644 --- a/llvm/test/Transforms/InstCombine/apint-or.ll +++ b/llvm/test/Transforms/InstCombine/apint-or.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; These tests are for Integer BitWidth <= 64 && BitWidth % 2 != 0. define i23 @test1(i23 %A) { diff --git a/llvm/test/Transforms/InstCombine/apint-rem1.ll b/llvm/test/Transforms/InstCombine/apint-rem1.ll index 030faccee8b4..05537ed72c2c 100644 --- a/llvm/test/Transforms/InstCombine/apint-rem1.ll +++ b/llvm/test/Transforms/InstCombine/apint-rem1.ll @@ -1,7 +1,7 @@ ; This test makes sure that these instructions are properly eliminated. ; This test is for Integer BitWidth < 64 && BitWidth % 2 != 0. ; -; RUN: opt < %s -instcombine -S | not grep rem +; RUN: opt < %s -passes=instcombine -S | not grep rem define i33 @test1(i33 %A) { diff --git a/llvm/test/Transforms/InstCombine/apint-rem2.ll b/llvm/test/Transforms/InstCombine/apint-rem2.ll index 9bfc4cde9521..49724689790c 100644 --- a/llvm/test/Transforms/InstCombine/apint-rem2.ll +++ b/llvm/test/Transforms/InstCombine/apint-rem2.ll @@ -1,7 +1,7 @@ ; This test makes sure that these instructions are properly eliminated. ; This test is for Integer BitWidth >= 64 && BitWidth <= 1024. ; -; RUN: opt < %s -instcombine -S | not grep rem +; RUN: opt < %s -passes=instcombine -S | not grep rem define i333 @test1(i333 %A) { diff --git a/llvm/test/Transforms/InstCombine/apint-select.ll b/llvm/test/Transforms/InstCombine/apint-select.ll index 0613d437085e..dd1b0e45b971 100644 --- a/llvm/test/Transforms/InstCombine/apint-select.ll +++ b/llvm/test/Transforms/InstCombine/apint-select.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; No selects should remain. diff --git a/llvm/test/Transforms/InstCombine/apint-shift-simplify.ll b/llvm/test/Transforms/InstCombine/apint-shift-simplify.ll index 63703ba112ac..693e80752006 100644 --- a/llvm/test/Transforms/InstCombine/apint-shift-simplify.ll +++ b/llvm/test/Transforms/InstCombine/apint-shift-simplify.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i41 @test0(i41 %A, i41 %B, i41 %C) { %X = shl i41 %A, %C diff --git a/llvm/test/Transforms/InstCombine/apint-shift.ll b/llvm/test/Transforms/InstCombine/apint-shift.ll index 908aeac0cea2..a1f164cca32e 100644 --- a/llvm/test/Transforms/InstCombine/apint-shift.ll +++ b/llvm/test/Transforms/InstCombine/apint-shift.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i55 @test6(i55 %A) { ; CHECK-LABEL: @test6( diff --git a/llvm/test/Transforms/InstCombine/apint-shl-trunc.ll b/llvm/test/Transforms/InstCombine/apint-shl-trunc.ll index 2241c88cb6b3..3d31a270acf9 100644 --- a/llvm/test/Transforms/InstCombine/apint-shl-trunc.ll +++ b/llvm/test/Transforms/InstCombine/apint-shl-trunc.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i1 @test0(i39 %X, i39 %A) { ; CHECK-LABEL: @test0( diff --git a/llvm/test/Transforms/InstCombine/apint-sub.ll b/llvm/test/Transforms/InstCombine/apint-sub.ll index e4094f1d4290..c3a2843077c9 100644 --- a/llvm/test/Transforms/InstCombine/apint-sub.ll +++ b/llvm/test/Transforms/InstCombine/apint-sub.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i23 @test1(i23 %A) { ; CHECK-LABEL: @test1( diff --git a/llvm/test/Transforms/InstCombine/apint-xor1.ll b/llvm/test/Transforms/InstCombine/apint-xor1.ll index 01cbcf158cd9..71436f141b7b 100644 --- a/llvm/test/Transforms/InstCombine/apint-xor1.ll +++ b/llvm/test/Transforms/InstCombine/apint-xor1.ll @@ -1,7 +1,7 @@ ; This test makes sure that xor instructions are properly eliminated. ; This test is for Integer BitWidth <= 64 && BitWidth % 8 != 0. -; RUN: opt < %s -instcombine -S | not grep "xor " +; RUN: opt < %s -passes=instcombine -S | not grep "xor " define i47 @test1(i47 %A, i47 %B) { diff --git a/llvm/test/Transforms/InstCombine/apint-xor2.ll b/llvm/test/Transforms/InstCombine/apint-xor2.ll index ab93c9238152..a340c89f91a7 100644 --- a/llvm/test/Transforms/InstCombine/apint-xor2.ll +++ b/llvm/test/Transforms/InstCombine/apint-xor2.ll @@ -1,7 +1,7 @@ ; This test makes sure that xor instructions are properly eliminated. ; This test is for Integer BitWidth > 64 && BitWidth <= 1024. -; RUN: opt < %s -instcombine -S | not grep "xor " +; RUN: opt < %s -passes=instcombine -S | not grep "xor " ; END. diff --git a/llvm/test/Transforms/InstCombine/ashr-lshr.ll b/llvm/test/Transforms/InstCombine/ashr-lshr.ll index 72fa0252d839..b1afb975435f 100644 --- a/llvm/test/Transforms/InstCombine/ashr-lshr.ll +++ b/llvm/test/Transforms/InstCombine/ashr-lshr.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @ashr_lshr_exact_ashr_only(i32 %x, i32 %y) { ; CHECK-LABEL: @ashr_lshr_exact_ashr_only( diff --git a/llvm/test/Transforms/InstCombine/ashr-or-mul-abs.ll b/llvm/test/Transforms/InstCombine/ashr-or-mul-abs.ll index ab390a209340..3cf312e426ed 100644 --- a/llvm/test/Transforms/InstCombine/ashr-or-mul-abs.ll +++ b/llvm/test/Transforms/InstCombine/ashr-or-mul-abs.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; ((ashr X, 31) | 1 ) * X --> abs(X) ; X * ((ashr X, 31) | 1 ) --> abs(X) diff --git a/llvm/test/Transforms/InstCombine/assoc-cast-assoc.ll b/llvm/test/Transforms/InstCombine/assoc-cast-assoc.ll index c6bec13bec47..07e224bdab92 100644 --- a/llvm/test/Transforms/InstCombine/assoc-cast-assoc.ll +++ b/llvm/test/Transforms/InstCombine/assoc-cast-assoc.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i5 @XorZextXor(i3 %a) { ; CHECK-LABEL: @XorZextXor( diff --git a/llvm/test/Transforms/InstCombine/assume-icmp-null-select.ll b/llvm/test/Transforms/InstCombine/assume-icmp-null-select.ll index dd433f169ba0..de6563802b73 100644 --- a/llvm/test/Transforms/InstCombine/assume-icmp-null-select.ll +++ b/llvm/test/Transforms/InstCombine/assume-icmp-null-select.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" diff --git a/llvm/test/Transforms/InstCombine/assume2.ll b/llvm/test/Transforms/InstCombine/assume2.ll index 964b91aa042e..6c5dd142af7c 100644 --- a/llvm/test/Transforms/InstCombine/assume2.ll +++ b/llvm/test/Transforms/InstCombine/assume2.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/assume_inevitable.ll b/llvm/test/Transforms/InstCombine/assume_inevitable.ll index 7b73c18c9aa5..23ed53bb4a7e 100644 --- a/llvm/test/Transforms/InstCombine/assume_inevitable.ll +++ b/llvm/test/Transforms/InstCombine/assume_inevitable.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Check that assume is propagated backwards through all ; operations that are `isGuaranteedToTransferExecutionToSuccessor` diff --git a/llvm/test/Transforms/InstCombine/atomic.ll b/llvm/test/Transforms/InstCombine/atomic.ll index c87a01a09eac..1182da0f6a3c 100644 --- a/llvm/test/Transforms/InstCombine/atomic.ll +++ b/llvm/test/Transforms/InstCombine/atomic.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S < %s -instcombine | FileCheck %s +; RUN: opt -S < %s -passes=instcombine | 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" target triple = "x86_64-apple-macosx10.7.0" diff --git a/llvm/test/Transforms/InstCombine/atomicrmw.ll b/llvm/test/Transforms/InstCombine/atomicrmw.ll index 6b594bed33c6..fbed4ddb41b5 100644 --- a/llvm/test/Transforms/InstCombine/atomicrmw.ll +++ b/llvm/test/Transforms/InstCombine/atomicrmw.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S -o - %s | FileCheck %s +; RUN: opt -passes=instcombine -S -o - %s | FileCheck %s ; Check that we can replace `atomicrmw LHS, 0` with `load atomic LHS`. ; This is possible when: ; - LHS, 0 == LHS diff --git a/llvm/test/Transforms/InstCombine/badmalloc.ll b/llvm/test/Transforms/InstCombine/badmalloc.ll index 2074d262ccbd..5eb74613e730 100644 --- a/llvm/test/Transforms/InstCombine/badmalloc.ll +++ b/llvm/test/Transforms/InstCombine/badmalloc.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" target triple = "x86_64-apple-darwin10.0" diff --git a/llvm/test/Transforms/InstCombine/bcmp-1.ll b/llvm/test/Transforms/InstCombine/bcmp-1.ll index 54400d0ec42b..aafdf2b9232c 100644 --- a/llvm/test/Transforms/InstCombine/bcmp-1.ll +++ b/llvm/test/Transforms/InstCombine/bcmp-1.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the bcmp library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-linux-gnu -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-linux-gnu -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:128:128-n8:16:32:64" diff --git a/llvm/test/Transforms/InstCombine/bcopy.ll b/llvm/test/Transforms/InstCombine/bcopy.ll index 6a53bad7eeb0..db25a810c9c8 100644 --- a/llvm/test/Transforms/InstCombine/bcopy.ll +++ b/llvm/test/Transforms/InstCombine/bcopy.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @bcopy(i8* nocapture readonly, i8* nocapture, i32) diff --git a/llvm/test/Transforms/InstCombine/binop-cast.ll b/llvm/test/Transforms/InstCombine/binop-cast.ll index 93cb9dc2176f..cdad98ab0c84 100644 --- a/llvm/test/Transforms/InstCombine/binop-cast.ll +++ b/llvm/test/Transforms/InstCombine/binop-cast.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use(i32) diff --git a/llvm/test/Transforms/InstCombine/binop-phi-operands.ll b/llvm/test/Transforms/InstCombine/binop-phi-operands.ll index b43081383156..a661416b6aa3 100644 --- a/llvm/test/Transforms/InstCombine/binop-phi-operands.ll +++ b/llvm/test/Transforms/InstCombine/binop-phi-operands.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use(i32) declare void @sideeffect() diff --git a/llvm/test/Transforms/InstCombine/binop-select.ll b/llvm/test/Transforms/InstCombine/binop-select.ll index 349d96054911..a28f2163fdc5 100644 --- a/llvm/test/Transforms/InstCombine/binop-select.ll +++ b/llvm/test/Transforms/InstCombine/binop-select.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use(i32) diff --git a/llvm/test/Transforms/InstCombine/bit-checks.ll b/llvm/test/Transforms/InstCombine/bit-checks.ll index 72b82db17a2b..5df3ce90b76c 100644 --- a/llvm/test/Transforms/InstCombine/bit-checks.ll +++ b/llvm/test/Transforms/InstCombine/bit-checks.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @main1(i32 %argc) { ; CHECK-LABEL: @main1( diff --git a/llvm/test/Transforms/InstCombine/bitcast-bigendian.ll b/llvm/test/Transforms/InstCombine/bitcast-bigendian.ll index bf07bec9e997..c56a402fa603 100644 --- a/llvm/test/Transforms/InstCombine/bitcast-bigendian.ll +++ b/llvm/test/Transforms/InstCombine/bitcast-bigendian.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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-f128:128:128-v128:128:128-n32:64" target triple = "powerpc64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/bitcast-bitcast.ll b/llvm/test/Transforms/InstCombine/bitcast-bitcast.ll index 0f46ff53bc18..11955bc018f9 100644 --- a/llvm/test/Transforms/InstCombine/bitcast-bitcast.ll +++ b/llvm/test/Transforms/InstCombine/bitcast-bitcast.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Check all scalar / vector combinations for a pair of bitcasts. diff --git a/llvm/test/Transforms/InstCombine/bitcast-function.ll b/llvm/test/Transforms/InstCombine/bitcast-function.ll index ca82165a49c9..6a742944b7dc 100644 --- a/llvm/test/Transforms/InstCombine/bitcast-function.ll +++ b/llvm/test/Transforms/InstCombine/bitcast-function.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine -o - %s | FileCheck %s +; RUN: opt -S -passes=instcombine -o - %s | FileCheck %s target datalayout = "e-p:32:32:32-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v16:16:16-v24:32:32-v32:32:32-v64:64:64-v128:128:128-a0:0:64" define internal <2 x i32> @func_v2i32(<2 x i32> %v) noinline nounwind { diff --git a/llvm/test/Transforms/InstCombine/bitcast-inselt-bitcast.ll b/llvm/test/Transforms/InstCombine/bitcast-inselt-bitcast.ll index a740403ea9db..b99111580277 100644 --- a/llvm/test/Transforms/InstCombine/bitcast-inselt-bitcast.ll +++ b/llvm/test/Transforms/InstCombine/bitcast-inselt-bitcast.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S -data-layout="E-n64" | FileCheck %s --check-prefixes=ALL,BE -; RUN: opt < %s -instcombine -S -data-layout="e-n64" | FileCheck %s --check-prefixes=ALL,LE +; RUN: opt < %s -passes=instcombine -S -data-layout="E-n64" | FileCheck %s --check-prefixes=ALL,BE +; RUN: opt < %s -passes=instcombine -S -data-layout="e-n64" | FileCheck %s --check-prefixes=ALL,LE declare void @use(<2 x i8>) diff --git a/llvm/test/Transforms/InstCombine/bitcast-inseltpoison.ll b/llvm/test/Transforms/InstCombine/bitcast-inseltpoison.ll index a77c8fe83f51..4e244a76b07d 100644 --- a/llvm/test/Transforms/InstCombine/bitcast-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/bitcast-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" target triple = "x86_64-apple-darwin10.0.0" diff --git a/llvm/test/Transforms/InstCombine/bitcast-phi-uselistorder.ll b/llvm/test/Transforms/InstCombine/bitcast-phi-uselistorder.ll index d5489484bddf..dad76c15b7c3 100644 --- a/llvm/test/Transforms/InstCombine/bitcast-phi-uselistorder.ll +++ b/llvm/test/Transforms/InstCombine/bitcast-phi-uselistorder.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s @Q = internal unnamed_addr global double 1.000000e+00, align 8 diff --git a/llvm/test/Transforms/InstCombine/bitcast-sext-vector.ll b/llvm/test/Transforms/InstCombine/bitcast-sext-vector.ll index d70bdbaf3727..2a5337a67f17 100644 --- a/llvm/test/Transforms/InstCombine/bitcast-sext-vector.ll +++ b/llvm/test/Transforms/InstCombine/bitcast-sext-vector.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; CHECK: sext ; Don't fold zero/sign extensions with a bitcast between a vector and scalar. diff --git a/llvm/test/Transforms/InstCombine/bitcast-store.ll b/llvm/test/Transforms/InstCombine/bitcast-store.ll index 27a6c177a273..beb3c133e446 100644 --- a/llvm/test/Transforms/InstCombine/bitcast-store.ll +++ b/llvm/test/Transforms/InstCombine/bitcast-store.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; Instcombine should preserve metadata and alignment while ; folding a bitcast into a store. diff --git a/llvm/test/Transforms/InstCombine/bitcast-vec-canon-inseltpoison.ll b/llvm/test/Transforms/InstCombine/bitcast-vec-canon-inseltpoison.ll index dd0267094835..2fa2bd9a795d 100644 --- a/llvm/test/Transforms/InstCombine/bitcast-vec-canon-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/bitcast-vec-canon-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define double @a(<1 x i64> %y) { ; CHECK-LABEL: @a( diff --git a/llvm/test/Transforms/InstCombine/bitcast-vec-canon.ll b/llvm/test/Transforms/InstCombine/bitcast-vec-canon.ll index 25b56a0fb8af..906c88ee817f 100644 --- a/llvm/test/Transforms/InstCombine/bitcast-vec-canon.ll +++ b/llvm/test/Transforms/InstCombine/bitcast-vec-canon.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define double @a(<1 x i64> %y) { ; CHECK-LABEL: @a( diff --git a/llvm/test/Transforms/InstCombine/bitcast.ll b/llvm/test/Transforms/InstCombine/bitcast.ll index 5ac6776ad05e..b8fe1f2c3886 100644 --- a/llvm/test/Transforms/InstCombine/bitcast.ll +++ b/llvm/test/Transforms/InstCombine/bitcast.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" target triple = "x86_64-apple-darwin10.0.0" diff --git a/llvm/test/Transforms/InstCombine/bitreverse-known-bits.ll b/llvm/test/Transforms/InstCombine/bitreverse-known-bits.ll index b8702f64dfdc..ae3eadda0d6f 100644 --- a/llvm/test/Transforms/InstCombine/bitreverse-known-bits.ll +++ b/llvm/test/Transforms/InstCombine/bitreverse-known-bits.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -S -instcombine | FileCheck %s +; RUN: opt < %s -S -passes=instcombine | FileCheck %s declare i8 @llvm.bitreverse.i8(i8) declare i32 @llvm.bitreverse.i32(i32) diff --git a/llvm/test/Transforms/InstCombine/bitreverse.ll b/llvm/test/Transforms/InstCombine/bitreverse.ll index b6e774566b8f..6bc0431c4864 100644 --- a/llvm/test/Transforms/InstCombine/bitreverse.ll +++ b/llvm/test/Transforms/InstCombine/bitreverse.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128-n8:16:32" diff --git a/llvm/test/Transforms/InstCombine/broadcast-inseltpoison.ll b/llvm/test/Transforms/InstCombine/broadcast-inseltpoison.ll index 1bb462af48ad..d327c7e38b58 100644 --- a/llvm/test/Transforms/InstCombine/broadcast-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/broadcast-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s define <4 x float> @good1(float %arg) { ; CHECK-LABEL: @good1( diff --git a/llvm/test/Transforms/InstCombine/broadcast.ll b/llvm/test/Transforms/InstCombine/broadcast.ll index c11c273093bb..8970c1ae263b 100644 --- a/llvm/test/Transforms/InstCombine/broadcast.ll +++ b/llvm/test/Transforms/InstCombine/broadcast.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s define <4 x float> @good1(float %arg) { ; CHECK-LABEL: @good1( diff --git a/llvm/test/Transforms/InstCombine/bswap-fold.ll b/llvm/test/Transforms/InstCombine/bswap-fold.ll index 47083b815e9f..7c33022df533 100644 --- a/llvm/test/Transforms/InstCombine/bswap-fold.ll +++ b/llvm/test/Transforms/InstCombine/bswap-fold.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; rdar://5992453 ; A & 255 diff --git a/llvm/test/Transforms/InstCombine/bswap-inseltpoison.ll b/llvm/test/Transforms/InstCombine/bswap-inseltpoison.ll index 7d5bcbed1447..714d6b3d3903 100644 --- a/llvm/test/Transforms/InstCombine/bswap-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/bswap-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128-n8:16:32" diff --git a/llvm/test/Transforms/InstCombine/bswap-known-bits.ll b/llvm/test/Transforms/InstCombine/bswap-known-bits.ll index 1f3285af65cc..695830b3c881 100644 --- a/llvm/test/Transforms/InstCombine/bswap-known-bits.ll +++ b/llvm/test/Transforms/InstCombine/bswap-known-bits.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -S -instcombine | FileCheck %s +; RUN: opt < %s -S -passes=instcombine | FileCheck %s ; Note: This is testing functionality in computeKnownBits. I'd have rather ; used instsimplify, but the bit test folding is apparently only in instcombine. diff --git a/llvm/test/Transforms/InstCombine/bswap.ll b/llvm/test/Transforms/InstCombine/bswap.ll index 86d8718073d5..233b0b9cdf3d 100644 --- a/llvm/test/Transforms/InstCombine/bswap.ll +++ b/llvm/test/Transforms/InstCombine/bswap.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128-n8:16:32" diff --git a/llvm/test/Transforms/InstCombine/builtin-dynamic-object-size.ll b/llvm/test/Transforms/InstCombine/builtin-dynamic-object-size.ll index 91c9d3c2827f..60b7e65559c9 100644 --- a/llvm/test/Transforms/InstCombine/builtin-dynamic-object-size.ll +++ b/llvm/test/Transforms/InstCombine/builtin-dynamic-object-size.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-apple-macosx10.14.0" diff --git a/llvm/test/Transforms/InstCombine/builtin-object-size-custom-dl.ll b/llvm/test/Transforms/InstCombine/builtin-object-size-custom-dl.ll index eec0f7684252..151c5b04ca48 100644 --- a/llvm/test/Transforms/InstCombine/builtin-object-size-custom-dl.ll +++ b/llvm/test/Transforms/InstCombine/builtin-object-size-custom-dl.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s target datalayout = "e-m:o-p:40:64:64:32-i64:64-f80:128-n8:16:32:64-S128" ; check that memory builtins can be handled. diff --git a/llvm/test/Transforms/InstCombine/builtin-object-size-offset.ll b/llvm/test/Transforms/InstCombine/builtin-object-size-offset.ll index 248cf644df89..cb6c2186099e 100644 --- a/llvm/test/Transforms/InstCombine/builtin-object-size-offset.ll +++ b/llvm/test/Transforms/InstCombine/builtin-object-size-offset.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; #include ; #include diff --git a/llvm/test/Transforms/InstCombine/builtin-object-size-ptr.ll b/llvm/test/Transforms/InstCombine/builtin-object-size-ptr.ll index 9096784be174..0fb26baa75e4 100644 --- a/llvm/test/Transforms/InstCombine/builtin-object-size-ptr.ll +++ b/llvm/test/Transforms/InstCombine/builtin-object-size-ptr.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; int foo() { ; struct V { char buf1[10]; diff --git a/llvm/test/Transforms/InstCombine/byval.ll b/llvm/test/Transforms/InstCombine/byval.ll index 2af32b8b62c5..fa6b2bc2f80a 100644 --- a/llvm/test/Transforms/InstCombine/byval.ll +++ b/llvm/test/Transforms/InstCombine/byval.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine %s | FileCheck %s +; RUN: opt -S -passes=instcombine %s | FileCheck %s declare void @add_byval_callee(double*) diff --git a/llvm/test/Transforms/InstCombine/cabs-array.ll b/llvm/test/Transforms/InstCombine/cabs-array.ll index b1d42857d1cb..71051d9ca6fa 100644 --- a/llvm/test/Transforms/InstCombine/cabs-array.ll +++ b/llvm/test/Transforms/InstCombine/cabs-array.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define double @std_cabs([2 x double] %z) { ; CHECK-LABEL: @std_cabs( diff --git a/llvm/test/Transforms/InstCombine/cabs-discrete.ll b/llvm/test/Transforms/InstCombine/cabs-discrete.ll index ccbed0a1c9c0..38aaf45e65fa 100644 --- a/llvm/test/Transforms/InstCombine/cabs-discrete.ll +++ b/llvm/test/Transforms/InstCombine/cabs-discrete.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define double @std_cabs(double %real, double %imag) { ; CHECK-LABEL: @std_cabs( diff --git a/llvm/test/Transforms/InstCombine/call-callconv-mismatch.ll b/llvm/test/Transforms/InstCombine/call-callconv-mismatch.ll index de1110d952ba..4e27ceb194a4 100644 --- a/llvm/test/Transforms/InstCombine/call-callconv-mismatch.ll +++ b/llvm/test/Transforms/InstCombine/call-callconv-mismatch.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Verify that a cdecl-compatible calling convention does not trigger emitting ; unreachable idom `store i1 true, i1* undef`. diff --git a/llvm/test/Transforms/InstCombine/call-callconv.ll b/llvm/test/Transforms/InstCombine/call-callconv.ll index 48fdea4bb274..e2ff6c833fb7 100644 --- a/llvm/test/Transforms/InstCombine/call-callconv.ll +++ b/llvm/test/Transforms/InstCombine/call-callconv.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Verify that the non-default calling conv doesn't prevent the libcall simplification ; Layout specifies type of pointer which determines "size_t" diff --git a/llvm/test/Transforms/InstCombine/call-cast-attrs.ll b/llvm/test/Transforms/InstCombine/call-cast-attrs.ll index 87ac3dc76313..172a3361e9d5 100644 --- a/llvm/test/Transforms/InstCombine/call-cast-attrs.ll +++ b/llvm/test/Transforms/InstCombine/call-cast-attrs.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define signext i32 @b(i32* inreg %x) { ret i32 0 diff --git a/llvm/test/Transforms/InstCombine/call-cast-target-inalloca.ll b/llvm/test/Transforms/InstCombine/call-cast-target-inalloca.ll index bbf2008d5854..d2e102d13af5 100644 --- a/llvm/test/Transforms/InstCombine/call-cast-target-inalloca.ll +++ b/llvm/test/Transforms/InstCombine/call-cast-target-inalloca.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-p:32:32" target triple = "i686-pc-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/call-cast-target-preallocated.ll b/llvm/test/Transforms/InstCombine/call-cast-target-preallocated.ll index fc96a16fa8d0..c78937f52b56 100644 --- a/llvm/test/Transforms/InstCombine/call-cast-target-preallocated.ll +++ b/llvm/test/Transforms/InstCombine/call-cast-target-preallocated.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-p:32:32" target triple = "i686-pc-win32" diff --git a/llvm/test/Transforms/InstCombine/call-cast-target.ll b/llvm/test/Transforms/InstCombine/call-cast-target.ll index 309cac32414c..5f218d8e3036 100644 --- a/llvm/test/Transforms/InstCombine/call-cast-target.ll +++ b/llvm/test/Transforms/InstCombine/call-cast-target.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-p:32:32" target triple = "i686-pc-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/call-intrinsics.ll b/llvm/test/Transforms/InstCombine/call-intrinsics.ll index 1f327b99e9cb..dc2394c57d93 100644 --- a/llvm/test/Transforms/InstCombine/call-intrinsics.ll +++ b/llvm/test/Transforms/InstCombine/call-intrinsics.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine | llvm-dis +; RUN: opt < %s -passes=instcombine | llvm-dis @X = global i8 0 ; [#uses=3] @Y = global i8 12 ; [#uses=2] diff --git a/llvm/test/Transforms/InstCombine/call-returned.ll b/llvm/test/Transforms/InstCombine/call-returned.ll index bf442b0e9679..418856c9a508 100644 --- a/llvm/test/Transforms/InstCombine/call-returned.ll +++ b/llvm/test/Transforms/InstCombine/call-returned.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s declare i32 @passthru_i32(i32 returned) declare i8* @passthru_p8(i8* returned) diff --git a/llvm/test/Transforms/InstCombine/call.ll b/llvm/test/Transforms/InstCombine/call.ll index c494bfb62c79..747234d39dd5 100644 --- a/llvm/test/Transforms/InstCombine/call.ll +++ b/llvm/test/Transforms/InstCombine/call.ll @@ -1,5 +1,5 @@ ; Ignore stderr, we expect warnings there -; RUN: opt < %s -instcombine 2> /dev/null -S | FileCheck %s +; RUN: opt < %s -passes=instcombine 2> /dev/null -S | FileCheck %s target datalayout = "E-p:64:64:64-p1:16:16:16-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128" diff --git a/llvm/test/Transforms/InstCombine/call2.ll b/llvm/test/Transforms/InstCombine/call2.ll index 70a5b3ce36e3..1e13a682a058 100644 --- a/llvm/test/Transforms/InstCombine/call2.ll +++ b/llvm/test/Transforms/InstCombine/call2.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine | llvm-dis +; RUN: opt < %s -passes=instcombine | llvm-dis ; This used to crash trying to do a double-to-pointer conversion define i32 @bar() { diff --git a/llvm/test/Transforms/InstCombine/call_nonnull_arg.ll b/llvm/test/Transforms/InstCombine/call_nonnull_arg.ll index 080bb1e7ac04..5173c43751f3 100644 --- a/llvm/test/Transforms/InstCombine/call_nonnull_arg.ll +++ b/llvm/test/Transforms/InstCombine/call_nonnull_arg.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; InstCombine should mark null-checked argument as nonnull at callsite declare void @dummy(i32*, i32) diff --git a/llvm/test/Transforms/InstCombine/calloc-mismatch.ll b/llvm/test/Transforms/InstCombine/calloc-mismatch.ll index f81bde320b7a..b8d3bbc30a1c 100644 --- a/llvm/test/Transforms/InstCombine/calloc-mismatch.ll +++ b/llvm/test/Transforms/InstCombine/calloc-mismatch.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; The argument types should match if it is the standard library calloc. ; Don't crash analyzing an imposter. diff --git a/llvm/test/Transforms/InstCombine/callsite_nonnull_args_through_casts.ll b/llvm/test/Transforms/InstCombine/callsite_nonnull_args_through_casts.ll index b7a1d1d3fb7f..866a71ac9e99 100644 --- a/llvm/test/Transforms/InstCombine/callsite_nonnull_args_through_casts.ll +++ b/llvm/test/Transforms/InstCombine/callsite_nonnull_args_through_casts.ll @@ -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" diff --git a/llvm/test/Transforms/InstCombine/canonicalize-ashr-shl-to-masking.ll b/llvm/test/Transforms/InstCombine/canonicalize-ashr-shl-to-masking.ll index 8d29372c3a72..6feb527c6672 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-ashr-shl-to-masking.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-ashr-shl-to-masking.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=37603 ; https://reviews.llvm.org/D46760#1123713 diff --git a/llvm/test/Transforms/InstCombine/canonicalize-clamp-like-pattern-between-negative-and-positive-thresholds.ll b/llvm/test/Transforms/InstCombine/canonicalize-clamp-like-pattern-between-negative-and-positive-thresholds.ll index 45be77e54f32..c7035cde6e43 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-clamp-like-pattern-between-negative-and-positive-thresholds.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-clamp-like-pattern-between-negative-and-positive-thresholds.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Given a pattern like: ; %old_cmp1 = icmp slt i32 %x, C2 diff --git a/llvm/test/Transforms/InstCombine/canonicalize-clamp-like-pattern-between-zero-and-positive-threshold.ll b/llvm/test/Transforms/InstCombine/canonicalize-clamp-like-pattern-between-zero-and-positive-threshold.ll index 73ca2977e178..a7600665adbd 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-clamp-like-pattern-between-zero-and-positive-threshold.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-clamp-like-pattern-between-zero-and-positive-threshold.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Given a pattern like: ; %old_cmp1 = icmp slt i32 %x, C2 diff --git a/llvm/test/Transforms/InstCombine/canonicalize-clamp-with-select-of-constant-threshold-pattern.ll b/llvm/test/Transforms/InstCombine/canonicalize-clamp-with-select-of-constant-threshold-pattern.ll index 593e50abdb12..b3e11816746c 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-clamp-with-select-of-constant-threshold-pattern.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-clamp-with-select-of-constant-threshold-pattern.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; These patterns are all just traditional clamp pattern. ; But they are not canonical, the and/or/xor is more canonically represented diff --git a/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-eq-to-icmp-ule.ll b/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-eq-to-icmp-ule.ll index 6a3564eb798b..dd17f0b5db59 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-eq-to-icmp-ule.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-eq-to-icmp-ule.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38123 diff --git a/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ne-to-icmp-ugt.ll b/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ne-to-icmp-ugt.ll index 49f76fd9f407..f61b2a0e4d8a 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ne-to-icmp-ugt.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ne-to-icmp-ugt.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38123 diff --git a/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-sge-to-icmp-sle.ll b/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-sge-to-icmp-sle.ll index 3bfb48f41fe4..3faa3e0fa1e1 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-sge-to-icmp-sle.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-sge-to-icmp-sle.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38123 diff --git a/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-sgt-to-icmp-sgt.ll b/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-sgt-to-icmp-sgt.ll index 16d063ee0552..29fa1f2af8ef 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-sgt-to-icmp-sgt.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-sgt-to-icmp-sgt.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38123 diff --git a/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-sle-to-icmp-sle.ll b/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-sle-to-icmp-sle.ll index eec8bdc097b9..e7c608f69f1a 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-sle-to-icmp-sle.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-sle-to-icmp-sle.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38123 diff --git a/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-slt-to-icmp-sgt.ll b/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-slt-to-icmp-sgt.ll index b71172b42634..873149710f4b 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-slt-to-icmp-sgt.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-slt-to-icmp-sgt.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38123 diff --git a/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-uge-to-icmp-ule.ll b/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-uge-to-icmp-ule.ll index 1ae84cf8144e..321a6933b5fe 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-uge-to-icmp-ule.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-uge-to-icmp-ule.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38123 diff --git a/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ugt-to-icmp-ugt.ll b/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ugt-to-icmp-ugt.ll index 9b1d405935d0..4674e3a2c109 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ugt-to-icmp-ugt.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ugt-to-icmp-ugt.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38123 diff --git a/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ule-to-icmp-ule.ll b/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ule-to-icmp-ule.ll index 2d2bfce73b72..753a5938b599 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ule-to-icmp-ule.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ule-to-icmp-ule.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38123 diff --git a/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ult-to-icmp-ugt.ll b/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ult-to-icmp-ugt.ll index 728f9e0ddf8a..48b3ef52ee51 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ult-to-icmp-ugt.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ult-to-icmp-ugt.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38123 diff --git a/llvm/test/Transforms/InstCombine/canonicalize-lack-of-signed-truncation-check.ll b/llvm/test/Transforms/InstCombine/canonicalize-lack-of-signed-truncation-check.ll index 60aa4d444ca5..303365b09868 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-lack-of-signed-truncation-check.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-lack-of-signed-truncation-check.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38149 diff --git a/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-and-icmp-eq-to-icmp-ule.ll b/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-and-icmp-eq-to-icmp-ule.ll index dc5fbebc2303..be2629dfdda5 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-and-icmp-eq-to-icmp-ule.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-and-icmp-eq-to-icmp-ule.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38123 diff --git a/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-and-icmp-ne-to-icmp-ugt.ll b/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-and-icmp-ne-to-icmp-ugt.ll index 535c628234aa..354d6e7a1a73 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-and-icmp-ne-to-icmp-ugt.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-and-icmp-ne-to-icmp-ugt.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38123 diff --git a/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v2-and-icmp-eq-to-icmp-ule.ll b/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v2-and-icmp-eq-to-icmp-ule.ll index 42b7b3e9359d..1893c7372825 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v2-and-icmp-eq-to-icmp-ule.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v2-and-icmp-eq-to-icmp-ule.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38123 diff --git a/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v2-and-icmp-ne-to-icmp-ugt.ll b/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v2-and-icmp-ne-to-icmp-ugt.ll index 2826d2d33c18..835e7dd7cb73 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v2-and-icmp-ne-to-icmp-ugt.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v2-and-icmp-ne-to-icmp-ugt.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38123 diff --git a/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v3-and-icmp-eq-to-icmp-ule.ll b/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v3-and-icmp-eq-to-icmp-ule.ll index af7700c84735..82f1abf7dc9e 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v3-and-icmp-eq-to-icmp-ule.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v3-and-icmp-eq-to-icmp-ule.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38123 diff --git a/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v3-and-icmp-ne-to-icmp-ugt.ll b/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v3-and-icmp-ne-to-icmp-ugt.ll index dfe5b713284c..4dd3af3d7d35 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v3-and-icmp-ne-to-icmp-ugt.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v3-and-icmp-ne-to-icmp-ugt.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38123 diff --git a/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v4-and-icmp-eq-to-icmp-ule.ll b/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v4-and-icmp-eq-to-icmp-ule.ll index 7a32c5e3f039..5bc2754a4c84 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v4-and-icmp-eq-to-icmp-ule.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v4-and-icmp-eq-to-icmp-ule.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38123 diff --git a/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v4-and-icmp-ne-to-icmp-ugt.ll b/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v4-and-icmp-ne-to-icmp-ugt.ll index 86a91679a26b..6b539b1bc9b4 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v4-and-icmp-ne-to-icmp-ugt.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v4-and-icmp-ne-to-icmp-ugt.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38123 diff --git a/llvm/test/Transforms/InstCombine/canonicalize-lshr-shl-to-masking.ll b/llvm/test/Transforms/InstCombine/canonicalize-lshr-shl-to-masking.ll index c8ccd8f6549a..05e522d214ff 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-lshr-shl-to-masking.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-lshr-shl-to-masking.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=37603 ; https://reviews.llvm.org/D46760#1123713 diff --git a/llvm/test/Transforms/InstCombine/canonicalize-selects-icmp-condition-bittest.ll b/llvm/test/Transforms/InstCombine/canonicalize-selects-icmp-condition-bittest.ll index 57390b376b50..dd8385764cc4 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-selects-icmp-condition-bittest.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-selects-icmp-condition-bittest.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use8(i8) declare void @use1(i1) diff --git a/llvm/test/Transforms/InstCombine/canonicalize-shl-lshr-to-masking.ll b/llvm/test/Transforms/InstCombine/canonicalize-shl-lshr-to-masking.ll index 265570dfe6d5..a12cea49786b 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-shl-lshr-to-masking.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-shl-lshr-to-masking.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=37603 diff --git a/llvm/test/Transforms/InstCombine/canonicalize-signed-truncation-check.ll b/llvm/test/Transforms/InstCombine/canonicalize-signed-truncation-check.ll index 8e8152a520a6..40beb1710684 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-signed-truncation-check.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-signed-truncation-check.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38149 diff --git a/llvm/test/Transforms/InstCombine/canonicalize-vector-extract.ll b/llvm/test/Transforms/InstCombine/canonicalize-vector-extract.ll index 4263650ec59a..cd2b954295b5 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-vector-extract.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-vector-extract.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; llvm.experimental.vector.extract canonicalizes to shufflevector in the fixed case. In the ; scalable case, we lower to the EXTRACT_SUBVECTOR ISD node. diff --git a/llvm/test/Transforms/InstCombine/canonicalize-vector-insert.ll b/llvm/test/Transforms/InstCombine/canonicalize-vector-insert.ll index 2c0056d799a1..323cdc6dd327 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize-vector-insert.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize-vector-insert.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; llvm.experimental.vector.insert canonicalizes to shufflevector in the fixed case. In the ; scalable case, we lower to the INSERT_SUBVECTOR ISD node. diff --git a/llvm/test/Transforms/InstCombine/canonicalize_branch.ll b/llvm/test/Transforms/InstCombine/canonicalize_branch.ll index 401490879e92..bffaf102e307 100644 --- a/llvm/test/Transforms/InstCombine/canonicalize_branch.ll +++ b/llvm/test/Transforms/InstCombine/canonicalize_branch.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Test an already canonical branch to make sure we don't flip those. define i32 @eq(i32 %X, i32 %Y) { diff --git a/llvm/test/Transforms/InstCombine/cast-call-combine-prof.ll b/llvm/test/Transforms/InstCombine/cast-call-combine-prof.ll index c04ae51a53c5..f5be73f9c049 100644 --- a/llvm/test/Transforms/InstCombine/cast-call-combine-prof.ll +++ b/llvm/test/Transforms/InstCombine/cast-call-combine-prof.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck -enable-var-scope %s +; RUN: opt -S -passes=instcombine < %s | FileCheck -enable-var-scope %s ; Check that instcombine preserves !prof metadata when removing function ; prototype casts. diff --git a/llvm/test/Transforms/InstCombine/cast-callee-deopt-bundles.ll b/llvm/test/Transforms/InstCombine/cast-callee-deopt-bundles.ll index 0f8601b855cf..af8f6376756b 100644 --- a/llvm/test/Transforms/InstCombine/cast-callee-deopt-bundles.ll +++ b/llvm/test/Transforms/InstCombine/cast-callee-deopt-bundles.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s declare void @foo(i32) diff --git a/llvm/test/Transforms/InstCombine/cast-int-fcmp-eq-0.ll b/llvm/test/Transforms/InstCombine/cast-int-fcmp-eq-0.ll index 854c1069eb53..b04033d94a26 100644 --- a/llvm/test/Transforms/InstCombine/cast-int-fcmp-eq-0.ll +++ b/llvm/test/Transforms/InstCombine/cast-int-fcmp-eq-0.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s define i1 @i32_cast_cmp_oeq_int_0_uitofp(i32 %i) { ; CHECK-LABEL: @i32_cast_cmp_oeq_int_0_uitofp( diff --git a/llvm/test/Transforms/InstCombine/cast-int-icmp-eq-0.ll b/llvm/test/Transforms/InstCombine/cast-int-icmp-eq-0.ll index f18bfe7531c2..e7ce2a8543dd 100644 --- a/llvm/test/Transforms/InstCombine/cast-int-icmp-eq-0.ll +++ b/llvm/test/Transforms/InstCombine/cast-int-icmp-eq-0.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; This is https://bugs.llvm.org/show_bug.cgi?id=36682 diff --git a/llvm/test/Transforms/InstCombine/cast-select.ll b/llvm/test/Transforms/InstCombine/cast-select.ll index f54b570b1dbd..0bc7cdaf7eb2 100644 --- a/llvm/test/Transforms/InstCombine/cast-select.ll +++ b/llvm/test/Transforms/InstCombine/cast-select.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i64 @zext(i32 %x, i32 %y, i32 %z) { ; CHECK-LABEL: @zext( diff --git a/llvm/test/Transforms/InstCombine/cast-set-preserve-signed-dbg-val.ll b/llvm/test/Transforms/InstCombine/cast-set-preserve-signed-dbg-val.ll index 4d780aa9081e..775a0e164f95 100644 --- a/llvm/test/Transforms/InstCombine/cast-set-preserve-signed-dbg-val.ll +++ b/llvm/test/Transforms/InstCombine/cast-set-preserve-signed-dbg-val.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; CHECK-LABEL: define {{.*}} @test5 define i16 @test5(i16 %A) !dbg !34 { diff --git a/llvm/test/Transforms/InstCombine/cast-set.ll b/llvm/test/Transforms/InstCombine/cast-set.ll index 6da6dc3236c1..438ddce84b65 100644 --- a/llvm/test/Transforms/InstCombine/cast-set.ll +++ b/llvm/test/Transforms/InstCombine/cast-set.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" diff --git a/llvm/test/Transforms/InstCombine/cast-unsigned-icmp-eqcmp-0.ll b/llvm/test/Transforms/InstCombine/cast-unsigned-icmp-eqcmp-0.ll index e1fa27256b14..0752576fad45 100644 --- a/llvm/test/Transforms/InstCombine/cast-unsigned-icmp-eqcmp-0.ll +++ b/llvm/test/Transforms/InstCombine/cast-unsigned-icmp-eqcmp-0.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; This is related to https://bugs.llvm.org/show_bug.cgi?id=36682 diff --git a/llvm/test/Transforms/InstCombine/cast.ll b/llvm/test/Transforms/InstCombine/cast.ll index 054fc54ee726..735f0f918107 100644 --- a/llvm/test/Transforms/InstCombine/cast.ll +++ b/llvm/test/Transforms/InstCombine/cast.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Tests to make sure elimination of casts is working correctly -; RUN: opt < %s -instcombine -S -data-layout="E-p:64:64:64-p1:32:32:32-p2:64:64:64-p3:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128-n8:16:32:64" | FileCheck %s --check-prefixes=ALL,BE -; RUN: opt < %s -instcombine -S -data-layout="e-p:64:64:64-p1:32:32:32-p2:64:64:64-p3:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128-n8:16:32:64" | FileCheck %s --check-prefixes=ALL,LE +; RUN: opt < %s -passes=instcombine -S -data-layout="E-p:64:64:64-p1:32:32:32-p2:64:64:64-p3:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128-n8:16:32:64" | FileCheck %s --check-prefixes=ALL,BE +; RUN: opt < %s -passes=instcombine -S -data-layout="e-p:64:64:64-p1:32:32:32-p2:64:64:64-p3:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128-n8:16:32:64" | FileCheck %s --check-prefixes=ALL,LE declare void @use_i32(i32) declare void @use_v2i32(<2 x i32>) diff --git a/llvm/test/Transforms/InstCombine/cast_ptr.ll b/llvm/test/Transforms/InstCombine/cast_ptr.ll index 7affbc962532..234644ab01fb 100644 --- a/llvm/test/Transforms/InstCombine/cast_ptr.ll +++ b/llvm/test/Transforms/InstCombine/cast_ptr.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Tests to make sure elimination of casts is working correctly -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "p:32:32-p1:32:32-p2:16:16" diff --git a/llvm/test/Transforms/InstCombine/catchswitch-phi.ll b/llvm/test/Transforms/InstCombine/catchswitch-phi.ll index 28695704097b..9ab66235ce95 100644 --- a/llvm/test/Transforms/InstCombine/catchswitch-phi.ll +++ b/llvm/test/Transforms/InstCombine/catchswitch-phi.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128-ni:1" target triple = "wasm32-unknown-unknown" diff --git a/llvm/test/Transforms/InstCombine/ceil.ll b/llvm/test/Transforms/InstCombine/ceil.ll index 9f965a3c34b4..2d4e09b1c089 100644 --- a/llvm/test/Transforms/InstCombine/ceil.ll +++ b/llvm/test/Transforms/InstCombine/ceil.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s declare float @llvm.ceil.f32(float) #0 declare double @llvm.ceil.f64(double) #0 diff --git a/llvm/test/Transforms/InstCombine/clamp-to-minmax.ll b/llvm/test/Transforms/InstCombine/clamp-to-minmax.ll index a872357aa686..79122a6867bc 100644 --- a/llvm/test/Transforms/InstCombine/clamp-to-minmax.ll +++ b/llvm/test/Transforms/InstCombine/clamp-to-minmax.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; (X < C1) ? C1 : MIN(X, C2) define float @clamp_float_fast_ordered_strict_maxmin(float %x) { diff --git a/llvm/test/Transforms/InstCombine/cmp-intrinsic.ll b/llvm/test/Transforms/InstCombine/cmp-intrinsic.ll index 599a749954d2..0eb565ef7932 100644 --- a/llvm/test/Transforms/InstCombine/cmp-intrinsic.ll +++ b/llvm/test/Transforms/InstCombine/cmp-intrinsic.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare i16 @llvm.bswap.i16(i16) declare i32 @llvm.bswap.i32(i32) diff --git a/llvm/test/Transforms/InstCombine/cmp-x-vs-neg-x.ll b/llvm/test/Transforms/InstCombine/cmp-x-vs-neg-x.ll index f5268ecb433d..c5ff0f90fdae 100644 --- a/llvm/test/Transforms/InstCombine/cmp-x-vs-neg-x.ll +++ b/llvm/test/Transforms/InstCombine/cmp-x-vs-neg-x.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare i8 @gen8() declare void @use8(i8) diff --git a/llvm/test/Transforms/InstCombine/commutative-intrinsics.ll b/llvm/test/Transforms/InstCombine/commutative-intrinsics.ll index 3622904fa07d..ebcdffeafeed 100644 --- a/llvm/test/Transforms/InstCombine/commutative-intrinsics.ll +++ b/llvm/test/Transforms/InstCombine/commutative-intrinsics.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s define i35 @smax(i35 %x) { ; CHECK-LABEL: @smax( diff --git a/llvm/test/Transforms/InstCombine/compare-3way.ll b/llvm/test/Transforms/InstCombine/compare-3way.ll index 663d470df874..15d48f306446 100644 --- a/llvm/test/Transforms/InstCombine/compare-3way.ll +++ b/llvm/test/Transforms/InstCombine/compare-3way.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s declare void @use(i32) diff --git a/llvm/test/Transforms/InstCombine/compare-alloca.ll b/llvm/test/Transforms/InstCombine/compare-alloca.ll index 414a07825f2f..ff5517641205 100644 --- a/llvm/test/Transforms/InstCombine/compare-alloca.ll +++ b/llvm/test/Transforms/InstCombine/compare-alloca.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S %s | FileCheck %s +; RUN: opt -passes=instcombine -S %s | FileCheck %s target datalayout = "p:32:32" diff --git a/llvm/test/Transforms/InstCombine/compare-signs.ll b/llvm/test/Transforms/InstCombine/compare-signs.ll index 2be4c7813e1e..7b1e18756241 100644 --- a/llvm/test/Transforms/InstCombine/compare-signs.ll +++ b/llvm/test/Transforms/InstCombine/compare-signs.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; PR5438 diff --git a/llvm/test/Transforms/InstCombine/compare-udiv.ll b/llvm/test/Transforms/InstCombine/compare-udiv.ll index a15d15feae10..0d8c05d5c6bd 100644 --- a/llvm/test/Transforms/InstCombine/compare-udiv.ll +++ b/llvm/test/Transforms/InstCombine/compare-udiv.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s define i1 @test1(i32 %n, i32 %d) { ; CHECK-LABEL: @test1( diff --git a/llvm/test/Transforms/InstCombine/compare-unescaped.ll b/llvm/test/Transforms/InstCombine/compare-unescaped.ll index a19f80396847..9f91ccbcc8e4 100644 --- a/llvm/test/Transforms/InstCombine/compare-unescaped.ll +++ b/llvm/test/Transforms/InstCombine/compare-unescaped.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s @gp = global i32* null, align 8 diff --git a/llvm/test/Transforms/InstCombine/conditional-variable-length-signext-after-high-bit-extract.ll b/llvm/test/Transforms/InstCombine/conditional-variable-length-signext-after-high-bit-extract.ll index d19e860a2c1d..15571df7b09d 100644 --- a/llvm/test/Transforms/InstCombine/conditional-variable-length-signext-after-high-bit-extract.ll +++ b/llvm/test/Transforms/InstCombine/conditional-variable-length-signext-after-high-bit-extract.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we extract (via lshr) some high bits, and then perform their sign-extension ; conditionally depending on whether the extracted value is negative or not diff --git a/llvm/test/Transforms/InstCombine/consecutive-fences.ll b/llvm/test/Transforms/InstCombine/consecutive-fences.ll index 73421f8d15af..ca5e576ef011 100644 --- a/llvm/test/Transforms/InstCombine/consecutive-fences.ll +++ b/llvm/test/Transforms/InstCombine/consecutive-fences.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S %s | FileCheck %s +; RUN: opt -passes=instcombine -S %s | FileCheck %s ; Make sure we collapse the fences in this case diff --git a/llvm/test/Transforms/InstCombine/constant-expr-datalayout.ll b/llvm/test/Transforms/InstCombine/constant-expr-datalayout.ll index cdecfc91f592..cd75056dd1b1 100644 --- a/llvm/test/Transforms/InstCombine/constant-expr-datalayout.ll +++ b/llvm/test/Transforms/InstCombine/constant-expr-datalayout.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine %s -S -o - | FileCheck %s +; RUN: opt -passes=instcombine %s -S -o - | 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" diff --git a/llvm/test/Transforms/InstCombine/constant-fold-address-space-pointer.ll b/llvm/test/Transforms/InstCombine/constant-fold-address-space-pointer.ll index 04f15ece02ab..436c3c603e30 100644 --- a/llvm/test/Transforms/InstCombine/constant-fold-address-space-pointer.ll +++ b/llvm/test/Transforms/InstCombine/constant-fold-address-space-pointer.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine %s -o - | FileCheck %s +; RUN: opt -S -passes=instcombine %s -o - | FileCheck %s target datalayout = "e-p:32:32:32-p1:64:64:64-p2:8:8:8-p3:16:16:16-p4:16:16:16-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:32" @g = addrspace(3) global i32 89 diff --git a/llvm/test/Transforms/InstCombine/constant-fold-alias.ll b/llvm/test/Transforms/InstCombine/constant-fold-alias.ll index 810687255f61..9bdbcf9902a6 100644 --- a/llvm/test/Transforms/InstCombine/constant-fold-alias.ll +++ b/llvm/test/Transforms/InstCombine/constant-fold-alias.ll @@ -1,4 +1,4 @@ -; RUN: opt -S < %s -instcombine | FileCheck %s +; RUN: opt -S < %s -passes=instcombine | FileCheck %s target datalayout = "e-p1:16:16-p2:32:32-p3:64:64" diff --git a/llvm/test/Transforms/InstCombine/constant-fold-compare.ll b/llvm/test/Transforms/InstCombine/constant-fold-compare.ll index 6e41e2f68026..14564d6d3e19 100644 --- a/llvm/test/Transforms/InstCombine/constant-fold-compare.ll +++ b/llvm/test/Transforms/InstCombine/constant-fold-compare.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" define i32 @a() nounwind readnone { diff --git a/llvm/test/Transforms/InstCombine/constant-fold-gep.ll b/llvm/test/Transforms/InstCombine/constant-fold-gep.ll index cd49353f707b..53fe95afc2d0 100644 --- a/llvm/test/Transforms/InstCombine/constant-fold-gep.ll +++ b/llvm/test/Transforms/InstCombine/constant-fold-gep.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "E-p:64:64:64-p1:16:16:16-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64" ; Constant folding should fix notionally out-of-bounds indices diff --git a/llvm/test/Transforms/InstCombine/constant-fold-iteration.ll b/llvm/test/Transforms/InstCombine/constant-fold-iteration.ll index e1b692173ce8..f256cc300b0b 100644 --- a/llvm/test/Transforms/InstCombine/constant-fold-iteration.ll +++ b/llvm/test/Transforms/InstCombine/constant-fold-iteration.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S -debug 2>&1 | FileCheck %s +; RUN: opt < %s -passes=instcombine -S -debug 2>&1 | FileCheck %s ; REQUIRES: asserts 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" diff --git a/llvm/test/Transforms/InstCombine/constant-fold-libfunc.ll b/llvm/test/Transforms/InstCombine/constant-fold-libfunc.ll index 6af77f17f934..474d7b884989 100644 --- a/llvm/test/Transforms/InstCombine/constant-fold-libfunc.ll +++ b/llvm/test/Transforms/InstCombine/constant-fold-libfunc.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare double @acos(double) willreturn diff --git a/llvm/test/Transforms/InstCombine/constant-fold-math.ll b/llvm/test/Transforms/InstCombine/constant-fold-math.ll index 27578387f827..fc3f1d59d649 100644 --- a/llvm/test/Transforms/InstCombine/constant-fold-math.ll +++ b/llvm/test/Transforms/InstCombine/constant-fold-math.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s declare float @llvm.fma.f32(float, float, float) #0 declare float @llvm.fmuladd.f32(float, float, float) #0 diff --git a/llvm/test/Transforms/InstCombine/constant-fold-shifts.ll b/llvm/test/Transforms/InstCombine/constant-fold-shifts.ll index 1a5e0c35f51f..329d772850a2 100644 --- a/llvm/test/Transforms/InstCombine/constant-fold-shifts.ll +++ b/llvm/test/Transforms/InstCombine/constant-fold-shifts.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s @A = external constant i32 diff --git a/llvm/test/Transforms/InstCombine/convergent.ll b/llvm/test/Transforms/InstCombine/convergent.ll index 1791de70875c..aa2f4a1b2773 100644 --- a/llvm/test/Transforms/InstCombine/convergent.ll +++ b/llvm/test/Transforms/InstCombine/convergent.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck -enable-var-scope %s +; RUN: opt -passes=instcombine -S < %s | FileCheck -enable-var-scope %s declare i32 @k() convergent declare i32 @f() diff --git a/llvm/test/Transforms/InstCombine/copysign.ll b/llvm/test/Transforms/InstCombine/copysign.ll index 1a8910b31132..6058fb646697 100644 --- a/llvm/test/Transforms/InstCombine/copysign.ll +++ b/llvm/test/Transforms/InstCombine/copysign.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s declare float @llvm.fabs.f32(float) declare float @llvm.copysign.f32(float, float) diff --git a/llvm/test/Transforms/InstCombine/cos-1.ll b/llvm/test/Transforms/InstCombine/cos-1.ll index 96f08e8a330a..e095e2bfbbd7 100644 --- a/llvm/test/Transforms/InstCombine/cos-1.ll +++ b/llvm/test/Transforms/InstCombine/cos-1.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s --check-prefixes=ANY,NO-FLOAT-SHRINK -; RUN: opt < %s -instcombine -enable-double-float-shrink -S | FileCheck %s --check-prefixes=ANY,DO-FLOAT-SHRINK +; RUN: opt < %s -passes=instcombine -S | FileCheck %s --check-prefixes=ANY,NO-FLOAT-SHRINK +; RUN: opt < %s -passes=instcombine -enable-double-float-shrink -S | FileCheck %s --check-prefixes=ANY,DO-FLOAT-SHRINK 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" diff --git a/llvm/test/Transforms/InstCombine/cos-2.ll b/llvm/test/Transforms/InstCombine/cos-2.ll index 47c894f947f8..3a1d0e0ecdca 100644 --- a/llvm/test/Transforms/InstCombine/cos-2.ll +++ b/llvm/test/Transforms/InstCombine/cos-2.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" diff --git a/llvm/test/Transforms/InstCombine/cos-sin-intrinsic.ll b/llvm/test/Transforms/InstCombine/cos-sin-intrinsic.ll index 0c0adb2559e3..d96d225a2dbc 100644 --- a/llvm/test/Transforms/InstCombine/cos-sin-intrinsic.ll +++ b/llvm/test/Transforms/InstCombine/cos-sin-intrinsic.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare double @llvm.cos.f64(double %Val) declare float @llvm.cos.f32(float %Val) diff --git a/llvm/test/Transforms/InstCombine/crash.ll b/llvm/test/Transforms/InstCombine/crash.ll index ab6ca2671432..3ab2a99eb710 100644 --- a/llvm/test/Transforms/InstCombine/crash.ll +++ b/llvm/test/Transforms/InstCombine/crash.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S +; RUN: opt < %s -passes=instcombine -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:128:128:n8:16:32" target triple = "i386-apple-darwin10.0" diff --git a/llvm/test/Transforms/InstCombine/ctlz-cttz-bitreverse.ll b/llvm/test/Transforms/InstCombine/ctlz-cttz-bitreverse.ll index fb7459598296..fa9e0bfd039b 100644 --- a/llvm/test/Transforms/InstCombine/ctlz-cttz-bitreverse.ll +++ b/llvm/test/Transforms/InstCombine/ctlz-cttz-bitreverse.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s define i32 @ctlz_true_bitreverse(i32 %x) { ; CHECK-LABEL: @ctlz_true_bitreverse( diff --git a/llvm/test/Transforms/InstCombine/ctpop-bswap-bitreverse.ll b/llvm/test/Transforms/InstCombine/ctpop-bswap-bitreverse.ll index 00e2aa886667..2a308af068fb 100644 --- a/llvm/test/Transforms/InstCombine/ctpop-bswap-bitreverse.ll +++ b/llvm/test/Transforms/InstCombine/ctpop-bswap-bitreverse.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s define i32 @ctpop_bitreverse(i32 %x) { ; CHECK-LABEL: @ctpop_bitreverse( diff --git a/llvm/test/Transforms/InstCombine/ctpop-cttz.ll b/llvm/test/Transforms/InstCombine/ctpop-cttz.ll index d7cefe62affa..84af8b37a7a6 100644 --- a/llvm/test/Transforms/InstCombine/ctpop-cttz.ll +++ b/llvm/test/Transforms/InstCombine/ctpop-cttz.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -S -instcombine | FileCheck %s +; RUN: opt < %s -S -passes=instcombine | FileCheck %s declare i32 @llvm.ctpop.i32(i32) declare <2 x i32> @llvm.ctpop.v2i32(<2 x i32>) diff --git a/llvm/test/Transforms/InstCombine/ctpop.ll b/llvm/test/Transforms/InstCombine/ctpop.ll index 54d8ed99943b..d714d624cee7 100644 --- a/llvm/test/Transforms/InstCombine/ctpop.ll +++ b/llvm/test/Transforms/InstCombine/ctpop.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -S -instcombine | FileCheck %s +; RUN: opt < %s -S -passes=instcombine | FileCheck %s declare i32 @llvm.ctpop.i32(i32) declare i64 @llvm.ctpop.i64(i64) diff --git a/llvm/test/Transforms/InstCombine/cttz-abs.ll b/llvm/test/Transforms/InstCombine/cttz-abs.ll index ea536f22f14b..23a9a11e1109 100644 --- a/llvm/test/Transforms/InstCombine/cttz-abs.ll +++ b/llvm/test/Transforms/InstCombine/cttz-abs.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s define i32 @cttz_abs(i32 %x) { ; CHECK-LABEL: @cttz_abs( diff --git a/llvm/test/Transforms/InstCombine/cttz-negative.ll b/llvm/test/Transforms/InstCombine/cttz-negative.ll index feb7495fe3cd..38d264ff7216 100644 --- a/llvm/test/Transforms/InstCombine/cttz-negative.ll +++ b/llvm/test/Transforms/InstCombine/cttz-negative.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s define i32 @cttz_neg_value(i32 %x) { ; CHECK-LABEL: @cttz_neg_value( diff --git a/llvm/test/Transforms/InstCombine/cttz.ll b/llvm/test/Transforms/InstCombine/cttz.ll index dd027de552cb..114ef4292dfc 100644 --- a/llvm/test/Transforms/InstCombine/cttz.ll +++ b/llvm/test/Transforms/InstCombine/cttz.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -S -instcombine | FileCheck %s +; RUN: opt < %s -S -passes=instcombine | FileCheck %s declare i32 @llvm.cttz.i32(i32, i1) declare <2 x i64> @llvm.cttz.v2i64(<2 x i64>, i1) diff --git a/llvm/test/Transforms/InstCombine/dce-iterate.ll b/llvm/test/Transforms/InstCombine/dce-iterate.ll index 1dd452254101..08d3c8feb458 100644 --- a/llvm/test/Transforms/InstCombine/dce-iterate.ll +++ b/llvm/test/Transforms/InstCombine/dce-iterate.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "ret double .sy" +; RUN: opt < %s -passes=instcombine -S | grep "ret double .sy" define internal double @ScaleObjectAdd(double %sx, double %sy, double %sz) nounwind { entry: diff --git a/llvm/test/Transforms/InstCombine/deadcode.ll b/llvm/test/Transforms/InstCombine/deadcode.ll index 5b2cdb1bf3af..69d59f0f765a 100644 --- a/llvm/test/Transforms/InstCombine/deadcode.ll +++ b/llvm/test/Transforms/InstCombine/deadcode.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "ret i32 %A" +; RUN: opt < %s -passes=instcombine -S | grep "ret i32 %A" ; RUN: opt < %s -dce -S | not grep call.*llvm define i32 @test(i32 %A) { diff --git a/llvm/test/Transforms/InstCombine/debug-line.ll b/llvm/test/Transforms/InstCombine/debug-line.ll index 61ff5da7e06d..e5d55bdd0b69 100644 --- a/llvm/test/Transforms/InstCombine/debug-line.ll +++ b/llvm/test/Transforms/InstCombine/debug-line.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s @.str = private constant [3 x i8] c"%c\00" diff --git a/llvm/test/Transforms/InstCombine/debuginfo-dce.ll b/llvm/test/Transforms/InstCombine/debuginfo-dce.ll index 5b10f7ba435a..de7eb4a7a5ce 100644 --- a/llvm/test/Transforms/InstCombine/debuginfo-dce.ll +++ b/llvm/test/Transforms/InstCombine/debuginfo-dce.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine %s -S -o - | FileCheck %s +; RUN: opt -passes=instcombine %s -S -o - | FileCheck %s ; Verify that the eliminated instructions (bitcast, gep, load) are salvaged into ; a DIExpression. ; diff --git a/llvm/test/Transforms/InstCombine/debuginfo-dce2.ll b/llvm/test/Transforms/InstCombine/debuginfo-dce2.ll index b890ef535bd9..05d8b1b9665f 100644 --- a/llvm/test/Transforms/InstCombine/debuginfo-dce2.ll +++ b/llvm/test/Transforms/InstCombine/debuginfo-dce2.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S %s -o - | FileCheck %s +; RUN: opt -passes=instcombine -S %s -o - | FileCheck %s ; In this example, the cast from i8* to i32* becomes trivially dead. We should ; salvage its debug info. diff --git a/llvm/test/Transforms/InstCombine/debuginfo-scalable-typesize.ll b/llvm/test/Transforms/InstCombine/debuginfo-scalable-typesize.ll index fe7e98a21561..c08d25e38a24 100644 --- a/llvm/test/Transforms/InstCombine/debuginfo-scalable-typesize.ll +++ b/llvm/test/Transforms/InstCombine/debuginfo-scalable-typesize.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; This test is defending against a TypeSize message raised in the method ; `valueCoversEntireFragment` in Local.cpp because of an implicit cast from diff --git a/llvm/test/Transforms/InstCombine/debuginfo-sink.ll b/llvm/test/Transforms/InstCombine/debuginfo-sink.ll index 3fb27637022a..472197f23c2c 100644 --- a/llvm/test/Transforms/InstCombine/debuginfo-sink.ll +++ b/llvm/test/Transforms/InstCombine/debuginfo-sink.ll @@ -1,4 +1,4 @@ -; RUN: opt %s -instcombine -S | FileCheck %s +; RUN: opt %s -passes=instcombine -S | FileCheck %s ; Test sinking of dbg.values when instcombine sinks associated instructions. diff --git a/llvm/test/Transforms/InstCombine/demand_shrink_nsw.ll b/llvm/test/Transforms/InstCombine/demand_shrink_nsw.ll index be19fbc4f910..0426f6987898 100644 --- a/llvm/test/Transforms/InstCombine/demand_shrink_nsw.ll +++ b/llvm/test/Transforms/InstCombine/demand_shrink_nsw.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -o - -S %s | FileCheck %s +; RUN: opt -passes=instcombine -o - -S %s | FileCheck %s ; The constant at %v35 should be shrunk, but this must lead to the nsw flag of ; %v43 getting removed. diff --git a/llvm/test/Transforms/InstCombine/demorgan-sink-not-into-xor.ll b/llvm/test/Transforms/InstCombine/demorgan-sink-not-into-xor.ll index 8d03a55b5b5a..afbfed4b9f52 100644 --- a/llvm/test/Transforms/InstCombine/demorgan-sink-not-into-xor.ll +++ b/llvm/test/Transforms/InstCombine/demorgan-sink-not-into-xor.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38446 diff --git a/llvm/test/Transforms/InstCombine/demorgan.ll b/llvm/test/Transforms/InstCombine/demorgan.ll index 2ec662cd131b..9ef17bb70c36 100644 --- a/llvm/test/Transforms/InstCombine/demorgan.ll +++ b/llvm/test/Transforms/InstCombine/demorgan.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; (~A | ~B) == ~(A & B) diff --git a/llvm/test/Transforms/InstCombine/deref-alloc-fns.ll b/llvm/test/Transforms/InstCombine/deref-alloc-fns.ll index 50421cc66796..0b529358f6be 100644 --- a/llvm/test/Transforms/InstCombine/deref-alloc-fns.ll +++ b/llvm/test/Transforms/InstCombine/deref-alloc-fns.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s -; RUN: opt -mtriple=x86_64-unknown-linux-gnu < %s -instcombine -S | FileCheck %s --check-prefixes=CHECK,GNU +; RUN: opt -passes=instcombine -S < %s | FileCheck %s +; RUN: opt -mtriple=x86_64-unknown-linux-gnu < %s -passes=instcombine -S | FileCheck %s --check-prefixes=CHECK,GNU declare noalias i8* @malloc(i64) diff --git a/llvm/test/Transforms/InstCombine/disable-builtin.ll b/llvm/test/Transforms/InstCombine/disable-builtin.ll index a301b914b860..64a18d1aa4e6 100644 --- a/llvm/test/Transforms/InstCombine/disable-builtin.ll +++ b/llvm/test/Transforms/InstCombine/disable-builtin.ll @@ -1,8 +1,8 @@ ; Test that -disable-builtin works correctly. ; -; RUN: opt < %s -instcombine -disable-builtin strcat -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -disable-builtin strcat -S | FileCheck %s ; -; RUN: not opt < %s -instcombine -disable-builtin foobar -S 2>&1 | FileCheck --check-prefix=FOOBAR %s +; RUN: not opt < %s -passes=instcombine -disable-builtin foobar -S 2>&1 | FileCheck --check-prefix=FOOBAR %s ; FOOBAR: cannot disable nonexistent builtin function foobar 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" diff --git a/llvm/test/Transforms/InstCombine/distribute.ll b/llvm/test/Transforms/InstCombine/distribute.ll index c598b975ce80..b659828eeb28 100644 --- a/llvm/test/Transforms/InstCombine/distribute.ll +++ b/llvm/test/Transforms/InstCombine/distribute.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @factorize(i32 %x, i32 %y) { ; CHECK-LABEL: @factorize( diff --git a/llvm/test/Transforms/InstCombine/div-by-0-guard-before-smul_ov-not.ll b/llvm/test/Transforms/InstCombine/div-by-0-guard-before-smul_ov-not.ll index d35342161537..b125e7506c95 100644 --- a/llvm/test/Transforms/InstCombine/div-by-0-guard-before-smul_ov-not.ll +++ b/llvm/test/Transforms/InstCombine/div-by-0-guard-before-smul_ov-not.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt %s -instcombine -S | FileCheck %s +; RUN: opt %s -passes=instcombine -S | FileCheck %s declare { i4, i1 } @llvm.smul.with.overflow.i4(i4, i4) #1 diff --git a/llvm/test/Transforms/InstCombine/div-by-0-guard-before-smul_ov.ll b/llvm/test/Transforms/InstCombine/div-by-0-guard-before-smul_ov.ll index eb5dae6253a8..23bfc75b945b 100644 --- a/llvm/test/Transforms/InstCombine/div-by-0-guard-before-smul_ov.ll +++ b/llvm/test/Transforms/InstCombine/div-by-0-guard-before-smul_ov.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt %s -instcombine -S | FileCheck %s +; RUN: opt %s -passes=instcombine -S | FileCheck %s declare { i4, i1 } @llvm.smul.with.overflow.i4(i4, i4) #1 diff --git a/llvm/test/Transforms/InstCombine/div-by-0-guard-before-umul_ov-not.ll b/llvm/test/Transforms/InstCombine/div-by-0-guard-before-umul_ov-not.ll index a753106f8a8b..00b918d4bbb6 100644 --- a/llvm/test/Transforms/InstCombine/div-by-0-guard-before-umul_ov-not.ll +++ b/llvm/test/Transforms/InstCombine/div-by-0-guard-before-umul_ov-not.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt %s -instcombine -S | FileCheck %s +; RUN: opt %s -passes=instcombine -S | FileCheck %s declare { i4, i1 } @llvm.umul.with.overflow.i4(i4, i4) #1 diff --git a/llvm/test/Transforms/InstCombine/div-by-0-guard-before-umul_ov.ll b/llvm/test/Transforms/InstCombine/div-by-0-guard-before-umul_ov.ll index 008e01b3a7bd..dbc3b5e7a25b 100644 --- a/llvm/test/Transforms/InstCombine/div-by-0-guard-before-umul_ov.ll +++ b/llvm/test/Transforms/InstCombine/div-by-0-guard-before-umul_ov.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt %s -instcombine -S | FileCheck %s +; RUN: opt %s -passes=instcombine -S | FileCheck %s declare { i4, i1 } @llvm.umul.with.overflow.i4(i4, i4) #1 diff --git a/llvm/test/Transforms/InstCombine/div-shift-crash.ll b/llvm/test/Transforms/InstCombine/div-shift-crash.ll index 33fc558f35b1..a8bee8200622 100644 --- a/llvm/test/Transforms/InstCombine/div-shift-crash.ll +++ b/llvm/test/Transforms/InstCombine/div-shift-crash.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine < %s +; RUN: opt -passes=instcombine < %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-f128:128:128-v128:128:128-n32:64" target triple = "powerpc64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/div-shift.ll b/llvm/test/Transforms/InstCombine/div-shift.ll index 7d84fd6fdd3f..8ee9063894d9 100644 --- a/llvm/test/Transforms/InstCombine/div-shift.ll +++ b/llvm/test/Transforms/InstCombine/div-shift.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @t1(i16 zeroext %x, i32 %y) { ; CHECK-LABEL: @t1( diff --git a/llvm/test/Transforms/InstCombine/div.ll b/llvm/test/Transforms/InstCombine/div.ll index fea6c188500f..14e76e6ee639 100644 --- a/llvm/test/Transforms/InstCombine/div.ll +++ b/llvm/test/Transforms/InstCombine/div.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use(i32) diff --git a/llvm/test/Transforms/InstCombine/dont-distribute-phi.ll b/llvm/test/Transforms/InstCombine/dont-distribute-phi.ll index f7cf72851940..2a3257f2d08c 100644 --- a/llvm/test/Transforms/InstCombine/dont-distribute-phi.ll +++ b/llvm/test/Transforms/InstCombine/dont-distribute-phi.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; ; This test ensures that InstCombine does not distribute And over Xor ; using simplifications involving undef. diff --git a/llvm/test/Transforms/InstCombine/double-float-shrink-1.ll b/llvm/test/Transforms/InstCombine/double-float-shrink-1.ll index 65439eb1429f..13bf55417160 100644 --- a/llvm/test/Transforms/InstCombine/double-float-shrink-1.ll +++ b/llvm/test/Transforms/InstCombine/double-float-shrink-1.ll @@ -1,8 +1,8 @@ -; RUN: opt < %s -instcombine -S -mtriple x86_64-unknown-linux-gnu | FileCheck %s --check-prefixes=CHECK,LINUX,ISC99 -; RUN: opt < %s -instcombine -S -mtriple x86_64-pc-win32 | FileCheck %s --check-prefixes=CHECK,ISC99 -; RUN: opt < %s -instcombine -S -mtriple x86_64-pc-windows-msvc16 | FileCheck %s --check-prefixes=CHECK,MS64,ISC89 -; RUN: opt < %s -instcombine -S -mtriple i386-pc-windows-msvc | FileCheck %s --check-prefixes=CHECK,ISC99 -; RUN: opt < %s -instcombine -S -mtriple i686-pc-windows-msvc17 | FileCheck %s --check-prefixes=CHECK,MS32,ISC89 +; RUN: opt < %s -passes=instcombine -S -mtriple x86_64-unknown-linux-gnu | FileCheck %s --check-prefixes=CHECK,LINUX,ISC99 +; RUN: opt < %s -passes=instcombine -S -mtriple x86_64-pc-win32 | FileCheck %s --check-prefixes=CHECK,ISC99 +; RUN: opt < %s -passes=instcombine -S -mtriple x86_64-pc-windows-msvc16 | FileCheck %s --check-prefixes=CHECK,MS64,ISC89 +; RUN: opt < %s -passes=instcombine -S -mtriple i386-pc-windows-msvc | FileCheck %s --check-prefixes=CHECK,ISC99 +; RUN: opt < %s -passes=instcombine -S -mtriple i686-pc-windows-msvc17 | FileCheck %s --check-prefixes=CHECK,MS32,ISC89 ; Check for and against shrinkage when using the ; unsafe-fp-math function attribute on a math lib diff --git a/llvm/test/Transforms/InstCombine/element-atomic-memintrins.ll b/llvm/test/Transforms/InstCombine/element-atomic-memintrins.ll index 42e2b131c0c0..a7822c9eb6f3 100644 --- a/llvm/test/Transforms/InstCombine/element-atomic-memintrins.ll +++ b/llvm/test/Transforms/InstCombine/element-atomic-memintrins.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ;; ---- memset ----- diff --git a/llvm/test/Transforms/InstCombine/enforce-known-alignment.ll b/llvm/test/Transforms/InstCombine/enforce-known-alignment.ll index 323a7ec2998c..f55cfb9b04f8 100644 --- a/llvm/test/Transforms/InstCombine/enforce-known-alignment.ll +++ b/llvm/test/Transforms/InstCombine/enforce-known-alignment.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S %s | FileCheck %s +; RUN: opt -passes=instcombine -S %s | FileCheck %s target datalayout = "e-p:32:32:32-p1:16:16:16-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128" target triple = "i386-apple-darwin9.6" diff --git a/llvm/test/Transforms/InstCombine/eq-of-parts.ll b/llvm/test/Transforms/InstCombine/eq-of-parts.ll index 3c1b9561a920..fd783d15dbb6 100644 --- a/llvm/test/Transforms/InstCombine/eq-of-parts.ll +++ b/llvm/test/Transforms/InstCombine/eq-of-parts.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; Combine equality comparisons of adjacent extracted integers parts into ; a comparison of a larger part. Start with some examples... diff --git a/llvm/test/Transforms/InstCombine/erase-dbg-values-at-dead-alloc-site.ll b/llvm/test/Transforms/InstCombine/erase-dbg-values-at-dead-alloc-site.ll index ceb63e600128..32d76532cfa9 100644 --- a/llvm/test/Transforms/InstCombine/erase-dbg-values-at-dead-alloc-site.ll +++ b/llvm/test/Transforms/InstCombine/erase-dbg-values-at-dead-alloc-site.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine %s | FileCheck %s -check-prefix=RUN-ONCE +; RUN: opt -S -passes=instcombine %s | FileCheck %s -check-prefix=RUN-ONCE ; This example was reduced from a test case in which InstCombine ran at least ; twice: diff --git a/llvm/test/Transforms/InstCombine/err-rep-cold.ll b/llvm/test/Transforms/InstCombine/err-rep-cold.ll index 763a5752e733..7bc326ac295e 100644 --- a/llvm/test/Transforms/InstCombine/err-rep-cold.ll +++ b/llvm/test/Transforms/InstCombine/err-rep-cold.ll @@ -1,5 +1,5 @@ ; Test the static branch probability heuristics for error-reporting functions. -; RUN: opt < %s -instcombine -S | FileCheck -enable-var-scope %s +; RUN: opt < %s -passes=instcombine -S | FileCheck -enable-var-scope %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" diff --git a/llvm/test/Transforms/InstCombine/exact.ll b/llvm/test/Transforms/InstCombine/exact.ll index e87e12cc1bea..be044153f081 100644 --- a/llvm/test/Transforms/InstCombine/exact.ll +++ b/llvm/test/Transforms/InstCombine/exact.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @sdiv1(i32 %x) { ; CHECK-LABEL: @sdiv1( diff --git a/llvm/test/Transforms/InstCombine/exp2-1.ll b/llvm/test/Transforms/InstCombine/exp2-1.ll index afb104ffe819..db24aac1cbca 100644 --- a/llvm/test/Transforms/InstCombine/exp2-1.ll +++ b/llvm/test/Transforms/InstCombine/exp2-1.ll @@ -1,10 +1,10 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the exp2 library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S -mtriple=unknown | FileCheck %s -check-prefixes=LDEXP32 -; RUN: opt < %s -instcombine -S -mtriple=msp430 | FileCheck %s -check-prefixes=LDEXP16 -; RUN: opt < %s -instcombine -S -mtriple=i386-pc-win32 | FileCheck %s -check-prefixes=NOLDEXPF -; RUN: opt < %s -instcombine -S -mtriple=amdgcn-unknown-unknown | FileCheck %s -check-prefixes=NOLDEXP +; RUN: opt < %s -passes=instcombine -S -mtriple=unknown | FileCheck %s -check-prefixes=LDEXP32 +; RUN: opt < %s -passes=instcombine -S -mtriple=msp430 | FileCheck %s -check-prefixes=LDEXP16 +; RUN: opt < %s -passes=instcombine -S -mtriple=i386-pc-win32 | FileCheck %s -check-prefixes=NOLDEXPF +; RUN: opt < %s -passes=instcombine -S -mtriple=amdgcn-unknown-unknown | FileCheck %s -check-prefixes=NOLDEXP 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:128:128" diff --git a/llvm/test/Transforms/InstCombine/exp2-2.ll b/llvm/test/Transforms/InstCombine/exp2-2.ll index 19368dc48c6b..88e6ed3629f7 100644 --- a/llvm/test/Transforms/InstCombine/exp2-2.ll +++ b/llvm/test/Transforms/InstCombine/exp2-2.ll @@ -1,6 +1,6 @@ ; Test that the exp2 library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/extractelement-inseltpoison.ll b/llvm/test/Transforms/InstCombine/extractelement-inseltpoison.ll index 29241d889f1e..3148f6192b9b 100644 --- a/llvm/test/Transforms/InstCombine/extractelement-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/extractelement-inseltpoison.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S -data-layout="e" | FileCheck %s --check-prefixes=ANY,LE -; RUN: opt < %s -instcombine -S -data-layout="E" | FileCheck %s --check-prefixes=ANY,BE +; RUN: opt < %s -passes=instcombine -S -data-layout="e" | FileCheck %s --check-prefixes=ANY,LE +; RUN: opt < %s -passes=instcombine -S -data-layout="E" | FileCheck %s --check-prefixes=ANY,BE define i32 @extractelement_out_of_range(<2 x i32> %x) { ; ANY-LABEL: @extractelement_out_of_range( diff --git a/llvm/test/Transforms/InstCombine/extractelement.ll b/llvm/test/Transforms/InstCombine/extractelement.ll index da8fcd4a52aa..8dc11dc710d9 100644 --- a/llvm/test/Transforms/InstCombine/extractelement.ll +++ b/llvm/test/Transforms/InstCombine/extractelement.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S -data-layout="e-n64" | FileCheck %s --check-prefixes=ANY,LE -; RUN: opt < %s -instcombine -S -data-layout="E-n64" | FileCheck %s --check-prefixes=ANY,BE +; RUN: opt < %s -passes=instcombine -S -data-layout="e-n64" | FileCheck %s --check-prefixes=ANY,LE +; RUN: opt < %s -passes=instcombine -S -data-layout="E-n64" | FileCheck %s --check-prefixes=ANY,BE define i32 @extractelement_out_of_range(<2 x i32> %x) { ; ANY-LABEL: @extractelement_out_of_range( diff --git a/llvm/test/Transforms/InstCombine/extractinsert-tbaa.ll b/llvm/test/Transforms/InstCombine/extractinsert-tbaa.ll index b2a3a1a1bf9b..0c4639282959 100644 --- a/llvm/test/Transforms/InstCombine/extractinsert-tbaa.ll +++ b/llvm/test/Transforms/InstCombine/extractinsert-tbaa.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine %s -o - | FileCheck %s +; RUN: opt -S -passes=instcombine %s -o - | FileCheck %s %Complex = type { double, double } diff --git a/llvm/test/Transforms/InstCombine/extractvalue.ll b/llvm/test/Transforms/InstCombine/extractvalue.ll index 9c293581a069..bbdcc3b51832 100644 --- a/llvm/test/Transforms/InstCombine/extractvalue.ll +++ b/llvm/test/Transforms/InstCombine/extractvalue.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @bar({i32, i32} %a) declare i32 @baz(i32 %a) diff --git a/llvm/test/Transforms/InstCombine/fabs-copysign.ll b/llvm/test/Transforms/InstCombine/fabs-copysign.ll index b95969ed598c..b224f2299e0d 100644 --- a/llvm/test/Transforms/InstCombine/fabs-copysign.ll +++ b/llvm/test/Transforms/InstCombine/fabs-copysign.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s declare double @llvm.fabs.f64(double) declare float @llvm.fabs.f32(float) diff --git a/llvm/test/Transforms/InstCombine/fabs-libcall.ll b/llvm/test/Transforms/InstCombine/fabs-libcall.ll index 2e62b6370c70..f7ca102ff100 100644 --- a/llvm/test/Transforms/InstCombine/fabs-libcall.ll +++ b/llvm/test/Transforms/InstCombine/fabs-libcall.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -mtriple=i686-apple-macosx -instcombine %s | FileCheck %s +; RUN: opt -S -mtriple=i686-apple-macosx -passes=instcombine %s | FileCheck %s declare x86_fp80 @fabsl(x86_fp80) diff --git a/llvm/test/Transforms/InstCombine/fabs.ll b/llvm/test/Transforms/InstCombine/fabs.ll index 752b1b8cf2e7..c6b2116e1a5e 100644 --- a/llvm/test/Transforms/InstCombine/fabs.ll +++ b/llvm/test/Transforms/InstCombine/fabs.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -mtriple=x86_64-unknown-linux-gnu < %s -instcombine -S | FileCheck %s +; RUN: opt -mtriple=x86_64-unknown-linux-gnu < %s -passes=instcombine -S | FileCheck %s ; Make sure libcalls are replaced with intrinsic calls. diff --git a/llvm/test/Transforms/InstCombine/fadd-fsub-factor.ll b/llvm/test/Transforms/InstCombine/fadd-fsub-factor.ll index b5e1e84529e0..4b9c4fd9f954 100644 --- a/llvm/test/Transforms/InstCombine/fadd-fsub-factor.ll +++ b/llvm/test/Transforms/InstCombine/fadd-fsub-factor.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; ========================================================================= ; diff --git a/llvm/test/Transforms/InstCombine/fadd.ll b/llvm/test/Transforms/InstCombine/fadd.ll index f69a69fd0c22..47b65c313d93 100644 --- a/llvm/test/Transforms/InstCombine/fadd.ll +++ b/llvm/test/Transforms/InstCombine/fadd.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use(float) declare void @use_vec(<2 x float>) diff --git a/llvm/test/Transforms/InstCombine/fast-math.ll b/llvm/test/Transforms/InstCombine/fast-math.ll index a3e334c7dfe9..e67696fbf227 100644 --- a/llvm/test/Transforms/InstCombine/fast-math.ll +++ b/llvm/test/Transforms/InstCombine/fast-math.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; testing-case "float fold(float a) { return 1.2f * a * 2.3f; }" ; 1.2f and 2.3f is supposed to be fold. diff --git a/llvm/test/Transforms/InstCombine/fcmp-select.ll b/llvm/test/Transforms/InstCombine/fcmp-select.ll index 7fc59bbcb7d3..b4ab8ef725d7 100644 --- a/llvm/test/Transforms/InstCombine/fcmp-select.ll +++ b/llvm/test/Transforms/InstCombine/fcmp-select.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use(i1) diff --git a/llvm/test/Transforms/InstCombine/fcmp-special.ll b/llvm/test/Transforms/InstCombine/fcmp-special.ll index 490dab5f24d3..88bfe930ffdd 100644 --- a/llvm/test/Transforms/InstCombine/fcmp-special.ll +++ b/llvm/test/Transforms/InstCombine/fcmp-special.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i1 @oeq_self(double %arg) { ; CHECK-LABEL: @oeq_self( diff --git a/llvm/test/Transforms/InstCombine/fcmp.ll b/llvm/test/Transforms/InstCombine/fcmp.ll index c9941ec46c99..27705c9645ff 100644 --- a/llvm/test/Transforms/InstCombine/fcmp.ll +++ b/llvm/test/Transforms/InstCombine/fcmp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s declare half @llvm.fabs.f16(half) declare double @llvm.fabs.f64(double) diff --git a/llvm/test/Transforms/InstCombine/fdiv-cos-sin.ll b/llvm/test/Transforms/InstCombine/fdiv-cos-sin.ll index 3284e1f1b1c7..1d12a444e891 100644 --- a/llvm/test/Transforms/InstCombine/fdiv-cos-sin.ll +++ b/llvm/test/Transforms/InstCombine/fdiv-cos-sin.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s define double @fdiv_cos_sin(double %a) { ; CHECK-LABEL: @fdiv_cos_sin( diff --git a/llvm/test/Transforms/InstCombine/fdiv-sin-cos.ll b/llvm/test/Transforms/InstCombine/fdiv-sin-cos.ll index f94e5dd75a11..712febdcb735 100644 --- a/llvm/test/Transforms/InstCombine/fdiv-sin-cos.ll +++ b/llvm/test/Transforms/InstCombine/fdiv-sin-cos.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s define double @fdiv_sin_cos(double %a) { ; CHECK-LABEL: @fdiv_sin_cos( diff --git a/llvm/test/Transforms/InstCombine/fdiv.ll b/llvm/test/Transforms/InstCombine/fdiv.ll index 8d05b11bc51d..d0c0b66b813a 100644 --- a/llvm/test/Transforms/InstCombine/fdiv.ll +++ b/llvm/test/Transforms/InstCombine/fdiv.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s declare float @llvm.fabs.f32(float) nounwind readnone declare float @llvm.pow.f32(float, float) nounwind readnone diff --git a/llvm/test/Transforms/InstCombine/ffs-1.ll b/llvm/test/Transforms/InstCombine/ffs-1.ll index 5be47efb1786..a610376da8b5 100644 --- a/llvm/test/Transforms/InstCombine/ffs-1.ll +++ b/llvm/test/Transforms/InstCombine/ffs-1.ll @@ -1,12 +1,12 @@ ; Test that the ffs* library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s --check-prefix=ALL --check-prefix=GENERIC -; RUN: opt < %s -instcombine -mtriple i386-pc-linux -S | FileCheck %s --check-prefix=ALL --check-prefix=TARGET -; RUN: opt < %s -instcombine -mtriple=arm64-apple-ios9.0 -S | FileCheck %s --check-prefix=ALL --check-prefix=TARGET -; RUN: opt < %s -instcombine -mtriple=arm64-apple-tvos9.0 -S | FileCheck %s --check-prefix=ALL --check-prefix=TARGET -; RUN: opt < %s -instcombine -mtriple=thumbv7k-apple-watchos2.0 -S | FileCheck %s --check-prefix=ALL --check-prefix=TARGET -; RUN: opt < %s -instcombine -mtriple=x86_64-apple-macosx10.11 -S | FileCheck %s --check-prefix=ALL --check-prefix=TARGET -; RUN: opt < %s -instcombine -mtriple=x86_64-freebsd-gnu -S | FileCheck %s --check-prefix=ALL --check-prefix=TARGET +; RUN: opt < %s -passes=instcombine -S | FileCheck %s --check-prefix=ALL --check-prefix=GENERIC +; RUN: opt < %s -passes=instcombine -mtriple i386-pc-linux -S | FileCheck %s --check-prefix=ALL --check-prefix=TARGET +; RUN: opt < %s -passes=instcombine -mtriple=arm64-apple-ios9.0 -S | FileCheck %s --check-prefix=ALL --check-prefix=TARGET +; RUN: opt < %s -passes=instcombine -mtriple=arm64-apple-tvos9.0 -S | FileCheck %s --check-prefix=ALL --check-prefix=TARGET +; RUN: opt < %s -passes=instcombine -mtriple=thumbv7k-apple-watchos2.0 -S | FileCheck %s --check-prefix=ALL --check-prefix=TARGET +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-apple-macosx10.11 -S | FileCheck %s --check-prefix=ALL --check-prefix=TARGET +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-freebsd-gnu -S | FileCheck %s --check-prefix=ALL --check-prefix=TARGET declare i32 @ffs(i32) declare i32 @ffsl(i32) diff --git a/llvm/test/Transforms/InstCombine/float-shrink-compare.ll b/llvm/test/Transforms/InstCombine/float-shrink-compare.ll index aa0dd5e3007d..c8c0a0ddaa8b 100644 --- a/llvm/test/Transforms/InstCombine/float-shrink-compare.ll +++ b/llvm/test/Transforms/InstCombine/float-shrink-compare.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %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" diff --git a/llvm/test/Transforms/InstCombine/fls.ll b/llvm/test/Transforms/InstCombine/fls.ll index bf87e6a31100..250b9978cc03 100644 --- a/llvm/test/Transforms/InstCombine/fls.ll +++ b/llvm/test/Transforms/InstCombine/fls.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target triple = "x86_64-unknown-freebsd11.0" diff --git a/llvm/test/Transforms/InstCombine/fma.ll b/llvm/test/Transforms/InstCombine/fma.ll index 6d9f8ea694c6..f429b5ffa5cf 100644 --- a/llvm/test/Transforms/InstCombine/fma.ll +++ b/llvm/test/Transforms/InstCombine/fma.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s declare float @llvm.fma.f32(float, float, float) #1 declare <2 x float> @llvm.fma.v2f32(<2 x float>, <2 x float>, <2 x float>) #1 diff --git a/llvm/test/Transforms/InstCombine/fmul-exp.ll b/llvm/test/Transforms/InstCombine/fmul-exp.ll index 625681519b22..f5908d94e5bb 100644 --- a/llvm/test/Transforms/InstCombine/fmul-exp.ll +++ b/llvm/test/Transforms/InstCombine/fmul-exp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s declare double @llvm.exp.f64(double) nounwind readnone speculatable declare void @use(double) diff --git a/llvm/test/Transforms/InstCombine/fmul-exp2.ll b/llvm/test/Transforms/InstCombine/fmul-exp2.ll index e2dc867f1801..54c723c8dede 100644 --- a/llvm/test/Transforms/InstCombine/fmul-exp2.ll +++ b/llvm/test/Transforms/InstCombine/fmul-exp2.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s declare double @llvm.exp2.f64(double) nounwind readnone speculatable declare void @use(double) diff --git a/llvm/test/Transforms/InstCombine/fmul-inseltpoison.ll b/llvm/test/Transforms/InstCombine/fmul-inseltpoison.ll index 7da81d068fec..c35c228d79cd 100644 --- a/llvm/test/Transforms/InstCombine/fmul-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/fmul-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; A copy of fmul.ll, with undef at insertelement/shufflevector replaced with ; poison diff --git a/llvm/test/Transforms/InstCombine/fmul-pow.ll b/llvm/test/Transforms/InstCombine/fmul-pow.ll index 70741554ac13..a14b83433541 100644 --- a/llvm/test/Transforms/InstCombine/fmul-pow.ll +++ b/llvm/test/Transforms/InstCombine/fmul-pow.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s declare double @llvm.pow.f64(double, double) declare void @use(double) diff --git a/llvm/test/Transforms/InstCombine/fmul-sqrt.ll b/llvm/test/Transforms/InstCombine/fmul-sqrt.ll index e77a828729e1..dcbe88ac21fc 100644 --- a/llvm/test/Transforms/InstCombine/fmul-sqrt.ll +++ b/llvm/test/Transforms/InstCombine/fmul-sqrt.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s declare double @llvm.sqrt.f64(double) nounwind readnone speculatable declare <2 x float> @llvm.sqrt.v2f32(<2 x float>) diff --git a/llvm/test/Transforms/InstCombine/fmul.ll b/llvm/test/Transforms/InstCombine/fmul.ll index ee70130ac4fd..97c603e80823 100644 --- a/llvm/test/Transforms/InstCombine/fmul.ll +++ b/llvm/test/Transforms/InstCombine/fmul.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; (-0.0 - X) * C => X * -C define float @neg_constant(float %x) { diff --git a/llvm/test/Transforms/InstCombine/fneg-fabs.ll b/llvm/test/Transforms/InstCombine/fneg-fabs.ll index cb2e440dbbc8..441fc919ef0a 100644 --- a/llvm/test/Transforms/InstCombine/fneg-fabs.ll +++ b/llvm/test/Transforms/InstCombine/fneg-fabs.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; (X < +/-0.0) ? X : -X --> -fabs(X) ; (X <= +/-0.0) ? X : -X --> -fabs(X) diff --git a/llvm/test/Transforms/InstCombine/fneg.ll b/llvm/test/Transforms/InstCombine/fneg.ll index 3e1d58149151..046c22e34bbd 100644 --- a/llvm/test/Transforms/InstCombine/fneg.ll +++ b/llvm/test/Transforms/InstCombine/fneg.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use(float) diff --git a/llvm/test/Transforms/InstCombine/fold-bin-operand.ll b/llvm/test/Transforms/InstCombine/fold-bin-operand.ll index db3e7f3afb96..6cb2f21306a3 100644 --- a/llvm/test/Transforms/InstCombine/fold-bin-operand.ll +++ b/llvm/test/Transforms/InstCombine/fold-bin-operand.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "E-p:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128" define i1 @f(i1 %x) { diff --git a/llvm/test/Transforms/InstCombine/fold-calls.ll b/llvm/test/Transforms/InstCombine/fold-calls.ll index 1a9a9fd2e9ee..5817fa745063 100644 --- a/llvm/test/Transforms/InstCombine/fold-calls.ll +++ b/llvm/test/Transforms/InstCombine/fold-calls.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; This shouldn't fold, because sin(inf) is invalid. ; CHECK-LABEL: @foo( diff --git a/llvm/test/Transforms/InstCombine/fold-fops-into-selects.ll b/llvm/test/Transforms/InstCombine/fold-fops-into-selects.ll index 07aebb13eff3..22af7e3e7550 100644 --- a/llvm/test/Transforms/InstCombine/fold-fops-into-selects.ll +++ b/llvm/test/Transforms/InstCombine/fold-fops-into-selects.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define float @test1(i1 %A) { EntryBlock: diff --git a/llvm/test/Transforms/InstCombine/fold-inc-of-add-of-not-x-and-y-to-sub-x-from-y.ll b/llvm/test/Transforms/InstCombine/fold-inc-of-add-of-not-x-and-y-to-sub-x-from-y.ll index ae24b923b5d5..b482cfdfde19 100644 --- a/llvm/test/Transforms/InstCombine/fold-inc-of-add-of-not-x-and-y-to-sub-x-from-y.ll +++ b/llvm/test/Transforms/InstCombine/fold-inc-of-add-of-not-x-and-y-to-sub-x-from-y.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; Given: ; add (add (xor %x, -1), %y), 1 diff --git a/llvm/test/Transforms/InstCombine/fold-phi-load-metadata.ll b/llvm/test/Transforms/InstCombine/fold-phi-load-metadata.ll index 7fa26b46e25d..1efd43e1cf7a 100644 --- a/llvm/test/Transforms/InstCombine/fold-phi-load-metadata.ll +++ b/llvm/test/Transforms/InstCombine/fold-phi-load-metadata.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s @g1 = common global i32* null, align 8 diff --git a/llvm/test/Transforms/InstCombine/fold-phi.ll b/llvm/test/Transforms/InstCombine/fold-phi.ll index c6bb1b36335b..df48404a0946 100644 --- a/llvm/test/Transforms/InstCombine/fold-phi.ll +++ b/llvm/test/Transforms/InstCombine/fold-phi.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; CHECK: no_crash define float @no_crash(float %a) nounwind { diff --git a/llvm/test/Transforms/InstCombine/fold-sqrt-sqrtf.ll b/llvm/test/Transforms/InstCombine/fold-sqrt-sqrtf.ll index bd92b4a29c05..07c12a9eb57b 100644 --- a/llvm/test/Transforms/InstCombine/fold-sqrt-sqrtf.ll +++ b/llvm/test/Transforms/InstCombine/fold-sqrt-sqrtf.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S -disable-simplify-libcalls < %s | FileCheck %s +; RUN: opt -passes=instcombine -S -disable-simplify-libcalls < %s | FileCheck %s ; rdar://10466410 ; Instcombine tries to fold (fptrunc (sqrt (fpext x))) -> (sqrtf x), but this diff --git a/llvm/test/Transforms/InstCombine/fold-sub-of-not-to-inc-of-add.ll b/llvm/test/Transforms/InstCombine/fold-sub-of-not-to-inc-of-add.ll index b7edab9d8567..6855ac393b05 100644 --- a/llvm/test/Transforms/InstCombine/fold-sub-of-not-to-inc-of-add.ll +++ b/llvm/test/Transforms/InstCombine/fold-sub-of-not-to-inc-of-add.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; Given: ; sub %y, (xor %x, -1) diff --git a/llvm/test/Transforms/InstCombine/fold-vector-select.ll b/llvm/test/Transforms/InstCombine/fold-vector-select.ll index b58d9dc90acc..da41d683ed2b 100644 --- a/llvm/test/Transforms/InstCombine/fold-vector-select.ll +++ b/llvm/test/Transforms/InstCombine/fold-vector-select.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; CHECK-NOT: select diff --git a/llvm/test/Transforms/InstCombine/fold-vector-zero-inseltpoison.ll b/llvm/test/Transforms/InstCombine/fold-vector-zero-inseltpoison.ll index 0584116b2ff3..29f13d33ff23 100644 --- a/llvm/test/Transforms/InstCombine/fold-vector-zero-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/fold-vector-zero-inseltpoison.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | not grep zeroinitializer +; RUN: opt < %s -passes=instcombine -S | not grep zeroinitializer define void @foo(i64 %A, i64 %B) { bb8: diff --git a/llvm/test/Transforms/InstCombine/fold-vector-zero.ll b/llvm/test/Transforms/InstCombine/fold-vector-zero.ll index bf661df7795d..35f8a58a9f92 100644 --- a/llvm/test/Transforms/InstCombine/fold-vector-zero.ll +++ b/llvm/test/Transforms/InstCombine/fold-vector-zero.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | not grep zeroinitializer +; RUN: opt < %s -passes=instcombine -S | not grep zeroinitializer define void @foo(i64 %A, i64 %B) { bb8: diff --git a/llvm/test/Transforms/InstCombine/fortify-folding.ll b/llvm/test/Transforms/InstCombine/fortify-folding.ll index deea94210ddf..ee51186aa605 100644 --- a/llvm/test/Transforms/InstCombine/fortify-folding.ll +++ b/llvm/test/Transforms/InstCombine/fortify-folding.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Transforms/InstCombine/fp-ret-bitcast.ll b/llvm/test/Transforms/InstCombine/fp-ret-bitcast.ll index 7106933d2bde..383fa367b688 100644 --- a/llvm/test/Transforms/InstCombine/fp-ret-bitcast.ll +++ b/llvm/test/Transforms/InstCombine/fp-ret-bitcast.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | \ +; RUN: opt < %s -passes=instcombine -S | \ ; RUN: grep "call float bitcast" | count 1 target datalayout = "E-p:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128" %struct.NSObject = type { %struct.objc_class* } diff --git a/llvm/test/Transforms/InstCombine/fpcast.ll b/llvm/test/Transforms/InstCombine/fpcast.ll index 08b3387e533b..2390b63753be 100644 --- a/llvm/test/Transforms/InstCombine/fpcast.ll +++ b/llvm/test/Transforms/InstCombine/fpcast.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test some floating point casting cases -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i8 @test1() { ; CHECK-LABEL: @test1( diff --git a/llvm/test/Transforms/InstCombine/fpextend.ll b/llvm/test/Transforms/InstCombine/fpextend.ll index 9fe85e983fb7..13784c69c36b 100644 --- a/llvm/test/Transforms/InstCombine/fpextend.ll +++ b/llvm/test/Transforms/InstCombine/fpextend.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define float @test(float %x) nounwind { ; CHECK-LABEL: @test( diff --git a/llvm/test/Transforms/InstCombine/fpextend_x86.ll b/llvm/test/Transforms/InstCombine/fpextend_x86.ll index e012551ebdf4..afc55dcd0fe2 100644 --- a/llvm/test/Transforms/InstCombine/fpextend_x86.ll +++ b/llvm/test/Transforms/InstCombine/fpextend_x86.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -mtriple=x86_64-apple-macosx -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-apple-macosx -S | FileCheck %s target triple = "x86_64-apple-macosx" define double @test1(double %a, double %b) nounwind { diff --git a/llvm/test/Transforms/InstCombine/fprintf-1.ll b/llvm/test/Transforms/InstCombine/fprintf-1.ll index cb364102c7f3..4bbe21629300 100644 --- a/llvm/test/Transforms/InstCombine/fprintf-1.ll +++ b/llvm/test/Transforms/InstCombine/fprintf-1.ll @@ -1,7 +1,7 @@ ; Test that the fprintf library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s -; RUN: opt < %s -mtriple xcore-xmos-elf -instcombine -S | FileCheck %s -check-prefix=CHECK-IPRINTF +; RUN: opt < %s -passes=instcombine -S | FileCheck %s +; RUN: opt < %s -mtriple xcore-xmos-elf -passes=instcombine -S | FileCheck %s -check-prefix=CHECK-IPRINTF 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:128:128" diff --git a/llvm/test/Transforms/InstCombine/fptrunc.ll b/llvm/test/Transforms/InstCombine/fptrunc.ll index c04c4b5c66c4..d3e153f12106 100644 --- a/llvm/test/Transforms/InstCombine/fptrunc.ll +++ b/llvm/test/Transforms/InstCombine/fptrunc.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define float @fadd_fpext_op0(float %x, double %y) { ; CHECK-LABEL: @fadd_fpext_op0( diff --git a/llvm/test/Transforms/InstCombine/fputs-1.ll b/llvm/test/Transforms/InstCombine/fputs-1.ll index 4bf54b155a42..4a48897a5b2b 100644 --- a/llvm/test/Transforms/InstCombine/fputs-1.ll +++ b/llvm/test/Transforms/InstCombine/fputs-1.ll @@ -1,6 +1,6 @@ ; Test that the fputs library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/freeze-phi.ll b/llvm/test/Transforms/InstCombine/freeze-phi.ll index a00ea6fde51d..87e4d324114f 100644 --- a/llvm/test/Transforms/InstCombine/freeze-phi.ll +++ b/llvm/test/Transforms/InstCombine/freeze-phi.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @const(i1 %cond) { ; CHECK-LABEL: @const( diff --git a/llvm/test/Transforms/InstCombine/freeze.ll b/llvm/test/Transforms/InstCombine/freeze.ll index e97aa28d551b..9f2c47c7506e 100644 --- a/llvm/test/Transforms/InstCombine/freeze.ll +++ b/llvm/test/Transforms/InstCombine/freeze.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @fold(i32 %x) { ; CHECK-LABEL: @fold( diff --git a/llvm/test/Transforms/InstCombine/fsh.ll b/llvm/test/Transforms/InstCombine/fsh.ll index 49a8ef07d7f4..b1e8499d58f6 100644 --- a/llvm/test/Transforms/InstCombine/fsh.ll +++ b/llvm/test/Transforms/InstCombine/fsh.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare i32 @llvm.fshl.i32(i32, i32, i32) declare i33 @llvm.fshr.i33(i33, i33, i33) diff --git a/llvm/test/Transforms/InstCombine/fsub.ll b/llvm/test/Transforms/InstCombine/fsub.ll index 01797b15bdbe..584e00725abb 100644 --- a/llvm/test/Transforms/InstCombine/fsub.ll +++ b/llvm/test/Transforms/InstCombine/fsub.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; PR4374 diff --git a/llvm/test/Transforms/InstCombine/funnel.ll b/llvm/test/Transforms/InstCombine/funnel.ll index 540202043664..60ce49a16356 100644 --- a/llvm/test/Transforms/InstCombine/funnel.ll +++ b/llvm/test/Transforms/InstCombine/funnel.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/fwrite-1.ll b/llvm/test/Transforms/InstCombine/fwrite-1.ll index 10f0b23e1d8d..c72c8384d131 100644 --- a/llvm/test/Transforms/InstCombine/fwrite-1.ll +++ b/llvm/test/Transforms/InstCombine/fwrite-1.ll @@ -1,6 +1,6 @@ ; Test that the fwrite library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/gc.relocate.ll b/llvm/test/Transforms/InstCombine/gc.relocate.ll index d3d5d21a4dbd..aa4429848809 100644 --- a/llvm/test/Transforms/InstCombine/gc.relocate.ll +++ b/llvm/test/Transforms/InstCombine/gc.relocate.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" ; Uses InstCombine with DataLayout to propagate dereferenceable diff --git a/llvm/test/Transforms/InstCombine/gep-addrspace.ll b/llvm/test/Transforms/InstCombine/gep-addrspace.ll index 8eda61ccfb94..a779be88bb06 100644 --- a/llvm/test/Transforms/InstCombine/gep-addrspace.ll +++ b/llvm/test/Transforms/InstCombine/gep-addrspace.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" target triple = "x86_64-pc-win32" diff --git a/llvm/test/Transforms/InstCombine/gep-alias.ll b/llvm/test/Transforms/InstCombine/gep-alias.ll index 890b61688cf8..1f004f4bc673 100644 --- a/llvm/test/Transforms/InstCombine/gep-alias.ll +++ b/llvm/test/Transforms/InstCombine/gep-alias.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine -o - %s | FileCheck %s +; RUN: opt -S -passes=instcombine -o - %s | FileCheck %s target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128" target triple = "aarch64-unknown-linux-android10000" diff --git a/llvm/test/Transforms/InstCombine/gep-can-replace-gep-idx-with-zero-typesize.ll b/llvm/test/Transforms/InstCombine/gep-can-replace-gep-idx-with-zero-typesize.ll index 5abde626ee3f..fe517e73f453 100644 --- a/llvm/test/Transforms/InstCombine/gep-can-replace-gep-idx-with-zero-typesize.ll +++ b/llvm/test/Transforms/InstCombine/gep-can-replace-gep-idx-with-zero-typesize.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s +; RUN: opt -S -passes=instcombine < %s ; This regression test is verifying that the optimization defined by ; canReplaceGEPIdxWithZero, which replaces a GEP index with zero iff we can show diff --git a/llvm/test/Transforms/InstCombine/gep-custom-dl.ll b/llvm/test/Transforms/InstCombine/gep-custom-dl.ll index 3de70f3c151c..8eedad9bea57 100644 --- a/llvm/test/Transforms/InstCombine/gep-custom-dl.ll +++ b/llvm/test/Transforms/InstCombine/gep-custom-dl.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:m-p:40:64:64:32-i32:32-i16:16-i8:8-n32" diff --git a/llvm/test/Transforms/InstCombine/gep-inbounds-null.ll b/llvm/test/Transforms/InstCombine/gep-inbounds-null.ll index 3108ec812db0..bff11872beac 100644 --- a/llvm/test/Transforms/InstCombine/gep-inbounds-null.ll +++ b/llvm/test/Transforms/InstCombine/gep-inbounds-null.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S < %s -instcombine | FileCheck %s +; RUN: opt -S < %s -passes=instcombine | FileCheck %s ;; Start by showing the results of constant folding (which doesn't use ;; the poison implied by gep for the nonnull cases). diff --git a/llvm/test/Transforms/InstCombine/gep-sext.ll b/llvm/test/Transforms/InstCombine/gep-sext.ll index 36e2aeff02cf..cc0aef8f0335 100644 --- a/llvm/test/Transforms/InstCombine/gep-sext.ll +++ b/llvm/test/Transforms/InstCombine/gep-sext.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" target triple = "x86_64-pc-win32" diff --git a/llvm/test/Transforms/InstCombine/gep-vector-indices.ll b/llvm/test/Transforms/InstCombine/gep-vector-indices.ll index 2c244af05fcd..e8093b7374ea 100644 --- a/llvm/test/Transforms/InstCombine/gep-vector-indices.ll +++ b/llvm/test/Transforms/InstCombine/gep-vector-indices.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine %s -S | FileCheck %s +; RUN: opt -passes=instcombine %s -S | FileCheck %s define i32* @vector_splat_indices_v2i64_ext0(i32* %a) { ; CHECK-LABEL: @vector_splat_indices_v2i64_ext0( diff --git a/llvm/test/Transforms/InstCombine/gep-vector.ll b/llvm/test/Transforms/InstCombine/gep-vector.ll index 83b8697c3b28..d242032d3dd4 100644 --- a/llvm/test/Transforms/InstCombine/gep-vector.ll +++ b/llvm/test/Transforms/InstCombine/gep-vector.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine %s -S | FileCheck %s +; RUN: opt -passes=instcombine %s -S | FileCheck %s @block = global [64 x [8192 x i8]] zeroinitializer, align 1 diff --git a/llvm/test/Transforms/InstCombine/gepgep.ll b/llvm/test/Transforms/InstCombine/gepgep.ll index 24b81aaea3f1..de4b101aee04 100644 --- a/llvm/test/Transforms/InstCombine/gepgep.ll +++ b/llvm/test/Transforms/InstCombine/gepgep.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target triple = "x86_64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/gepphigep.ll b/llvm/test/Transforms/InstCombine/gepphigep.ll index 7434a8fce5a4..aca3c4e4ec21 100644 --- a/llvm/test/Transforms/InstCombine/gepphigep.ll +++ b/llvm/test/Transforms/InstCombine/gepphigep.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -instcombine-infinite-loop-threshold=3 -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -instcombine-infinite-loop-threshold=3 -S < %s | FileCheck %s %struct1 = type { %struct2*, i32, i32, i32 } %struct2 = type { i32, i32 } diff --git a/llvm/test/Transforms/InstCombine/get-lowbitmask-upto-and-including-bit.ll b/llvm/test/Transforms/InstCombine/get-lowbitmask-upto-and-including-bit.ll index 1365a109e71f..dc260046bad8 100644 --- a/llvm/test/Transforms/InstCombine/get-lowbitmask-upto-and-including-bit.ll +++ b/llvm/test/Transforms/InstCombine/get-lowbitmask-upto-and-including-bit.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use8(i8) diff --git a/llvm/test/Transforms/InstCombine/getelementptr-folding.ll b/llvm/test/Transforms/InstCombine/getelementptr-folding.ll index 7803b2b35452..cbb0039d608a 100644 --- a/llvm/test/Transforms/InstCombine/getelementptr-folding.ll +++ b/llvm/test/Transforms/InstCombine/getelementptr-folding.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; We used to fold this by rewriting the indices to 0, 0, 2, 0. This is ; invalid because there is a 4-byte padding after each <3 x float> field. diff --git a/llvm/test/Transforms/InstCombine/getelementptr.ll b/llvm/test/Transforms/InstCombine/getelementptr.ll index b6b6f02d1595..d5ffd9bd5769 100644 --- a/llvm/test/Transforms/InstCombine/getelementptr.ll +++ b/llvm/test/Transforms/InstCombine/getelementptr.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-p:64:64-p1:16:16-p2:32:32:32-p3:64:64:64" diff --git a/llvm/test/Transforms/InstCombine/hoist-negation-out-of-bias-calculation-with-constant.ll b/llvm/test/Transforms/InstCombine/hoist-negation-out-of-bias-calculation-with-constant.ll index d8cabb3116e3..ab37becf0e31 100644 --- a/llvm/test/Transforms/InstCombine/hoist-negation-out-of-bias-calculation-with-constant.ll +++ b/llvm/test/Transforms/InstCombine/hoist-negation-out-of-bias-calculation-with-constant.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S < %s -instcombine | FileCheck %s +; RUN: opt -S < %s -passes=instcombine | FileCheck %s ; Fold ; (X & C) - X diff --git a/llvm/test/Transforms/InstCombine/hoist-negation-out-of-bias-calculation.ll b/llvm/test/Transforms/InstCombine/hoist-negation-out-of-bias-calculation.ll index bcb93c7a50de..c8f14595ea67 100644 --- a/llvm/test/Transforms/InstCombine/hoist-negation-out-of-bias-calculation.ll +++ b/llvm/test/Transforms/InstCombine/hoist-negation-out-of-bias-calculation.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S < %s -instcombine | FileCheck %s +; RUN: opt -S < %s -passes=instcombine | FileCheck %s ; Fold ; (X & (- Y)) - X diff --git a/llvm/test/Transforms/InstCombine/hoist-not-from-ashr-operand.ll b/llvm/test/Transforms/InstCombine/hoist-not-from-ashr-operand.ll index b14c4c2576a1..e0242855e268 100644 --- a/llvm/test/Transforms/InstCombine/hoist-not-from-ashr-operand.ll +++ b/llvm/test/Transforms/InstCombine/hoist-not-from-ashr-operand.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Transform ; (~x) a>> y diff --git a/llvm/test/Transforms/InstCombine/hoist-xor-by-constant-from-xor-by-value.ll b/llvm/test/Transforms/InstCombine/hoist-xor-by-constant-from-xor-by-value.ll index 46bdb1a6092e..23506fa36df7 100644 --- a/llvm/test/Transforms/InstCombine/hoist-xor-by-constant-from-xor-by-value.ll +++ b/llvm/test/Transforms/InstCombine/hoist-xor-by-constant-from-xor-by-value.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare i8 @gen8() declare void @use8(i8) diff --git a/llvm/test/Transforms/InstCombine/hoist_instr.ll b/llvm/test/Transforms/InstCombine/hoist_instr.ll index fa451bcc7273..718fd3ddc7ba 100644 --- a/llvm/test/Transforms/InstCombine/hoist_instr.ll +++ b/llvm/test/Transforms/InstCombine/hoist_instr.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ;; This tests that the div is hoisted into the then block. define i32 @foo(i1 %C, i32 %A, i32 %B) { diff --git a/llvm/test/Transforms/InstCombine/icmp-add.ll b/llvm/test/Transforms/InstCombine/icmp-add.ll index eb2f1945dc4d..b2fcf3c140c9 100644 --- a/llvm/test/Transforms/InstCombine/icmp-add.ll +++ b/llvm/test/Transforms/InstCombine/icmp-add.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use(i32) diff --git a/llvm/test/Transforms/InstCombine/icmp-bc-vec-inseltpoison.ll b/llvm/test/Transforms/InstCombine/icmp-bc-vec-inseltpoison.ll index 8948e352910e..2d4e4920d551 100644 --- a/llvm/test/Transforms/InstCombine/icmp-bc-vec-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/icmp-bc-vec-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Tests to verify proper functioning of the icmp folding implemented in ; InstCombiner::foldICmpBitCastConstant diff --git a/llvm/test/Transforms/InstCombine/icmp-bc-vec.ll b/llvm/test/Transforms/InstCombine/icmp-bc-vec.ll index 925fa86a4f7d..99290f399b2b 100644 --- a/llvm/test/Transforms/InstCombine/icmp-bc-vec.ll +++ b/llvm/test/Transforms/InstCombine/icmp-bc-vec.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Tests to verify proper functioning of the icmp folding implemented in ; InstCombiner::foldICmpBitCastConstant diff --git a/llvm/test/Transforms/InstCombine/icmp-bitcast-glob.ll b/llvm/test/Transforms/InstCombine/icmp-bitcast-glob.ll index c3ffdd472bcc..420431844a89 100644 --- a/llvm/test/Transforms/InstCombine/icmp-bitcast-glob.ll +++ b/llvm/test/Transforms/InstCombine/icmp-bitcast-glob.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare i32 @f32(i32**, i32**) diff --git a/llvm/test/Transforms/InstCombine/icmp-constant-phi.ll b/llvm/test/Transforms/InstCombine/icmp-constant-phi.ll index d87ed5e6192a..891e40274a37 100644 --- a/llvm/test/Transforms/InstCombine/icmp-constant-phi.ll +++ b/llvm/test/Transforms/InstCombine/icmp-constant-phi.ll @@ -1,5 +1,4 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s ; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i1 @test_eq(i1 %cond) { diff --git a/llvm/test/Transforms/InstCombine/icmp-custom-dl.ll b/llvm/test/Transforms/InstCombine/icmp-custom-dl.ll index 5accd3e8594a..834f2ee37180 100644 --- a/llvm/test/Transforms/InstCombine/icmp-custom-dl.ll +++ b/llvm/test/Transforms/InstCombine/icmp-custom-dl.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-p:40:64:64:32-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" diff --git a/llvm/test/Transforms/InstCombine/icmp-div-constant.ll b/llvm/test/Transforms/InstCombine/icmp-div-constant.ll index 64f244f96383..aab916c4c7a0 100644 --- a/llvm/test/Transforms/InstCombine/icmp-div-constant.ll +++ b/llvm/test/Transforms/InstCombine/icmp-div-constant.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "n32" diff --git a/llvm/test/Transforms/InstCombine/icmp-dom.ll b/llvm/test/Transforms/InstCombine/icmp-dom.ll index ab6c26db6c96..0cbe5ec94596 100644 --- a/llvm/test/Transforms/InstCombine/icmp-dom.ll +++ b/llvm/test/Transforms/InstCombine/icmp-dom.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define void @idom_sign_bit_check_edge_dominates(i64 %a) { ; CHECK-LABEL: @idom_sign_bit_check_edge_dominates( diff --git a/llvm/test/Transforms/InstCombine/icmp-fsh.ll b/llvm/test/Transforms/InstCombine/icmp-fsh.ll index 17e12d04b82f..4c3bd743d5d7 100644 --- a/llvm/test/Transforms/InstCombine/icmp-fsh.ll +++ b/llvm/test/Transforms/InstCombine/icmp-fsh.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare i8 @llvm.fshl.i8(i8, i8, i8) declare i8 @llvm.fshr.i8(i8, i8, i8) diff --git a/llvm/test/Transforms/InstCombine/icmp-gep.ll b/llvm/test/Transforms/InstCombine/icmp-gep.ll index 4b5116c36f6f..54d3561b4267 100644 --- a/llvm/test/Transforms/InstCombine/icmp-gep.ll +++ b/llvm/test/Transforms/InstCombine/icmp-gep.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %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" diff --git a/llvm/test/Transforms/InstCombine/icmp-logical.ll b/llvm/test/Transforms/InstCombine/icmp-logical.ll index 15893f5677d3..4bdecea2dc56 100644 --- a/llvm/test/Transforms/InstCombine/icmp-logical.ll +++ b/llvm/test/Transforms/InstCombine/icmp-logical.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S -o - %s | FileCheck %s +; RUN: opt -passes=instcombine -S -o - %s | FileCheck %s define i1 @masked_and_notallzeroes(i32 %A) { ; CHECK-LABEL: @masked_and_notallzeroes( diff --git a/llvm/test/Transforms/InstCombine/icmp-mul-and.ll b/llvm/test/Transforms/InstCombine/icmp-mul-and.ll index bcce37de7687..31bda76c6129 100644 --- a/llvm/test/Transforms/InstCombine/icmp-mul-and.ll +++ b/llvm/test/Transforms/InstCombine/icmp-mul-and.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use(i8) diff --git a/llvm/test/Transforms/InstCombine/icmp-mul-zext.ll b/llvm/test/Transforms/InstCombine/icmp-mul-zext.ll index e70d070b79df..2e8c05638eb1 100644 --- a/llvm/test/Transforms/InstCombine/icmp-mul-zext.ll +++ b/llvm/test/Transforms/InstCombine/icmp-mul-zext.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "n32" diff --git a/llvm/test/Transforms/InstCombine/icmp-mul.ll b/llvm/test/Transforms/InstCombine/icmp-mul.ll index f351203f7820..516572e1bb22 100644 --- a/llvm/test/Transforms/InstCombine/icmp-mul.ll +++ b/llvm/test/Transforms/InstCombine/icmp-mul.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use(i8) diff --git a/llvm/test/Transforms/InstCombine/icmp-not-bool-constant.ll b/llvm/test/Transforms/InstCombine/icmp-not-bool-constant.ll index e9782f8471d4..439c1d6af665 100644 --- a/llvm/test/Transforms/InstCombine/icmp-not-bool-constant.ll +++ b/llvm/test/Transforms/InstCombine/icmp-not-bool-constant.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Test all integer predicates with bool types and true/false constants, ; with not on LHS (icmp pred (xor X, true), true|false). diff --git a/llvm/test/Transforms/InstCombine/icmp-or.ll b/llvm/test/Transforms/InstCombine/icmp-or.ll index de3f998814b7..10b1e22c0e90 100644 --- a/llvm/test/Transforms/InstCombine/icmp-or.ll +++ b/llvm/test/Transforms/InstCombine/icmp-or.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use(i8) diff --git a/llvm/test/Transforms/InstCombine/icmp-range.ll b/llvm/test/Transforms/InstCombine/icmp-range.ll index f035683170e1..66d325330804 100644 --- a/llvm/test/Transforms/InstCombine/icmp-range.ll +++ b/llvm/test/Transforms/InstCombine/icmp-range.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; These should be InstSimplify checks, but most of the code ; is currently only in InstCombine. TODO: move supporting code diff --git a/llvm/test/Transforms/InstCombine/icmp-rotate.ll b/llvm/test/Transforms/InstCombine/icmp-rotate.ll index 5776c0e34dd1..abd7caf621a5 100644 --- a/llvm/test/Transforms/InstCombine/icmp-rotate.ll +++ b/llvm/test/Transforms/InstCombine/icmp-rotate.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare i8 @llvm.fshl.i8(i8, i8, i8) declare i8 @llvm.fshr.i8(i8, i8, i8) diff --git a/llvm/test/Transforms/InstCombine/icmp-shl-nsw.ll b/llvm/test/Transforms/InstCombine/icmp-shl-nsw.ll index ba05302897e9..012ed586194d 100644 --- a/llvm/test/Transforms/InstCombine/icmp-shl-nsw.ll +++ b/llvm/test/Transforms/InstCombine/icmp-shl-nsw.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If the (shl x, C) preserved the sign and this is a sign test, ; compare the LHS operand instead diff --git a/llvm/test/Transforms/InstCombine/icmp-shl-nuw.ll b/llvm/test/Transforms/InstCombine/icmp-shl-nuw.ll index 5a0b3e34829d..e0b39a452b65 100644 --- a/llvm/test/Transforms/InstCombine/icmp-shl-nuw.ll +++ b/llvm/test/Transforms/InstCombine/icmp-shl-nuw.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i1 @icmp_ugt_32(i64) { ; CHECK-LABEL: @icmp_ugt_32( diff --git a/llvm/test/Transforms/InstCombine/icmp-shr-lt-gt.ll b/llvm/test/Transforms/InstCombine/icmp-shr-lt-gt.ll index 82f5a6dad760..b47eb6083115 100644 --- a/llvm/test/Transforms/InstCombine/icmp-shr-lt-gt.ll +++ b/llvm/test/Transforms/InstCombine/icmp-shr-lt-gt.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i1 @lshrugt_01_00(i4 %x) { ; CHECK-LABEL: @lshrugt_01_00( diff --git a/llvm/test/Transforms/InstCombine/icmp-shr.ll b/llvm/test/Transforms/InstCombine/icmp-shr.ll index 168aa81874f6..cc24c8a29bd9 100644 --- a/llvm/test/Transforms/InstCombine/icmp-shr.ll +++ b/llvm/test/Transforms/InstCombine/icmp-shr.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" diff --git a/llvm/test/Transforms/InstCombine/icmp-sub.ll b/llvm/test/Transforms/InstCombine/icmp-sub.ll index 40447559bbb8..5088cb5a73d1 100644 --- a/llvm/test/Transforms/InstCombine/icmp-sub.ll +++ b/llvm/test/Transforms/InstCombine/icmp-sub.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use(i32) declare void @use_vec(<2 x i8>) diff --git a/llvm/test/Transforms/InstCombine/icmp-topbitssame.ll b/llvm/test/Transforms/InstCombine/icmp-topbitssame.ll index 61107cd15d6d..284dc036d11d 100644 --- a/llvm/test/Transforms/InstCombine/icmp-topbitssame.ll +++ b/llvm/test/Transforms/InstCombine/icmp-topbitssame.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" declare void @use(i8) diff --git a/llvm/test/Transforms/InstCombine/icmp-trunc.ll b/llvm/test/Transforms/InstCombine/icmp-trunc.ll index 44bb4ecaf8fa..1218fdb70699 100644 --- a/llvm/test/Transforms/InstCombine/icmp-trunc.ll +++ b/llvm/test/Transforms/InstCombine/icmp-trunc.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use(i8) diff --git a/llvm/test/Transforms/InstCombine/icmp-uge-of-add-of-shl-one-by-bits-to-allones-and-val-to-icmp-eq-of-lshr-val-by-bits-and-0.ll b/llvm/test/Transforms/InstCombine/icmp-uge-of-add-of-shl-one-by-bits-to-allones-and-val-to-icmp-eq-of-lshr-val-by-bits-and-0.ll index a3d9cca79992..4e11376e0afe 100644 --- a/llvm/test/Transforms/InstCombine/icmp-uge-of-add-of-shl-one-by-bits-to-allones-and-val-to-icmp-eq-of-lshr-val-by-bits-and-0.ll +++ b/llvm/test/Transforms/InstCombine/icmp-uge-of-add-of-shl-one-by-bits-to-allones-and-val-to-icmp-eq-of-lshr-val-by-bits-and-0.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38708 diff --git a/llvm/test/Transforms/InstCombine/icmp-uge-of-not-of-shl-allones-by-bits-and-val-to-icmp-eq-of-lshr-val-by-bits-and-0.ll b/llvm/test/Transforms/InstCombine/icmp-uge-of-not-of-shl-allones-by-bits-and-val-to-icmp-eq-of-lshr-val-by-bits-and-0.ll index a326846332d6..36de1d130ea4 100644 --- a/llvm/test/Transforms/InstCombine/icmp-uge-of-not-of-shl-allones-by-bits-and-val-to-icmp-eq-of-lshr-val-by-bits-and-0.ll +++ b/llvm/test/Transforms/InstCombine/icmp-uge-of-not-of-shl-allones-by-bits-and-val-to-icmp-eq-of-lshr-val-by-bits-and-0.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38708 diff --git a/llvm/test/Transforms/InstCombine/icmp-ugt-of-shl-1-by-bits-and-val-to-icmp-eq-of-lshr-val-by-bits-and-0.ll b/llvm/test/Transforms/InstCombine/icmp-ugt-of-shl-1-by-bits-and-val-to-icmp-eq-of-lshr-val-by-bits-and-0.ll index 07576677f586..8d8022dc8cb7 100644 --- a/llvm/test/Transforms/InstCombine/icmp-ugt-of-shl-1-by-bits-and-val-to-icmp-eq-of-lshr-val-by-bits-and-0.ll +++ b/llvm/test/Transforms/InstCombine/icmp-ugt-of-shl-1-by-bits-and-val-to-icmp-eq-of-lshr-val-by-bits-and-0.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38708 diff --git a/llvm/test/Transforms/InstCombine/icmp-ule-of-shl-1-by-bits-and-val-to-icmp-ne-of-lshr-val-by-bits-and-0.ll b/llvm/test/Transforms/InstCombine/icmp-ule-of-shl-1-by-bits-and-val-to-icmp-ne-of-lshr-val-by-bits-and-0.ll index b9d033939398..7f47ae7cfa09 100644 --- a/llvm/test/Transforms/InstCombine/icmp-ule-of-shl-1-by-bits-and-val-to-icmp-ne-of-lshr-val-by-bits-and-0.ll +++ b/llvm/test/Transforms/InstCombine/icmp-ule-of-shl-1-by-bits-and-val-to-icmp-ne-of-lshr-val-by-bits-and-0.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38708 diff --git a/llvm/test/Transforms/InstCombine/icmp-ult-of-add-of-shl-one-by-bits-to-allones-and-val-to-icmp-ne-of-lshr-val-by-bits-and-0.ll b/llvm/test/Transforms/InstCombine/icmp-ult-of-add-of-shl-one-by-bits-to-allones-and-val-to-icmp-ne-of-lshr-val-by-bits-and-0.ll index 2de7e432ac2b..94b2b507f3aa 100644 --- a/llvm/test/Transforms/InstCombine/icmp-ult-of-add-of-shl-one-by-bits-to-allones-and-val-to-icmp-ne-of-lshr-val-by-bits-and-0.ll +++ b/llvm/test/Transforms/InstCombine/icmp-ult-of-add-of-shl-one-by-bits-to-allones-and-val-to-icmp-ne-of-lshr-val-by-bits-and-0.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38708 diff --git a/llvm/test/Transforms/InstCombine/icmp-ult-of-not-of-shl-allones-by-bits-and-val-to-icmp-ne-of-lshr-val-by-bits-and-0.ll b/llvm/test/Transforms/InstCombine/icmp-ult-of-not-of-shl-allones-by-bits-and-val-to-icmp-ne-of-lshr-val-by-bits-and-0.ll index f97d24374dab..a6e6b1c50c26 100644 --- a/llvm/test/Transforms/InstCombine/icmp-ult-of-not-of-shl-allones-by-bits-and-val-to-icmp-ne-of-lshr-val-by-bits-and-0.ll +++ b/llvm/test/Transforms/InstCombine/icmp-ult-of-not-of-shl-allones-by-bits-and-val-to-icmp-ne-of-lshr-val-by-bits-and-0.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=38708 diff --git a/llvm/test/Transforms/InstCombine/icmp-vec-inseltpoison.ll b/llvm/test/Transforms/InstCombine/icmp-vec-inseltpoison.ll index 28ed7adbe026..bc6ac03c8847 100644 --- a/llvm/test/Transforms/InstCombine/icmp-vec-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/icmp-vec-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Canonicalize vector ge/le comparisons with constants to gt/lt. diff --git a/llvm/test/Transforms/InstCombine/icmp-vec.ll b/llvm/test/Transforms/InstCombine/icmp-vec.ll index 50c063220f6f..f1980ef559c7 100644 --- a/llvm/test/Transforms/InstCombine/icmp-vec.ll +++ b/llvm/test/Transforms/InstCombine/icmp-vec.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Canonicalize vector ge/le comparisons with constants to gt/lt. diff --git a/llvm/test/Transforms/InstCombine/icmp-vscale.ll b/llvm/test/Transforms/InstCombine/icmp-vscale.ll index 18f551723b5d..c85a9e8a406d 100644 --- a/llvm/test/Transforms/InstCombine/icmp-vscale.ll +++ b/llvm/test/Transforms/InstCombine/icmp-vscale.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s define i1 @ugt_vscale64_x_32() vscale_range(1,16) { ; CHECK-LABEL: @ugt_vscale64_x_32( diff --git a/llvm/test/Transforms/InstCombine/icmp.ll b/llvm/test/Transforms/InstCombine/icmp.ll index 7d38013ee399..f3b7036072ba 100644 --- a/llvm/test/Transforms/InstCombine/icmp.ll +++ b/llvm/test/Transforms/InstCombine/icmp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" diff --git a/llvm/test/Transforms/InstCombine/icmp_sdiv_with_and_without_range.ll b/llvm/test/Transforms/InstCombine/icmp_sdiv_with_and_without_range.ll index dde8bef70a6d..6df5c4c86036 100644 --- a/llvm/test/Transforms/InstCombine/icmp_sdiv_with_and_without_range.ll +++ b/llvm/test/Transforms/InstCombine/icmp_sdiv_with_and_without_range.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; Test that presence of range does not cause unprofitable transforms with bit ; arithmetics. diff --git a/llvm/test/Transforms/InstCombine/idioms.ll b/llvm/test/Transforms/InstCombine/idioms.ll index 58485442230c..150cb2cbb5ba 100644 --- a/llvm/test/Transforms/InstCombine/idioms.ll +++ b/llvm/test/Transforms/InstCombine/idioms.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; Check that code corresponding to the following C function is ; simplified into a single ASR operation: diff --git a/llvm/test/Transforms/InstCombine/indexed-gep-compares.ll b/llvm/test/Transforms/InstCombine/indexed-gep-compares.ll index c00fd5be06e4..84a28be2ab61 100644 --- a/llvm/test/Transforms/InstCombine/indexed-gep-compares.ll +++ b/llvm/test/Transforms/InstCombine/indexed-gep-compares.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:64" diff --git a/llvm/test/Transforms/InstCombine/inselt-binop-inseltpoison.ll b/llvm/test/Transforms/InstCombine/inselt-binop-inseltpoison.ll index 3a73e9eec4d8..872a0ed938c3 100644 --- a/llvm/test/Transforms/InstCombine/inselt-binop-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/inselt-binop-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine %s | FileCheck %s +; RUN: opt -S -passes=instcombine %s | FileCheck %s define <2 x i8> @add_constant(i8 %x) { ; CHECK-LABEL: @add_constant( diff --git a/llvm/test/Transforms/InstCombine/inselt-binop.ll b/llvm/test/Transforms/InstCombine/inselt-binop.ll index d5bcea0d2aa7..6f0672a25ad3 100644 --- a/llvm/test/Transforms/InstCombine/inselt-binop.ll +++ b/llvm/test/Transforms/InstCombine/inselt-binop.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine %s | FileCheck %s +; RUN: opt -S -passes=instcombine %s | FileCheck %s define <2 x i8> @add_constant(i8 %x) { ; CHECK-LABEL: @add_constant( diff --git a/llvm/test/Transforms/InstCombine/insert-const-shuf.ll b/llvm/test/Transforms/InstCombine/insert-const-shuf.ll index 229087621f63..fdcd08a22ced 100644 --- a/llvm/test/Transforms/InstCombine/insert-const-shuf.ll +++ b/llvm/test/Transforms/InstCombine/insert-const-shuf.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine %s | FileCheck %s +; RUN: opt -S -passes=instcombine %s | FileCheck %s ; Eliminate the insertelement. diff --git a/llvm/test/Transforms/InstCombine/insert-ext.ll b/llvm/test/Transforms/InstCombine/insert-ext.ll index 3eb6ab1e560b..52e28dc5cc44 100644 --- a/llvm/test/Transforms/InstCombine/insert-ext.ll +++ b/llvm/test/Transforms/InstCombine/insert-ext.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use(i32) declare void @usevec(<2 x i32>) diff --git a/llvm/test/Transforms/InstCombine/insert-extract-shuffle-inseltpoison.ll b/llvm/test/Transforms/InstCombine/insert-extract-shuffle-inseltpoison.ll index c029afe6e509..28b2988583b4 100644 --- a/llvm/test/Transforms/InstCombine/insert-extract-shuffle-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/insert-extract-shuffle-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine %s | FileCheck %s +; RUN: opt -S -passes=instcombine %s | FileCheck %s define <1 x i8> @test1(<8 x i8> %in) { ; CHECK-LABEL: @test1( diff --git a/llvm/test/Transforms/InstCombine/insert-extract-shuffle.ll b/llvm/test/Transforms/InstCombine/insert-extract-shuffle.ll index a9927e8bf073..9c93a9e32815 100644 --- a/llvm/test/Transforms/InstCombine/insert-extract-shuffle.ll +++ b/llvm/test/Transforms/InstCombine/insert-extract-shuffle.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine %s | FileCheck %s +; RUN: opt -S -passes=instcombine %s | FileCheck %s define <1 x i8> @test1(<8 x i8> %in) { ; CHECK-LABEL: @test1( diff --git a/llvm/test/Transforms/InstCombine/insert-val-extract-elem.ll b/llvm/test/Transforms/InstCombine/insert-val-extract-elem.ll index 9b708de88a90..21408d0e72bc 100644 --- a/llvm/test/Transforms/InstCombine/insert-val-extract-elem.ll +++ b/llvm/test/Transforms/InstCombine/insert-val-extract-elem.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine %s | FileCheck %s +; RUN: opt -S -passes=instcombine %s | FileCheck %s ; CHECK-LABEL: julia_2xdouble ; CHECK-NOT: insertvalue diff --git a/llvm/test/Transforms/InstCombine/insertelement-bitcast.ll b/llvm/test/Transforms/InstCombine/insertelement-bitcast.ll index 6942f59e70bc..2683e1e8f29b 100644 --- a/llvm/test/Transforms/InstCombine/insertelement-bitcast.ll +++ b/llvm/test/Transforms/InstCombine/insertelement-bitcast.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use_f32(float) declare void @use_v4f32(<4 x float>) diff --git a/llvm/test/Transforms/InstCombine/int_sideeffect.ll b/llvm/test/Transforms/InstCombine/int_sideeffect.ll index 6355c4557ef9..a579a8fb81ec 100644 --- a/llvm/test/Transforms/InstCombine/int_sideeffect.ll +++ b/llvm/test/Transforms/InstCombine/int_sideeffect.ll @@ -1,4 +1,4 @@ -; RUN: opt -S < %s -instcombine | FileCheck %s +; RUN: opt -S < %s -passes=instcombine | FileCheck %s declare void @llvm.sideeffect() diff --git a/llvm/test/Transforms/InstCombine/intptr1.ll b/llvm/test/Transforms/InstCombine/intptr1.ll index 42fa9bf8b44d..5ba8519583fe 100644 --- a/llvm/test/Transforms/InstCombine/intptr1.ll +++ b/llvm/test/Transforms/InstCombine/intptr1.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define void @test1(float* %a, float* readnone %a_end, i64* %b.i64) { ; CHECK-LABEL: @test1( diff --git a/llvm/test/Transforms/InstCombine/intptr2.ll b/llvm/test/Transforms/InstCombine/intptr2.ll index b105a7227499..7489fc1f98a3 100644 --- a/llvm/test/Transforms/InstCombine/intptr2.ll +++ b/llvm/test/Transforms/InstCombine/intptr2.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define void @test1(float* %a, float* readnone %a_end, i32* %b.i) { ; CHECK-LABEL: @test1 diff --git a/llvm/test/Transforms/InstCombine/intptr3.ll b/llvm/test/Transforms/InstCombine/intptr3.ll index 84a0cb922979..4dd3ecc451a4 100644 --- a/llvm/test/Transforms/InstCombine/intptr3.ll +++ b/llvm/test/Transforms/InstCombine/intptr3.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define void @test(float* %a, float* readnone %a_end, i64 %b) unnamed_addr { ; CHECK-LABEL: @test( diff --git a/llvm/test/Transforms/InstCombine/intptr4.ll b/llvm/test/Transforms/InstCombine/intptr4.ll index 663090f06e88..48a9c05992f1 100644 --- a/llvm/test/Transforms/InstCombine/intptr4.ll +++ b/llvm/test/Transforms/InstCombine/intptr4.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define void @test(float* %a, float* readnone %a_end, i64 %b, float* %bf) unnamed_addr { entry: diff --git a/llvm/test/Transforms/InstCombine/intptr5.ll b/llvm/test/Transforms/InstCombine/intptr5.ll index c5e728f14411..2dd970bd5df4 100644 --- a/llvm/test/Transforms/InstCombine/intptr5.ll +++ b/llvm/test/Transforms/InstCombine/intptr5.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define void @test(float* %a, float* readnone %a_end, i64 %b, float* %bf) unnamed_addr { entry: diff --git a/llvm/test/Transforms/InstCombine/intptr6.ll b/llvm/test/Transforms/InstCombine/intptr6.ll index 9c29145ab16b..890c31092b22 100644 --- a/llvm/test/Transforms/InstCombine/intptr6.ll +++ b/llvm/test/Transforms/InstCombine/intptr6.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S +; RUN: opt < %s -passes=instcombine -S ; no crash %A = type { %B } diff --git a/llvm/test/Transforms/InstCombine/intptr7.ll b/llvm/test/Transforms/InstCombine/intptr7.ll index ee5825f2f988..a7e38754f4e3 100644 --- a/llvm/test/Transforms/InstCombine/intptr7.ll +++ b/llvm/test/Transforms/InstCombine/intptr7.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define void @matching_phi(i64 %a, float* %b, i1 %cond) { ; CHECK-LABEL: @matching_phi( diff --git a/llvm/test/Transforms/InstCombine/intptr8.ll b/llvm/test/Transforms/InstCombine/intptr8.ll index dd2cc2053d12..c29c87b3518c 100644 --- a/llvm/test/Transforms/InstCombine/intptr8.ll +++ b/llvm/test/Transforms/InstCombine/intptr8.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; PR45033: Don't try to insert a cast into a catchswich block. diff --git a/llvm/test/Transforms/InstCombine/intrinsic-select.ll b/llvm/test/Transforms/InstCombine/intrinsic-select.ll index cbabbb8b4456..42bb26232945 100644 --- a/llvm/test/Transforms/InstCombine/intrinsic-select.ll +++ b/llvm/test/Transforms/InstCombine/intrinsic-select.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s declare void @use(i32) diff --git a/llvm/test/Transforms/InstCombine/intrinsics.ll b/llvm/test/Transforms/InstCombine/intrinsics.ll index fc1c1e5aed3a..8d67301c3696 100644 --- a/llvm/test/Transforms/InstCombine/intrinsics.ll +++ b/llvm/test/Transforms/InstCombine/intrinsics.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s declare double @llvm.powi.f64.i16(double, i16) nounwind readonly declare double @llvm.powi.f64.i32(double, i32) nounwind readonly diff --git a/llvm/test/Transforms/InstCombine/invariant.ll b/llvm/test/Transforms/InstCombine/invariant.ll index 21e5f0fe8584..66136073571d 100644 --- a/llvm/test/Transforms/InstCombine/invariant.ll +++ b/llvm/test/Transforms/InstCombine/invariant.ll @@ -1,5 +1,5 @@ ; Test to make sure unused llvm.invariant.start calls are not trivially eliminated -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @g(i8*) declare void @g_addr1(i8 addrspace(1)*) diff --git a/llvm/test/Transforms/InstCombine/invert-variable-mask-in-masked-merge-scalar.ll b/llvm/test/Transforms/InstCombine/invert-variable-mask-in-masked-merge-scalar.ll index e1bda5903f6f..fff05a416dec 100644 --- a/llvm/test/Transforms/InstCombine/invert-variable-mask-in-masked-merge-scalar.ll +++ b/llvm/test/Transforms/InstCombine/invert-variable-mask-in-masked-merge-scalar.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have a masked merge, in the form of: (M is not constant) ; ((x ^ y) & ~M) ^ y diff --git a/llvm/test/Transforms/InstCombine/invert-variable-mask-in-masked-merge-vector.ll b/llvm/test/Transforms/InstCombine/invert-variable-mask-in-masked-merge-vector.ll index 44e12fb64b95..486113202ddd 100644 --- a/llvm/test/Transforms/InstCombine/invert-variable-mask-in-masked-merge-vector.ll +++ b/llvm/test/Transforms/InstCombine/invert-variable-mask-in-masked-merge-vector.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have a masked merge, in the form of: (M is not constant) ; ((x ^ y) & ~M) ^ y diff --git a/llvm/test/Transforms/InstCombine/invoke.ll b/llvm/test/Transforms/InstCombine/invoke.ll index 6585ff000d92..e595615b2aed 100644 --- a/llvm/test/Transforms/InstCombine/invoke.ll +++ b/llvm/test/Transforms/InstCombine/invoke.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" declare i32 @__gxx_personality_v0(...) diff --git a/llvm/test/Transforms/InstCombine/isascii-1.ll b/llvm/test/Transforms/InstCombine/isascii-1.ll index 88f5ad66d2ef..97f9f0a8ab5b 100644 --- a/llvm/test/Transforms/InstCombine/isascii-1.ll +++ b/llvm/test/Transforms/InstCombine/isascii-1.ll @@ -1,6 +1,6 @@ ; Test that the isascii library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/isdigit-1.ll b/llvm/test/Transforms/InstCombine/isdigit-1.ll index 6791307aeaee..91d4b3c7ca2a 100644 --- a/llvm/test/Transforms/InstCombine/isdigit-1.ll +++ b/llvm/test/Transforms/InstCombine/isdigit-1.ll @@ -1,6 +1,6 @@ ; Test that the isdigit library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/ispow2.ll b/llvm/test/Transforms/InstCombine/ispow2.ll index 7661f5850bfe..0cf62d06a56e 100644 --- a/llvm/test/Transforms/InstCombine/ispow2.ll +++ b/llvm/test/Transforms/InstCombine/ispow2.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i1 @is_pow2or0_negate_op(i32 %x) { ; CHECK-LABEL: @is_pow2or0_negate_op( diff --git a/llvm/test/Transforms/InstCombine/known-bits.ll b/llvm/test/Transforms/InstCombine/known-bits.ll index e4015d832bef..cf560d7f333f 100644 --- a/llvm/test/Transforms/InstCombine/known-bits.ll +++ b/llvm/test/Transforms/InstCombine/known-bits.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s define void @test_shl(i1 %x) { ; CHECK-LABEL: @test_shl( diff --git a/llvm/test/Transforms/InstCombine/known-never-nan.ll b/llvm/test/Transforms/InstCombine/known-never-nan.ll index c5fdc8e800cc..a1cabc29682b 100644 --- a/llvm/test/Transforms/InstCombine/known-never-nan.ll +++ b/llvm/test/Transforms/InstCombine/known-never-nan.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -S -instcombine | FileCheck %s +; RUN: opt < %s -S -passes=instcombine | FileCheck %s ; This file used to contain more tests that folded to true/false, ; but those are all tested identically in InstSimplify now. diff --git a/llvm/test/Transforms/InstCombine/known-non-zero.ll b/llvm/test/Transforms/InstCombine/known-non-zero.ll index 3ad1ebe55b2c..6f928b4a07c8 100644 --- a/llvm/test/Transforms/InstCombine/known-non-zero.ll +++ b/llvm/test/Transforms/InstCombine/known-non-zero.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare i64 @llvm.cttz.i64(i64, i1) diff --git a/llvm/test/Transforms/InstCombine/known-signbit-shift.ll b/llvm/test/Transforms/InstCombine/known-signbit-shift.ll index e758d670e3bc..17c7fbab12dc 100644 --- a/llvm/test/Transforms/InstCombine/known-signbit-shift.ll +++ b/llvm/test/Transforms/InstCombine/known-signbit-shift.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Result of left shifting a non-negative integer ; with nsw flag should also be non-negative diff --git a/llvm/test/Transforms/InstCombine/known_align.ll b/llvm/test/Transforms/InstCombine/known_align.ll index 653c4c51e2da..cea545983485 100644 --- a/llvm/test/Transforms/InstCombine/known_align.ll +++ b/llvm/test/Transforms/InstCombine/known_align.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "align 1" +; RUN: opt < %s -passes=instcombine -S | grep "align 1" ; END. %struct.p = type <{ i8, i32 }> diff --git a/llvm/test/Transforms/InstCombine/lifetime-no-null-opt.ll b/llvm/test/Transforms/InstCombine/lifetime-no-null-opt.ll index b5f577b04a0d..bdc8d6ea2585 100644 --- a/llvm/test/Transforms/InstCombine/lifetime-no-null-opt.ll +++ b/llvm/test/Transforms/InstCombine/lifetime-no-null-opt.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @llvm.dbg.declare(metadata, metadata, metadata) declare void @llvm.lifetime.start.p0i8(i64, i8* nocapture) diff --git a/llvm/test/Transforms/InstCombine/lifetime-sanitizer.ll b/llvm/test/Transforms/InstCombine/lifetime-sanitizer.ll index 4b3cad1b9656..bf08c5e79d25 100644 --- a/llvm/test/Transforms/InstCombine/lifetime-sanitizer.ll +++ b/llvm/test/Transforms/InstCombine/lifetime-sanitizer.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @llvm.lifetime.start.p0i8(i64, i8* nocapture) declare void @llvm.lifetime.end.p0i8(i64, i8* nocapture) diff --git a/llvm/test/Transforms/InstCombine/load-bitcast-select.ll b/llvm/test/Transforms/InstCombine/load-bitcast-select.ll index 09b0f0d35f1b..559123679163 100644 --- a/llvm/test/Transforms/InstCombine/load-bitcast-select.ll +++ b/llvm/test/Transforms/InstCombine/load-bitcast-select.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S -data-layout="e-m:e-i64:64-f80:128-n8:16:32:64-S128" | FileCheck %s +; RUN: opt < %s -passes=instcombine -S -data-layout="e-m:e-i64:64-f80:128-n8:16:32:64-S128" | FileCheck %s @a = global [1000 x float] zeroinitializer, align 16 @b = global [1000 x float] zeroinitializer, align 16 diff --git a/llvm/test/Transforms/InstCombine/load-bitcast-vec.ll b/llvm/test/Transforms/InstCombine/load-bitcast-vec.ll index 644f1f5ae700..566c38349a4a 100644 --- a/llvm/test/Transforms/InstCombine/load-bitcast-vec.ll +++ b/llvm/test/Transforms/InstCombine/load-bitcast-vec.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s define float @matching_scalar(<4 x float>* dereferenceable(16) %p) { ; CHECK-LABEL: @matching_scalar( diff --git a/llvm/test/Transforms/InstCombine/load-bitcast32.ll b/llvm/test/Transforms/InstCombine/load-bitcast32.ll index 76a305c1f060..a696727ee85d 100644 --- a/llvm/test/Transforms/InstCombine/load-bitcast32.ll +++ b/llvm/test/Transforms/InstCombine/load-bitcast32.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s target datalayout = "p:32:32:32" diff --git a/llvm/test/Transforms/InstCombine/load-bitcast64.ll b/llvm/test/Transforms/InstCombine/load-bitcast64.ll index aa0990061666..b653ffcecd3d 100644 --- a/llvm/test/Transforms/InstCombine/load-bitcast64.ll +++ b/llvm/test/Transforms/InstCombine/load-bitcast64.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s target datalayout = "p:64:64:64-i64:32:32" diff --git a/llvm/test/Transforms/InstCombine/load-cmp.ll b/llvm/test/Transforms/InstCombine/load-cmp.ll index 0176093e31f4..5f584a50c406 100644 --- a/llvm/test/Transforms/InstCombine/load-cmp.ll +++ b/llvm/test/Transforms/InstCombine/load-cmp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S -data-layout="p:32:32:32-p1:16:16:16-n8:16:32:64" < %s | FileCheck %s +; RUN: opt -passes=instcombine -S -data-layout="p:32:32:32-p1:16:16:16-n8:16:32:64" < %s | FileCheck %s @G16 = internal constant [10 x i16] [i16 35, i16 82, i16 69, i16 81, i16 85, i16 73, i16 82, i16 69, i16 68, i16 0] diff --git a/llvm/test/Transforms/InstCombine/load-combine-metadata-2.ll b/llvm/test/Transforms/InstCombine/load-combine-metadata-2.ll index bec0d7d2c36b..9f4ddc3ec0b4 100644 --- a/llvm/test/Transforms/InstCombine/load-combine-metadata-2.ll +++ b/llvm/test/Transforms/InstCombine/load-combine-metadata-2.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s target datalayout = "e-m:e-p:64:64:64-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Transforms/InstCombine/load-combine-metadata-3.ll b/llvm/test/Transforms/InstCombine/load-combine-metadata-3.ll index bad4bb240590..2312e01a2808 100644 --- a/llvm/test/Transforms/InstCombine/load-combine-metadata-3.ll +++ b/llvm/test/Transforms/InstCombine/load-combine-metadata-3.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s target datalayout = "e-m:e-p:64:64:64-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Transforms/InstCombine/load-combine-metadata-4.ll b/llvm/test/Transforms/InstCombine/load-combine-metadata-4.ll index 2a1ffcd0605e..7d1ae3726b43 100644 --- a/llvm/test/Transforms/InstCombine/load-combine-metadata-4.ll +++ b/llvm/test/Transforms/InstCombine/load-combine-metadata-4.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s target datalayout = "e-m:e-p:64:64:64-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Transforms/InstCombine/load-combine-metadata-dominance.ll b/llvm/test/Transforms/InstCombine/load-combine-metadata-dominance.ll index 25e352bdb7bf..40b55d9eac2a 100644 --- a/llvm/test/Transforms/InstCombine/load-combine-metadata-dominance.ll +++ b/llvm/test/Transforms/InstCombine/load-combine-metadata-dominance.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s target datalayout = "e-m:e-p:64:64:64-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Transforms/InstCombine/load-combine-metadata.ll b/llvm/test/Transforms/InstCombine/load-combine-metadata.ll index 536f1bb75f63..15c2243cf264 100644 --- a/llvm/test/Transforms/InstCombine/load-combine-metadata.ll +++ b/llvm/test/Transforms/InstCombine/load-combine-metadata.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s target datalayout = "e-m:e-p:64:64:64-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Transforms/InstCombine/load-select.ll b/llvm/test/Transforms/InstCombine/load-select.ll index dfc07983eff4..86b27d987dcb 100644 --- a/llvm/test/Transforms/InstCombine/load-select.ll +++ b/llvm/test/Transforms/InstCombine/load-select.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:32-n32" diff --git a/llvm/test/Transforms/InstCombine/load-store-forward.ll b/llvm/test/Transforms/InstCombine/load-store-forward.ll index c1a01454772f..a30c0089a105 100644 --- a/llvm/test/Transforms/InstCombine/load-store-forward.ll +++ b/llvm/test/Transforms/InstCombine/load-store-forward.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s --check-prefixes=CHECK,LITTLE -; RUN: opt -S -instcombine -data-layout="E" < %s | FileCheck %s --check-prefixes=CHECK,BIG +; RUN: opt -S -passes=instcombine < %s | FileCheck %s --check-prefixes=CHECK,LITTLE +; RUN: opt -S -passes=instcombine -data-layout="E" < %s | FileCheck %s --check-prefixes=CHECK,BIG define i8 @load_smaller_int(i16* %p) { ; LITTLE-LABEL: @load_smaller_int( diff --git a/llvm/test/Transforms/InstCombine/load3.ll b/llvm/test/Transforms/InstCombine/load3.ll index 6db8dd391fa1..a356f5426ec4 100644 --- a/llvm/test/Transforms/InstCombine/load3.ll +++ b/llvm/test/Transforms/InstCombine/load3.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128-n8:16:32-S128" target triple = "i386-apple-macosx10.0.0" diff --git a/llvm/test/Transforms/InstCombine/loadstore-alignment.ll b/llvm/test/Transforms/InstCombine/loadstore-alignment.ll index 299b5e36b96d..584365f8ebbf 100644 --- a/llvm/test/Transforms/InstCombine/loadstore-alignment.ll +++ b/llvm/test/Transforms/InstCombine/loadstore-alignment.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s target datalayout = "E-p:64:64:64-p1:64:64:64-p2:32:32:32-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128" @x = external global <2 x i64>, align 16 diff --git a/llvm/test/Transforms/InstCombine/loadstore-metadata.ll b/llvm/test/Transforms/InstCombine/loadstore-metadata.ll index c8457c086324..e3d833bb1f8d 100644 --- a/llvm/test/Transforms/InstCombine/loadstore-metadata.ll +++ b/llvm/test/Transforms/InstCombine/loadstore-metadata.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s target datalayout = "e-m:e-p:64:64:64-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Transforms/InstCombine/log-pow-nofastmath.ll b/llvm/test/Transforms/InstCombine/log-pow-nofastmath.ll index faaef97311ec..20008d9b47e6 100644 --- a/llvm/test/Transforms/InstCombine/log-pow-nofastmath.ll +++ b/llvm/test/Transforms/InstCombine/log-pow-nofastmath.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define double @mylog(double %x, double %y) { entry: diff --git a/llvm/test/Transforms/InstCombine/log-pow.ll b/llvm/test/Transforms/InstCombine/log-pow.ll index 227fcf0c3fa7..5813418ac9c4 100644 --- a/llvm/test/Transforms/InstCombine/log-pow.ll +++ b/llvm/test/Transforms/InstCombine/log-pow.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define double @log_pow(double %x, double %y) { ; CHECK-LABEL: @log_pow( diff --git a/llvm/test/Transforms/InstCombine/logical-select-inseltpoison.ll b/llvm/test/Transforms/InstCombine/logical-select-inseltpoison.ll index 2d05c264db82..d17a90d3e970 100644 --- a/llvm/test/Transforms/InstCombine/logical-select-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/logical-select-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @foo(i32 %a, i32 %b, i32 %c, i32 %d) { diff --git a/llvm/test/Transforms/InstCombine/logical-select.ll b/llvm/test/Transforms/InstCombine/logical-select.ll index c23f851bf8da..826ae9062df1 100644 --- a/llvm/test/Transforms/InstCombine/logical-select.ll +++ b/llvm/test/Transforms/InstCombine/logical-select.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use(i8) diff --git a/llvm/test/Transforms/InstCombine/low-bit-splat.ll b/llvm/test/Transforms/InstCombine/low-bit-splat.ll index 332cb32ad1de..5a4b00a6f17e 100644 --- a/llvm/test/Transforms/InstCombine/low-bit-splat.ll +++ b/llvm/test/Transforms/InstCombine/low-bit-splat.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; PR51305: prefer `-(x & 1)` over `(x << (bitwidth(x)-1)) a>> (bitwidth(x)-1)` ; as the pattern to splat the lowest bit. diff --git a/llvm/test/Transforms/InstCombine/lower-dbg-declare.ll b/llvm/test/Transforms/InstCombine/lower-dbg-declare.ll index 0277086659a6..854abb8b93ba 100644 --- a/llvm/test/Transforms/InstCombine/lower-dbg-declare.ll +++ b/llvm/test/Transforms/InstCombine/lower-dbg-declare.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine < %s -S | FileCheck %s +; RUN: opt -passes=instcombine < %s -S | FileCheck %s ; This tests dbg.declare lowering for CallInst users of an alloca. The ; resulting dbg.value expressions should add a deref to the declare's expression. diff --git a/llvm/test/Transforms/InstCombine/lshr-and-negC-icmpeq-zero.ll b/llvm/test/Transforms/InstCombine/lshr-and-negC-icmpeq-zero.ll index 571ca8e2ce84..0ac3b19787e1 100644 --- a/llvm/test/Transforms/InstCombine/lshr-and-negC-icmpeq-zero.ll +++ b/llvm/test/Transforms/InstCombine/lshr-and-negC-icmpeq-zero.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; For pattern ((X l>> Y) & ~C) ==/!= 0; when C+1 is power of 2 ; it may be optimal to fold into (X l>> Y) = C+1 diff --git a/llvm/test/Transforms/InstCombine/lshr-and-signbit-icmpeq-zero.ll b/llvm/test/Transforms/InstCombine/lshr-and-signbit-icmpeq-zero.ll index afe96c43f258..1388e5a016cb 100644 --- a/llvm/test/Transforms/InstCombine/lshr-and-signbit-icmpeq-zero.ll +++ b/llvm/test/Transforms/InstCombine/lshr-and-signbit-icmpeq-zero.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; For pattern ((X l>> Y) & signbit) ==/!= 0 ; it may be optimal to fold into (X l>> Y) >=/< 0 diff --git a/llvm/test/Transforms/InstCombine/lshr-phi.ll b/llvm/test/Transforms/InstCombine/lshr-phi.ll index 91fd2981e5b0..7ff8a1909edf 100644 --- a/llvm/test/Transforms/InstCombine/lshr-phi.ll +++ b/llvm/test/Transforms/InstCombine/lshr-phi.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Instcombine should be able to eliminate the lshr, because only ; bits in the operand which might be non-zero will be shifted diff --git a/llvm/test/Transforms/InstCombine/lshr-trunc-sext-to-ashr-sext.ll b/llvm/test/Transforms/InstCombine/lshr-trunc-sext-to-ashr-sext.ll index 7556ad395b87..8d82213d8022 100644 --- a/llvm/test/Transforms/InstCombine/lshr-trunc-sext-to-ashr-sext.ll +++ b/llvm/test/Transforms/InstCombine/lshr-trunc-sext-to-ashr-sext.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Iff trunc only chops off zero bits that were just shifted-in by the lshr, ; but no other bits, then we can instead do signed shift, and signext it. diff --git a/llvm/test/Transforms/InstCombine/lshr.ll b/llvm/test/Transforms/InstCombine/lshr.ll index 1862975975e6..775fd3fb15e9 100644 --- a/llvm/test/Transforms/InstCombine/lshr.ll +++ b/llvm/test/Transforms/InstCombine/lshr.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s target datalayout = "e-m:e-i64:64-n8:16:32:64" diff --git a/llvm/test/Transforms/InstCombine/malloc-free.ll b/llvm/test/Transforms/InstCombine/malloc-free.ll index eea2a3b2c1b2..c614505c472e 100644 --- a/llvm/test/Transforms/InstCombine/malloc-free.ll +++ b/llvm/test/Transforms/InstCombine/malloc-free.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; PR1201 define i32 @main(i32 %argc, i8** %argv) { ; CHECK-LABEL: @main( diff --git a/llvm/test/Transforms/InstCombine/malloc_free_delete_nvptx.ll b/llvm/test/Transforms/InstCombine/malloc_free_delete_nvptx.ll index 39050440dc42..3a19efbae8a8 100644 --- a/llvm/test/Transforms/InstCombine/malloc_free_delete_nvptx.ll +++ b/llvm/test/Transforms/InstCombine/malloc_free_delete_nvptx.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target triple = "nvptx64" diff --git a/llvm/test/Transforms/InstCombine/masked-merge-add.ll b/llvm/test/Transforms/InstCombine/masked-merge-add.ll index 40ee8952fbf4..9fa244847aa5 100644 --- a/llvm/test/Transforms/InstCombine/masked-merge-add.ll +++ b/llvm/test/Transforms/InstCombine/masked-merge-add.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=6773 diff --git a/llvm/test/Transforms/InstCombine/masked-merge-and-of-ors.ll b/llvm/test/Transforms/InstCombine/masked-merge-and-of-ors.ll index 48346ad6505b..dc76743c565e 100644 --- a/llvm/test/Transforms/InstCombine/masked-merge-and-of-ors.ll +++ b/llvm/test/Transforms/InstCombine/masked-merge-and-of-ors.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=6773 diff --git a/llvm/test/Transforms/InstCombine/masked-merge-or.ll b/llvm/test/Transforms/InstCombine/masked-merge-or.ll index 377d4325204b..1716c5eedcf3 100644 --- a/llvm/test/Transforms/InstCombine/masked-merge-or.ll +++ b/llvm/test/Transforms/InstCombine/masked-merge-or.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=6773 diff --git a/llvm/test/Transforms/InstCombine/masked-merge-xor.ll b/llvm/test/Transforms/InstCombine/masked-merge-xor.ll index 6a3e9178ac9d..cb747aece74a 100644 --- a/llvm/test/Transforms/InstCombine/masked-merge-xor.ll +++ b/llvm/test/Transforms/InstCombine/masked-merge-xor.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=6773 diff --git a/llvm/test/Transforms/InstCombine/masked_intrinsics-inseltpoison.ll b/llvm/test/Transforms/InstCombine/masked_intrinsics-inseltpoison.ll index 021be4c43d6f..b4651537afeb 100644 --- a/llvm/test/Transforms/InstCombine/masked_intrinsics-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/masked_intrinsics-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s declare <2 x double> @llvm.masked.load.v2f64.p0v2f64(<2 x double>* %ptrs, i32, <2 x i1> %mask, <2 x double> %src0) declare void @llvm.masked.store.v2f64.p0v2f64(<2 x double> %val, <2 x double>* %ptrs, i32, <2 x i1> %mask) diff --git a/llvm/test/Transforms/InstCombine/masked_intrinsics.ll b/llvm/test/Transforms/InstCombine/masked_intrinsics.ll index 5ba559fd35f9..a0020ac31674 100644 --- a/llvm/test/Transforms/InstCombine/masked_intrinsics.ll +++ b/llvm/test/Transforms/InstCombine/masked_intrinsics.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s declare <2 x double> @llvm.masked.load.v2f64.p0v2f64(<2 x double>* %ptrs, i32, <2 x i1> %mask, <2 x double> %src0) declare void @llvm.masked.store.v2f64.p0v2f64(<2 x double> %val, <2 x double>* %ptrs, i32, <2 x i1> %mask) diff --git a/llvm/test/Transforms/InstCombine/masked_intrinsics_keep_metadata.ll b/llvm/test/Transforms/InstCombine/masked_intrinsics_keep_metadata.ll index 602dae9810b0..bda401ca3e1b 100644 --- a/llvm/test/Transforms/InstCombine/masked_intrinsics_keep_metadata.ll +++ b/llvm/test/Transforms/InstCombine/masked_intrinsics_keep_metadata.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s @g0 = global <4 x i32> zeroinitializer, align 16 diff --git a/llvm/test/Transforms/InstCombine/max-of-nots.ll b/llvm/test/Transforms/InstCombine/max-of-nots.ll index 1b551f9f9b51..965a1766801a 100644 --- a/llvm/test/Transforms/InstCombine/max-of-nots.ll +++ b/llvm/test/Transforms/InstCombine/max-of-nots.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s define <2 x i32> @umin_of_nots(<2 x i32> %x, <2 x i32> %y) { ; CHECK-LABEL: @umin_of_nots( diff --git a/llvm/test/Transforms/InstCombine/max_known_bits.ll b/llvm/test/Transforms/InstCombine/max_known_bits.ll index 86c4d2530c37..da581888aeaf 100644 --- a/llvm/test/Transforms/InstCombine/max_known_bits.ll +++ b/llvm/test/Transforms/InstCombine/max_known_bits.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s define i16 @foo(i16 %x) { ; CHECK-LABEL: @foo( diff --git a/llvm/test/Transforms/InstCombine/maximum.ll b/llvm/test/Transforms/InstCombine/maximum.ll index 1b34a084fe1e..180c4ed141c0 100644 --- a/llvm/test/Transforms/InstCombine/maximum.ll +++ b/llvm/test/Transforms/InstCombine/maximum.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s declare float @llvm.maximum.f32(float, float) declare <2 x float> @llvm.maximum.v2f32(<2 x float>, <2 x float>) diff --git a/llvm/test/Transforms/InstCombine/maxnum.ll b/llvm/test/Transforms/InstCombine/maxnum.ll index a43f0aeb268a..d64c5bac520b 100644 --- a/llvm/test/Transforms/InstCombine/maxnum.ll +++ b/llvm/test/Transforms/InstCombine/maxnum.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s declare float @llvm.maxnum.f32(float, float) declare <2 x float> @llvm.maxnum.v2f32(<2 x float>, <2 x float>) diff --git a/llvm/test/Transforms/InstCombine/mem-deref-bytes-addrspaces.ll b/llvm/test/Transforms/InstCombine/mem-deref-bytes-addrspaces.ll index fd4d616912f9..4cc18f538751 100644 --- a/llvm/test/Transforms/InstCombine/mem-deref-bytes-addrspaces.ll +++ b/llvm/test/Transforms/InstCombine/mem-deref-bytes-addrspaces.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s declare i32 @memcmp(i8 addrspace(1)* nocapture, i8* nocapture, i64) diff --git a/llvm/test/Transforms/InstCombine/mem-deref-bytes.ll b/llvm/test/Transforms/InstCombine/mem-deref-bytes.ll index a18216f1869d..22797c20a5a4 100644 --- a/llvm/test/Transforms/InstCombine/mem-deref-bytes.ll +++ b/llvm/test/Transforms/InstCombine/mem-deref-bytes.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s declare i32 @memcmp(i8* nocapture, i8* nocapture, i64) declare i8* @memcpy(i8* nocapture, i8* nocapture, i64) diff --git a/llvm/test/Transforms/InstCombine/mem-gep-zidx.ll b/llvm/test/Transforms/InstCombine/mem-gep-zidx.ll index db86c833140e..19ea426fc2bc 100644 --- a/llvm/test/Transforms/InstCombine/mem-gep-zidx.ll +++ b/llvm/test/Transforms/InstCombine/mem-gep-zidx.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s target datalayout = "E-m:e-i64:64-n32:64" target triple = "powerpc64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/mem-par-metadata-memcpy.ll b/llvm/test/Transforms/InstCombine/mem-par-metadata-memcpy.ll index 4add5a4e42f3..838b06b3d147 100644 --- a/llvm/test/Transforms/InstCombine/mem-par-metadata-memcpy.ll +++ b/llvm/test/Transforms/InstCombine/mem-par-metadata-memcpy.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; ; Make sure the llvm.access.group meta-data is preserved ; when a memcpy is replaced with a load+store by instcombine diff --git a/llvm/test/Transforms/InstCombine/memccpy.ll b/llvm/test/Transforms/InstCombine/memccpy.ll index df0418429a85..f7de428285b7 100644 --- a/llvm/test/Transforms/InstCombine/memccpy.ll +++ b/llvm/test/Transforms/InstCombine/memccpy.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s @hello = private constant [11 x i8] c"helloworld\00", align 1 @NoNulTerminator = private constant [10 x i8] c"helloworld", align 1 diff --git a/llvm/test/Transforms/InstCombine/memchr.ll b/llvm/test/Transforms/InstCombine/memchr.ll index f3659882c98a..29443bb21745 100644 --- a/llvm/test/Transforms/InstCombine/memchr.ll +++ b/llvm/test/Transforms/InstCombine/memchr.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the memchr library call simplifier works correctly. -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128-n8:16:32" diff --git a/llvm/test/Transforms/InstCombine/memcmp-1.ll b/llvm/test/Transforms/InstCombine/memcmp-1.ll index a82f861697cc..62fe1048e21e 100644 --- a/llvm/test/Transforms/InstCombine/memcmp-1.ll +++ b/llvm/test/Transforms/InstCombine/memcmp-1.ll @@ -1,7 +1,7 @@ ; Test that the memcmp library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck --check-prefix=CHECK --check-prefix=NOBCMP %s -; RUN: opt < %s -instcombine -mtriple=x86_64-unknown-linux-gnu -S | FileCheck --check-prefix=CHECK --check-prefix=BCMP %s +; RUN: opt < %s -passes=instcombine -S | FileCheck --check-prefix=CHECK --check-prefix=NOBCMP %s +; RUN: opt < %s -passes=instcombine -mtriple=x86_64-unknown-linux-gnu -S | FileCheck --check-prefix=CHECK --check-prefix=BCMP %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:128:128-n8:16:32:64" diff --git a/llvm/test/Transforms/InstCombine/memcmp-2.ll b/llvm/test/Transforms/InstCombine/memcmp-2.ll index bed62eb3fb95..3f56c49b5354 100644 --- a/llvm/test/Transforms/InstCombine/memcmp-2.ll +++ b/llvm/test/Transforms/InstCombine/memcmp-2.ll @@ -1,6 +1,6 @@ ; Test that the memcmp library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/memcmp-constant-fold.ll b/llvm/test/Transforms/InstCombine/memcmp-constant-fold.ll index 1591749c4185..00cde089865c 100644 --- a/llvm/test/Transforms/InstCombine/memcmp-constant-fold.ll +++ b/llvm/test/Transforms/InstCombine/memcmp-constant-fold.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S -data-layout=e-n32 | FileCheck %s --check-prefix=ALL --check-prefix=LE -; RUN: opt < %s -instcombine -S -data-layout=E-n32 | FileCheck %s --check-prefix=ALL --check-prefix=BE +; RUN: opt < %s -passes=instcombine -S -data-layout=e-n32 | FileCheck %s --check-prefix=ALL --check-prefix=LE +; RUN: opt < %s -passes=instcombine -S -data-layout=E-n32 | FileCheck %s --check-prefix=ALL --check-prefix=BE declare i32 @memcmp(i8*, i8*, i64) diff --git a/llvm/test/Transforms/InstCombine/memcpy-1.ll b/llvm/test/Transforms/InstCombine/memcpy-1.ll index 66c8c5ebd39a..2155310d0df4 100644 --- a/llvm/test/Transforms/InstCombine/memcpy-1.ll +++ b/llvm/test/Transforms/InstCombine/memcpy-1.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the memcpy library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/memcpy-2.ll b/llvm/test/Transforms/InstCombine/memcpy-2.ll index 12c68965b35c..b969d049c965 100644 --- a/llvm/test/Transforms/InstCombine/memcpy-2.ll +++ b/llvm/test/Transforms/InstCombine/memcpy-2.ll @@ -1,6 +1,6 @@ ; Test that the memcpy library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/memcpy-addrspace.ll b/llvm/test/Transforms/InstCombine/memcpy-addrspace.ll index 62a272406967..9b01a4d8d447 100644 --- a/llvm/test/Transforms/InstCombine/memcpy-addrspace.ll +++ b/llvm/test/Transforms/InstCombine/memcpy-addrspace.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s @test.data = private unnamed_addr addrspace(2) constant [8 x i32] [i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7], align 4 diff --git a/llvm/test/Transforms/InstCombine/memcpy-from-global.ll b/llvm/test/Transforms/InstCombine/memcpy-from-global.ll index 7fe49f56f8dd..6e5c9d92ff16 100644 --- a/llvm/test/Transforms/InstCombine/memcpy-from-global.ll +++ b/llvm/test/Transforms/InstCombine/memcpy-from-global.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64" @C.0.1248 = internal constant [128 x float] [ float -1.000000e+00, float -1.000000e+00, float -1.000000e+00, float 0.000000e+00, float -1.000000e+00, float -1.000000e+00, float 0.000000e+00, float -1.000000e+00, float -1.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float -1.000000e+00, float -1.000000e+00, float 1.000000e+00, float 0.000000e+00, float -1.000000e+00, float 0.000000e+00, float -1.000000e+00, float -1.000000e+00, float -1.000000e+00, float 0.000000e+00, float -1.000000e+00, float 1.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float -1.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 1.000000e+00, float -1.000000e+00, float 1.000000e+00, float -1.000000e+00, float 0.000000e+00, float -1.000000e+00, float 1.000000e+00, float 0.000000e+00, float -1.000000e+00, float -1.000000e+00, float 1.000000e+00, float 0.000000e+00, float 1.000000e+00, float -1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 0.000000e+00, float 0.000000e+00, float -1.000000e+00, float -1.000000e+00, float -1.000000e+00, float 0.000000e+00, float -1.000000e+00, float -1.000000e+00, float 1.000000e+00, float 0.000000e+00, float -1.000000e+00, float 1.000000e+00, float -1.000000e+00, float 0.000000e+00, float -1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float -1.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float -1.000000e+00, float 0.000000e+00, float -1.000000e+00, float 1.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 1.000000e+00, float -1.000000e+00, float 1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 0.000000e+00, float -1.000000e+00, float -1.000000e+00, float 1.000000e+00, float 0.000000e+00, float -1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 0.000000e+00, float 1.000000e+00, float -1.000000e+00, float 1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 1.000000e+00, float 0.000000e+00, float -1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 0.000000e+00, float 0.000000e+00, float 1.000000e+00, float -1.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float -1.000000e+00, float 1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 1.000000e+00, float -1.000000e+00, float 0.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00 ], align 32 ; <[128 x float]*> [#uses=1] diff --git a/llvm/test/Transforms/InstCombine/memcpy-to-load.ll b/llvm/test/Transforms/InstCombine/memcpy-to-load.ll index 66d86a2caa98..913e76e06436 100644 --- a/llvm/test/Transforms/InstCombine/memcpy-to-load.ll +++ b/llvm/test/Transforms/InstCombine/memcpy-to-load.ll @@ -1,8 +1,8 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s -; RUN: opt < %s -instcombine -S -data-layout=n32 | FileCheck %s -; RUN: opt < %s -instcombine -S -data-layout=n32:64 | FileCheck %s -; RUN: opt < %s -instcombine -S -data-layout=n32:64:128 | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S -data-layout=n32 | FileCheck %s +; RUN: opt < %s -passes=instcombine -S -data-layout=n32:64 | FileCheck %s +; RUN: opt < %s -passes=instcombine -S -data-layout=n32:64:128 | FileCheck %s declare void @llvm.memcpy.p0i8.p0i8.i32(i8* nocapture, i8* nocapture, i32, i1) nounwind diff --git a/llvm/test/Transforms/InstCombine/memcpy.ll b/llvm/test/Transforms/InstCombine/memcpy.ll index 83e525e31fe7..18f0a1f9e241 100644 --- a/llvm/test/Transforms/InstCombine/memcpy.ll +++ b/llvm/test/Transforms/InstCombine/memcpy.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @llvm.memcpy.p0i8.p0i8.i32(i8* nocapture, i8* nocapture, i32, i1) nounwind declare void @llvm.memcpy.p0i8.p0i8.i64(i8* nocapture, i8* nocapture, i64, i1) nounwind diff --git a/llvm/test/Transforms/InstCombine/memcpy_chk-1.ll b/llvm/test/Transforms/InstCombine/memcpy_chk-1.ll index 18970dfc248e..e0bc266dd3ec 100644 --- a/llvm/test/Transforms/InstCombine/memcpy_chk-1.ll +++ b/llvm/test/Transforms/InstCombine/memcpy_chk-1.ll @@ -2,7 +2,7 @@ ; Test lib call simplification of __memcpy_chk calls with various values ; for dstlen and len. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" diff --git a/llvm/test/Transforms/InstCombine/memcpy_chk-2.ll b/llvm/test/Transforms/InstCombine/memcpy_chk-2.ll index 320b54f82dc6..75d8b93a4c57 100644 --- a/llvm/test/Transforms/InstCombine/memcpy_chk-2.ll +++ b/llvm/test/Transforms/InstCombine/memcpy_chk-2.ll @@ -1,7 +1,7 @@ ; Test that lib call simplification doesn't simplify __memcpy_chk calls ; with the wrong prototype. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" diff --git a/llvm/test/Transforms/InstCombine/memmove-1.ll b/llvm/test/Transforms/InstCombine/memmove-1.ll index 1cf777379de6..3899fc7877e6 100644 --- a/llvm/test/Transforms/InstCombine/memmove-1.ll +++ b/llvm/test/Transforms/InstCombine/memmove-1.ll @@ -1,6 +1,6 @@ ; Test that the memmove library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/memmove-2.ll b/llvm/test/Transforms/InstCombine/memmove-2.ll index b20e96bc5555..9fd7c613d3d7 100644 --- a/llvm/test/Transforms/InstCombine/memmove-2.ll +++ b/llvm/test/Transforms/InstCombine/memmove-2.ll @@ -1,6 +1,6 @@ ; Test that the memmove library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/memmove.ll b/llvm/test/Transforms/InstCombine/memmove.ll index c5ad7870b712..0ab67728566e 100644 --- a/llvm/test/Transforms/InstCombine/memmove.ll +++ b/llvm/test/Transforms/InstCombine/memmove.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; This test makes sure that memmove instructions are properly eliminated. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s @S = internal constant [33 x i8] c"panic: restorelist inconsistency\00" ; <[33 x i8]*> [#uses=1] @h = constant [2 x i8] c"h\00" ; <[2 x i8]*> [#uses=1] diff --git a/llvm/test/Transforms/InstCombine/memmove_chk-1.ll b/llvm/test/Transforms/InstCombine/memmove_chk-1.ll index c46e07691370..6fd29e7a4367 100644 --- a/llvm/test/Transforms/InstCombine/memmove_chk-1.ll +++ b/llvm/test/Transforms/InstCombine/memmove_chk-1.ll @@ -2,7 +2,7 @@ ; Test lib call simplification of __memmove_chk calls with various values ; for dstlen and len. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" diff --git a/llvm/test/Transforms/InstCombine/memmove_chk-2.ll b/llvm/test/Transforms/InstCombine/memmove_chk-2.ll index adadf905a588..01dd8ca427bf 100644 --- a/llvm/test/Transforms/InstCombine/memmove_chk-2.ll +++ b/llvm/test/Transforms/InstCombine/memmove_chk-2.ll @@ -1,7 +1,7 @@ ; Test that lib call simplification doesn't simplify __memmove_chk calls ; with the wrong prototype. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" diff --git a/llvm/test/Transforms/InstCombine/mempcpy.ll b/llvm/test/Transforms/InstCombine/mempcpy.ll index 1b8b7401b9bb..d74ce53246cf 100644 --- a/llvm/test/Transforms/InstCombine/mempcpy.ll +++ b/llvm/test/Transforms/InstCombine/mempcpy.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s define i8* @memcpy_nonconst_n(i8* %d, i8* nocapture readonly %s, i64 %n) { ; CHECK-LABEL: @memcpy_nonconst_n( diff --git a/llvm/test/Transforms/InstCombine/memrchr.ll b/llvm/test/Transforms/InstCombine/memrchr.ll index 4ed01f4c043b..4c8100a2a2cf 100644 --- a/llvm/test/Transforms/InstCombine/memrchr.ll +++ b/llvm/test/Transforms/InstCombine/memrchr.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare i8* @memrchr(i8*, i32, i32) diff --git a/llvm/test/Transforms/InstCombine/memset-1.ll b/llvm/test/Transforms/InstCombine/memset-1.ll index 81d31aa86c19..f7d025d0ebfa 100644 --- a/llvm/test/Transforms/InstCombine/memset-1.ll +++ b/llvm/test/Transforms/InstCombine/memset-1.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the memset library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/memset-2.ll b/llvm/test/Transforms/InstCombine/memset-2.ll index 5e446cb0ee00..4acd67f41bb0 100644 --- a/llvm/test/Transforms/InstCombine/memset-2.ll +++ b/llvm/test/Transforms/InstCombine/memset-2.ll @@ -1,6 +1,6 @@ ; Test that the memset library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/memset.ll b/llvm/test/Transforms/InstCombine/memset.ll index b994d97c7a25..81ac83d11082 100644 --- a/llvm/test/Transforms/InstCombine/memset.ll +++ b/llvm/test/Transforms/InstCombine/memset.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @test([1024 x i8]* %target) { ; CHECK-LABEL: @test( diff --git a/llvm/test/Transforms/InstCombine/memset2.ll b/llvm/test/Transforms/InstCombine/memset2.ll index 094cb6d536a6..fdb49e335a8b 100644 --- a/llvm/test/Transforms/InstCombine/memset2.ll +++ b/llvm/test/Transforms/InstCombine/memset2.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Test to check that instcombine doesn't drop the address space when optimizing ; memset. diff --git a/llvm/test/Transforms/InstCombine/memset_chk-1.ll b/llvm/test/Transforms/InstCombine/memset_chk-1.ll index e7467cc5dd03..8e50d4cc4469 100644 --- a/llvm/test/Transforms/InstCombine/memset_chk-1.ll +++ b/llvm/test/Transforms/InstCombine/memset_chk-1.ll @@ -2,7 +2,7 @@ ; Test lib call simplification of __memset_chk calls with various values ; for dstlen and len. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; rdar://7719085 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" diff --git a/llvm/test/Transforms/InstCombine/memset_chk-2.ll b/llvm/test/Transforms/InstCombine/memset_chk-2.ll index bb4f772785e3..23d06dd18f3f 100644 --- a/llvm/test/Transforms/InstCombine/memset_chk-2.ll +++ b/llvm/test/Transforms/InstCombine/memset_chk-2.ll @@ -1,7 +1,7 @@ ; Test that lib call simplification doesn't simplify __memset_chk calls ; with the wrong prototype. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" diff --git a/llvm/test/Transforms/InstCombine/merge-icmp.ll b/llvm/test/Transforms/InstCombine/merge-icmp.ll index 1202324333d8..093e30663980 100644 --- a/llvm/test/Transforms/InstCombine/merge-icmp.ll +++ b/llvm/test/Transforms/InstCombine/merge-icmp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s define i1 @test1(i16* %x) { ; CHECK-LABEL: @test1( diff --git a/llvm/test/Transforms/InstCombine/min-positive.ll b/llvm/test/Transforms/InstCombine/min-positive.ll index 51f98bc00dc1..8593d8ec6c9a 100644 --- a/llvm/test/Transforms/InstCombine/min-positive.ll +++ b/llvm/test/Transforms/InstCombine/min-positive.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s @g = external global i32 diff --git a/llvm/test/Transforms/InstCombine/minimum.ll b/llvm/test/Transforms/InstCombine/minimum.ll index 635b9ec8dd8d..8abd6815de27 100644 --- a/llvm/test/Transforms/InstCombine/minimum.ll +++ b/llvm/test/Transforms/InstCombine/minimum.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s declare float @llvm.minimum.f32(float, float) declare <2 x float> @llvm.minimum.v2f32(<2 x float>, <2 x float>) diff --git a/llvm/test/Transforms/InstCombine/minmax-demandbits.ll b/llvm/test/Transforms/InstCombine/minmax-demandbits.ll index 29a569663d21..1f6d888457c7 100644 --- a/llvm/test/Transforms/InstCombine/minmax-demandbits.ll +++ b/llvm/test/Transforms/InstCombine/minmax-demandbits.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s define i32 @and_umax_less(i32 %A) { diff --git a/llvm/test/Transforms/InstCombine/minmax-fold.ll b/llvm/test/Transforms/InstCombine/minmax-fold.ll index 862ac534622f..a8a52f74eebe 100644 --- a/llvm/test/Transforms/InstCombine/minmax-fold.ll +++ b/llvm/test/Transforms/InstCombine/minmax-fold.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; This is the canonical form for a type-changing min/max. define i64 @t1(i32 %a) { diff --git a/llvm/test/Transforms/InstCombine/minmax-fp.ll b/llvm/test/Transforms/InstCombine/minmax-fp.ll index 680fca6d43b3..f0c3b74ad51a 100644 --- a/llvm/test/Transforms/InstCombine/minmax-fp.ll +++ b/llvm/test/Transforms/InstCombine/minmax-fp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; This is the canonical form for a type-changing min/max. define double @t1(float %a) { diff --git a/llvm/test/Transforms/InstCombine/minmax-intrinsics.ll b/llvm/test/Transforms/InstCombine/minmax-intrinsics.ll index 194a693e5580..d378cc8bbeb4 100644 --- a/llvm/test/Transforms/InstCombine/minmax-intrinsics.ll +++ b/llvm/test/Transforms/InstCombine/minmax-intrinsics.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s declare i8 @llvm.umin.i8(i8, i8) declare i8 @llvm.umax.i8(i8, i8) diff --git a/llvm/test/Transforms/InstCombine/minmax-of-minmax.ll b/llvm/test/Transforms/InstCombine/minmax-of-minmax.ll index 58f2099e4367..c5e0c8c6e568 100644 --- a/llvm/test/Transforms/InstCombine/minmax-of-minmax.ll +++ b/llvm/test/Transforms/InstCombine/minmax-of-minmax.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s define i32 @smax_of_smax_smin_commute0(i32 %x, i32 %y) { ; CHECK-LABEL: @smax_of_smax_smin_commute0( diff --git a/llvm/test/Transforms/InstCombine/minnum.ll b/llvm/test/Transforms/InstCombine/minnum.ll index 621c05de7630..1c86f9608d48 100644 --- a/llvm/test/Transforms/InstCombine/minnum.ll +++ b/llvm/test/Transforms/InstCombine/minnum.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s declare float @llvm.minnum.f32(float, float) declare <2 x float> @llvm.minnum.v2f32(<2 x float>, <2 x float>) diff --git a/llvm/test/Transforms/InstCombine/misc-2002.ll b/llvm/test/Transforms/InstCombine/misc-2002.ll index 1c44e17edbd8..dd50ff0b2197 100644 --- a/llvm/test/Transforms/InstCombine/misc-2002.ll +++ b/llvm/test/Transforms/InstCombine/misc-2002.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define void @hang_2002-03-11(i32 %X) { ; CHECK-LABEL: @hang_2002-03-11( diff --git a/llvm/test/Transforms/InstCombine/mul-inseltpoison.ll b/llvm/test/Transforms/InstCombine/mul-inseltpoison.ll index 6eee8ec5440b..101d97cde026 100644 --- a/llvm/test/Transforms/InstCombine/mul-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/mul-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare i32 @llvm.abs.i32(i32, i1) diff --git a/llvm/test/Transforms/InstCombine/mul-masked-bits.ll b/llvm/test/Transforms/InstCombine/mul-masked-bits.ll index 8a056c107382..30c4e9141aa1 100644 --- a/llvm/test/Transforms/InstCombine/mul-masked-bits.ll +++ b/llvm/test/Transforms/InstCombine/mul-masked-bits.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @foo(i32 %x, i32 %y) { ; CHECK-LABEL: @foo( diff --git a/llvm/test/Transforms/InstCombine/mul.ll b/llvm/test/Transforms/InstCombine/mul.ll index 56947040f78a..9d26d36b5be3 100644 --- a/llvm/test/Transforms/InstCombine/mul.ll +++ b/llvm/test/Transforms/InstCombine/mul.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare i32 @llvm.abs.i32(i32, i1) diff --git a/llvm/test/Transforms/InstCombine/multi-size-address-space-pointer.ll b/llvm/test/Transforms/InstCombine/multi-size-address-space-pointer.ll index 0c03e9e864f9..8f54fe4bc71c 100644 --- a/llvm/test/Transforms/InstCombine/multi-size-address-space-pointer.ll +++ b/llvm/test/Transforms/InstCombine/multi-size-address-space-pointer.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine %s -o - | FileCheck %s +; RUN: opt -S -passes=instcombine %s -o - | FileCheck %s target datalayout = "e-p:32:32:32-p1:64:64:64-p2:8:8:8-p3:16:16:16-p4:16:16:16-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:32" diff --git a/llvm/test/Transforms/InstCombine/multi-use-load-casts.ll b/llvm/test/Transforms/InstCombine/multi-use-load-casts.ll index 147d893e285e..1ded6bba2b5a 100644 --- a/llvm/test/Transforms/InstCombine/multi-use-load-casts.ll +++ b/llvm/test/Transforms/InstCombine/multi-use-load-casts.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %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" diff --git a/llvm/test/Transforms/InstCombine/multi-use-or.ll b/llvm/test/Transforms/InstCombine/multi-use-or.ll index 8b90e0d7f619..19acfda6665b 100644 --- a/llvm/test/Transforms/InstCombine/multi-use-or.ll +++ b/llvm/test/Transforms/InstCombine/multi-use-or.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "fadd double .sx, .sy" +; RUN: opt < %s -passes=instcombine -S | grep "fadd double .sx, .sy" ; The 'or' has multiple uses, make sure that this doesn't prevent instcombine ; from propagating the extends to the truncs. diff --git a/llvm/test/Transforms/InstCombine/multiple-uses-load-bitcast-select.ll b/llvm/test/Transforms/InstCombine/multiple-uses-load-bitcast-select.ll index 28509df6d2fa..2c382d287864 100644 --- a/llvm/test/Transforms/InstCombine/multiple-uses-load-bitcast-select.ll +++ b/llvm/test/Transforms/InstCombine/multiple-uses-load-bitcast-select.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S -data-layout="E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64" | FileCheck %s +; RUN: opt < %s -passes=instcombine -S -data-layout="E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64" | FileCheck %s define void @PR35618(i64* %st1, double* %st2) { ; CHECK-LABEL: @PR35618( diff --git a/llvm/test/Transforms/InstCombine/narrow-math.ll b/llvm/test/Transforms/InstCombine/narrow-math.ll index 1cb9249eebe0..6355ea1734c2 100644 --- a/llvm/test/Transforms/InstCombine/narrow-math.ll +++ b/llvm/test/Transforms/InstCombine/narrow-math.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare i32 @callee() diff --git a/llvm/test/Transforms/InstCombine/narrow-switch.ll b/llvm/test/Transforms/InstCombine/narrow-switch.ll index d0b05e2742ff..8b5ca47fa263 100644 --- a/llvm/test/Transforms/InstCombine/narrow-switch.ll +++ b/llvm/test/Transforms/InstCombine/narrow-switch.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Vary legal integer types in data layout. -; RUN: opt < %s -instcombine -S -data-layout=n32 | FileCheck %s --check-prefix=ALL --check-prefix=CHECK32 -; RUN: opt < %s -instcombine -S -data-layout=n32:64 | FileCheck %s --check-prefix=ALL --check-prefix=CHECK64 +; RUN: opt < %s -passes=instcombine -S -data-layout=n32 | FileCheck %s --check-prefix=ALL --check-prefix=CHECK32 +; RUN: opt < %s -passes=instcombine -S -data-layout=n32:64 | FileCheck %s --check-prefix=ALL --check-prefix=CHECK64 define i32 @positive1(i64 %a) { ; ALL-LABEL: @positive1( diff --git a/llvm/test/Transforms/InstCombine/narrow.ll b/llvm/test/Transforms/InstCombine/narrow.ll index 05e3d8be2f56..439851841bcf 100644 --- a/llvm/test/Transforms/InstCombine/narrow.ll +++ b/llvm/test/Transforms/InstCombine/narrow.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "n8:16:32:64" diff --git a/llvm/test/Transforms/InstCombine/new-delete-itanium.ll b/llvm/test/Transforms/InstCombine/new-delete-itanium.ll index 4f0470c8a159..e10a2de3f4bd 100644 --- a/llvm/test/Transforms/InstCombine/new-delete-itanium.ll +++ b/llvm/test/Transforms/InstCombine/new-delete-itanium.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -mtriple x86_64--linux -instcombine -S | FileCheck %s +; RUN: opt < %s -mtriple x86_64--linux -passes=instcombine -S | FileCheck %s ; REQUIRES: x86-registered-target ; PR1201 diff --git a/llvm/test/Transforms/InstCombine/new-delete-msvc.ll b/llvm/test/Transforms/InstCombine/new-delete-msvc.ll index 74b79357076c..369dbbd7ec09 100644 --- a/llvm/test/Transforms/InstCombine/new-delete-msvc.ll +++ b/llvm/test/Transforms/InstCombine/new-delete-msvc.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -mtriple x86_64--windows -instcombine -S | FileCheck %s +; RUN: opt < %s -mtriple x86_64--windows -passes=instcombine -S | FileCheck %s ; REQUIRES: x86-registered-target ; PR1201 diff --git a/llvm/test/Transforms/InstCombine/no-negzero.ll b/llvm/test/Transforms/InstCombine/no-negzero.ll index 07e68251b5ae..712ae638d49e 100644 --- a/llvm/test/Transforms/InstCombine/no-negzero.ll +++ b/llvm/test/Transforms/InstCombine/no-negzero.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; ModuleID = '3555a.c' ; sqrt(fabs) cannot be negative zero, so we should eliminate the fadd. 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:128:128" diff --git a/llvm/test/Transforms/InstCombine/noalias-scope-decl.ll b/llvm/test/Transforms/InstCombine/noalias-scope-decl.ll index 88708b201f02..449d574720f1 100644 --- a/llvm/test/Transforms/InstCombine/noalias-scope-decl.ll +++ b/llvm/test/Transforms/InstCombine/noalias-scope-decl.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s define void @test01(i8* %ptr0, i8* %ptr1) { ; CHECK-LABEL: @test01( diff --git a/llvm/test/Transforms/InstCombine/non-integral-pointers.ll b/llvm/test/Transforms/InstCombine/non-integral-pointers.ll index a1166bf49193..0b664098410d 100644 --- a/llvm/test/Transforms/InstCombine/non-integral-pointers.ll +++ b/llvm/test/Transforms/InstCombine/non-integral-pointers.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; 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-ni:4" target triple = "x86_64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/nonnull-attribute.ll b/llvm/test/Transforms/InstCombine/nonnull-attribute.ll index 74fb09114927..cb5d083c73cc 100644 --- a/llvm/test/Transforms/InstCombine/nonnull-attribute.ll +++ b/llvm/test/Transforms/InstCombine/nonnull-attribute.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; This test makes sure that we do not assume globals in address spaces other ; than 0 are able to be null. diff --git a/llvm/test/Transforms/InstCombine/nonnull-select.ll b/llvm/test/Transforms/InstCombine/nonnull-select.ll index 2e44d024fad7..02d0ff80f716 100644 --- a/llvm/test/Transforms/InstCombine/nonnull-select.ll +++ b/llvm/test/Transforms/InstCombine/nonnull-select.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Passing select(cond, null, v) as nonnull should be optimized to passing v diff --git a/llvm/test/Transforms/InstCombine/not-add.ll b/llvm/test/Transforms/InstCombine/not-add.ll index 5ece88dbef13..a4632a07306d 100644 --- a/llvm/test/Transforms/InstCombine/not-add.ll +++ b/llvm/test/Transforms/InstCombine/not-add.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s declare void @use(i8) diff --git a/llvm/test/Transforms/InstCombine/not.ll b/llvm/test/Transforms/InstCombine/not.ll index 6a5b4bbd9f14..29c779de9406 100644 --- a/llvm/test/Transforms/InstCombine/not.ll +++ b/llvm/test/Transforms/InstCombine/not.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use1(i1) declare void @use8(i8) diff --git a/llvm/test/Transforms/InstCombine/nothrow.ll b/llvm/test/Transforms/InstCombine/nothrow.ll index 476b63a6b27f..7deb4f0f0272 100644 --- a/llvm/test/Transforms/InstCombine/nothrow.ll +++ b/llvm/test/Transforms/InstCombine/nothrow.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | not grep call +; RUN: opt < %s -passes=instcombine -S | not grep call ; rdar://6880732 declare double @t1(i32) readonly willreturn diff --git a/llvm/test/Transforms/InstCombine/nsw-inseltpoison.ll b/llvm/test/Transforms/InstCombine/nsw-inseltpoison.ll index e64977c23424..05a803f28fd1 100644 --- a/llvm/test/Transforms/InstCombine/nsw-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/nsw-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @sub1(i32 %x) { ; CHECK-LABEL: @sub1( diff --git a/llvm/test/Transforms/InstCombine/nsw.ll b/llvm/test/Transforms/InstCombine/nsw.ll index 9746e9b583db..52ecea598978 100644 --- a/llvm/test/Transforms/InstCombine/nsw.ll +++ b/llvm/test/Transforms/InstCombine/nsw.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @sub1(i32 %x) { ; CHECK-LABEL: @sub1( diff --git a/llvm/test/Transforms/InstCombine/obfuscated_splat-inseltpoison.ll b/llvm/test/Transforms/InstCombine/obfuscated_splat-inseltpoison.ll index 42c27dc8f612..498d400a38a2 100644 --- a/llvm/test/Transforms/InstCombine/obfuscated_splat-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/obfuscated_splat-inseltpoison.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s define void @test(<4 x float> *%in_ptr, <4 x float> *%out_ptr) { %A = load <4 x float>, <4 x float>* %in_ptr, align 16 diff --git a/llvm/test/Transforms/InstCombine/obfuscated_splat.ll b/llvm/test/Transforms/InstCombine/obfuscated_splat.ll index 820a89ba1770..867b2de06eb6 100644 --- a/llvm/test/Transforms/InstCombine/obfuscated_splat.ll +++ b/llvm/test/Transforms/InstCombine/obfuscated_splat.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s define void @test(<4 x float> *%in_ptr, <4 x float> *%out_ptr) { %A = load <4 x float>, <4 x float>* %in_ptr, align 16 diff --git a/llvm/test/Transforms/InstCombine/object-size-opaque.ll b/llvm/test/Transforms/InstCombine/object-size-opaque.ll index 123c6160a3ff..4280a8fe5107 100644 --- a/llvm/test/Transforms/InstCombine/object-size-opaque.ll +++ b/llvm/test/Transforms/InstCombine/object-size-opaque.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S %s | FileCheck %s +; RUN: opt -passes=instcombine -S %s | FileCheck %s %opaque = type opaque ; CHECK: call i64 @llvm.objectsize.i64 diff --git a/llvm/test/Transforms/InstCombine/objsize-64.ll b/llvm/test/Transforms/InstCombine/objsize-64.ll index 4a8522f90b5c..0b38837b9afc 100644 --- a/llvm/test/Transforms/InstCombine/objsize-64.ll +++ b/llvm/test/Transforms/InstCombine/objsize-64.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" declare noalias i8* @malloc(i32) nounwind diff --git a/llvm/test/Transforms/InstCombine/objsize-address-space.ll b/llvm/test/Transforms/InstCombine/objsize-address-space.ll index ab4b64dfbf07..e406de6e2474 100644 --- a/llvm/test/Transforms/InstCombine/objsize-address-space.ll +++ b/llvm/test/Transforms/InstCombine/objsize-address-space.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine -o - %s | FileCheck %s +; RUN: opt -S -passes=instcombine -o - %s | FileCheck %s target datalayout = "e-p:32:32:32-p1:64:64:64-p2:8:8:8-p3:16:16:16-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:32" declare i32 @llvm.objectsize.i32.p0i8(i8*, i1) nounwind readonly diff --git a/llvm/test/Transforms/InstCombine/objsize.ll b/llvm/test/Transforms/InstCombine/objsize.ll index ae5edb5eabc4..03e9ce8547d0 100644 --- a/llvm/test/Transforms/InstCombine/objsize.ll +++ b/llvm/test/Transforms/InstCombine/objsize.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test a pile of objectsize bounds checking. -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; We need target data to get the sizes of the arrays and structures. 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:128:128" diff --git a/llvm/test/Transforms/InstCombine/odr-linkage.ll b/llvm/test/Transforms/InstCombine/odr-linkage.ll index 73675efb08bb..bff9ab1e292c 100644 --- a/llvm/test/Transforms/InstCombine/odr-linkage.ll +++ b/llvm/test/Transforms/InstCombine/odr-linkage.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "ret i32 10" +; RUN: opt < %s -passes=instcombine -S | grep "ret i32 10" @g1 = available_externally constant i32 1 @g2 = linkonce_odr constant i32 2 diff --git a/llvm/test/Transforms/InstCombine/omit-urem-of-power-of-two-or-zero-when-comparing-with-zero.ll b/llvm/test/Transforms/InstCombine/omit-urem-of-power-of-two-or-zero-when-comparing-with-zero.ll index f15d0a848260..cc791b7358c8 100644 --- a/llvm/test/Transforms/InstCombine/omit-urem-of-power-of-two-or-zero-when-comparing-with-zero.ll +++ b/llvm/test/Transforms/InstCombine/omit-urem-of-power-of-two-or-zero-when-comparing-with-zero.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; Given: ; icmp eq/ne (urem %x, C), 0 diff --git a/llvm/test/Transforms/InstCombine/onehot_merge.ll b/llvm/test/Transforms/InstCombine/onehot_merge.ll index fde4dd54fa51..2706527bafde 100644 --- a/llvm/test/Transforms/InstCombine/onehot_merge.ll +++ b/llvm/test/Transforms/InstCombine/onehot_merge.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i1 @and_consts(i32 %k, i32 %c1, i32 %c2) { ; CHECK-LABEL: @and_consts( diff --git a/llvm/test/Transforms/InstCombine/opaque.ll b/llvm/test/Transforms/InstCombine/opaque.ll index 18cbef5281ba..02fd11df8a9a 100644 --- a/llvm/test/Transforms/InstCombine/opaque.ll +++ b/llvm/test/Transforms/InstCombine/opaque.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output ; Checks that bitcasts are not converted into GEP when ; when the size of an aggregate cannot be determined. %swift.opaque = type opaque diff --git a/llvm/test/Transforms/InstCombine/operand-complexity.ll b/llvm/test/Transforms/InstCombine/operand-complexity.ll index c09daa4a0b14..62cfc76d9d24 100644 --- a/llvm/test/Transforms/InstCombine/operand-complexity.ll +++ b/llvm/test/Transforms/InstCombine/operand-complexity.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; 'Negate' is considered less complex than a normal binop, so the xor should have the binop as the first operand. diff --git a/llvm/test/Transforms/InstCombine/or-concat.ll b/llvm/test/Transforms/InstCombine/or-concat.ll index 9b39961fd2f3..46a5be83f7e3 100644 --- a/llvm/test/Transforms/InstCombine/or-concat.ll +++ b/llvm/test/Transforms/InstCombine/or-concat.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; ; Tests for combining concat-able ops: diff --git a/llvm/test/Transforms/InstCombine/or-fcmp.ll b/llvm/test/Transforms/InstCombine/or-fcmp.ll index d1017c89f69d..eeed99d5474b 100644 --- a/llvm/test/Transforms/InstCombine/or-fcmp.ll +++ b/llvm/test/Transforms/InstCombine/or-fcmp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i1 @PR1738(double %x, double %y) { ; CHECK-LABEL: @PR1738( diff --git a/llvm/test/Transforms/InstCombine/or-shifted-masks.ll b/llvm/test/Transforms/InstCombine/or-shifted-masks.ll index d67b4597a9df..d9bca7e4f8a2 100644 --- a/llvm/test/Transforms/InstCombine/or-shifted-masks.ll +++ b/llvm/test/Transforms/InstCombine/or-shifted-masks.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s define i32 @or_and_shifts1(i32 %x) { ; CHECK-LABEL: @or_and_shifts1( diff --git a/llvm/test/Transforms/InstCombine/or-xor.ll b/llvm/test/Transforms/InstCombine/or-xor.ll index e91a7a3c5fa3..0784c0742a8f 100644 --- a/llvm/test/Transforms/InstCombine/or-xor.ll +++ b/llvm/test/Transforms/InstCombine/or-xor.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; X | ~(X | Y) --> X | ~Y diff --git a/llvm/test/Transforms/InstCombine/or.ll b/llvm/test/Transforms/InstCombine/or.ll index 869c17a3ccf9..f34d0d8f1b4d 100644 --- a/llvm/test/Transforms/InstCombine/or.ll +++ b/llvm/test/Transforms/InstCombine/or.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128-n32:64" declare void @use(i32) diff --git a/llvm/test/Transforms/InstCombine/oss_fuzz_32759.ll b/llvm/test/Transforms/InstCombine/oss_fuzz_32759.ll index 4f0443265b11..7fc5f648f6a0 100644 --- a/llvm/test/Transforms/InstCombine/oss_fuzz_32759.ll +++ b/llvm/test/Transforms/InstCombine/oss_fuzz_32759.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "n32" define i1 @oss_fuzz_32759(i1 %y) { diff --git a/llvm/test/Transforms/InstCombine/osx-names.ll b/llvm/test/Transforms/InstCombine/osx-names.ll index 04d842d0ec28..22f14127d76f 100644 --- a/llvm/test/Transforms/InstCombine/osx-names.ll +++ b/llvm/test/Transforms/InstCombine/osx-names.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; ; On OSX x86-32, fwrite and fputs aren't called fwrite and fputs. ; Make sure we use the correct names. diff --git a/llvm/test/Transforms/InstCombine/out-of-bounds-indexes.ll b/llvm/test/Transforms/InstCombine/out-of-bounds-indexes.ll index 269e795d8f23..3b01d5186d33 100644 --- a/llvm/test/Transforms/InstCombine/out-of-bounds-indexes.ll +++ b/llvm/test/Transforms/InstCombine/out-of-bounds-indexes.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; Check that we don't crash on unreasonable constant indexes define i32 @test_out_of_bounds(i32 %a, i1 %x, i1 %y) { diff --git a/llvm/test/Transforms/InstCombine/overflow-mul.ll b/llvm/test/Transforms/InstCombine/overflow-mul.ll index 9dce5bde2c4f..f698da75f293 100644 --- a/llvm/test/Transforms/InstCombine/overflow-mul.ll +++ b/llvm/test/Transforms/InstCombine/overflow-mul.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; The last test needs this weird datalayout. target datalayout = "i32:8:8" diff --git a/llvm/test/Transforms/InstCombine/overflow.ll b/llvm/test/Transforms/InstCombine/overflow.ll index 153522ef6704..331d95f70e4f 100644 --- a/llvm/test/Transforms/InstCombine/overflow.ll +++ b/llvm/test/Transforms/InstCombine/overflow.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; declare void @throwAnExceptionOrWhatever() diff --git a/llvm/test/Transforms/InstCombine/overflow_to_sat.ll b/llvm/test/Transforms/InstCombine/overflow_to_sat.ll index af56f5703af5..568ac77d6b88 100644 --- a/llvm/test/Transforms/InstCombine/overflow_to_sat.ll +++ b/llvm/test/Transforms/InstCombine/overflow_to_sat.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s define i32 @uadd(i32 %x, i32 %y) { ; CHECK-LABEL: @uadd( diff --git a/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-a.ll b/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-a.ll index e49c381fcd16..f7c0a5dc7032 100644 --- a/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-a.ll +++ b/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-a.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have some pattern that leaves only some low bits set, and then performs ; left-shift of those bits, we can combine those two shifts into a shift+mask. diff --git a/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-b.ll b/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-b.ll index 20f38deeb0d5..3edefcdd99d2 100644 --- a/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-b.ll +++ b/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-b.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have some pattern that leaves only some low bits set, and then performs ; left-shift of those bits, we can combine those two shifts into a shift+mask. diff --git a/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-c.ll b/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-c.ll index 562280391c5e..46d1de5781b7 100644 --- a/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-c.ll +++ b/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-c.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have some pattern that leaves only some low bits set, and then performs ; left-shift of those bits, we can combine those two shifts into a shift+mask. diff --git a/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-d.ll b/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-d.ll index 147192c02262..cd0d633d58a6 100644 --- a/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-d.ll +++ b/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-d.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have some pattern that leaves only some low bits set, and then performs ; left-shift of those bits, we can combine those two shifts into a shift+mask. diff --git a/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-e.ll b/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-e.ll index f2aa2894e27a..eb26bfac66f9 100644 --- a/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-e.ll +++ b/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-e.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have some pattern that leaves only some low bits set, lshr then performs ; left-shift of those bits, we can combine those two shifts into a shift+mask. diff --git a/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-a.ll b/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-a.ll index 882117fe3480..0ee72b16c6d9 100644 --- a/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-a.ll +++ b/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-a.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have some pattern that leaves only some low bits set, and then performs ; left-shift of those bits, we can combine those two shifts into a shift+mask. diff --git a/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-b.ll b/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-b.ll index e92875d79207..8acb9834d3b8 100644 --- a/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-b.ll +++ b/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-b.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have some pattern that leaves only some low bits set, and then performs ; left-shift of those bits, we can combine those two shifts into a shift+mask. diff --git a/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-c.ll b/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-c.ll index b8066cef2b40..58a905063fac 100644 --- a/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-c.ll +++ b/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-c.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have some pattern that leaves only some low bits set, and then performs ; left-shift of those bits, we can combine those two shifts into a shift+mask. diff --git a/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-d.ll b/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-d.ll index 20b322c0b647..f2a788ddba28 100644 --- a/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-d.ll +++ b/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-d.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have some pattern that leaves only some low bits set, and then performs ; left-shift of those bits, we can combine those two shifts into a shift+mask. diff --git a/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-e.ll b/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-e.ll index 46f5b0c2f213..d714e983d3dd 100644 --- a/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-e.ll +++ b/llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-e.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have some pattern that leaves only some low bits set, and then performs ; left-shift of those bits, we can combine those two shifts into a shift+mask. diff --git a/llvm/test/Transforms/InstCombine/phi-aware-aggregate-reconstruction.ll b/llvm/test/Transforms/InstCombine/phi-aware-aggregate-reconstruction.ll index 0befa4b7a2ad..6b7ac445839d 100644 --- a/llvm/test/Transforms/InstCombine/phi-aware-aggregate-reconstruction.ll +++ b/llvm/test/Transforms/InstCombine/phi-aware-aggregate-reconstruction.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s declare void @foo() declare void @bar() diff --git a/llvm/test/Transforms/InstCombine/phi-cse.ll b/llvm/test/Transforms/InstCombine/phi-cse.ll index 5f86a5e893db..4df1fbbc5e12 100644 --- a/llvm/test/Transforms/InstCombine/phi-cse.ll +++ b/llvm/test/Transforms/InstCombine/phi-cse.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; Most basic case, fully identical PHI nodes define void @test0(i32 %v0, i32 %v1, i1 %c, i32* %d0, i32* %d1) { diff --git a/llvm/test/Transforms/InstCombine/phi-int2ptr-fold.ll b/llvm/test/Transforms/InstCombine/phi-int2ptr-fold.ll index 015aa9df5a30..49b202f782fe 100644 --- a/llvm/test/Transforms/InstCombine/phi-int2ptr-fold.ll +++ b/llvm/test/Transforms/InstCombine/phi-int2ptr-fold.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S -disable-i2p-p2i-opt < %s | FileCheck %s +; RUN: opt -passes=instcombine -S -disable-i2p-p2i-opt < %s | FileCheck %s target datalayout = "e-p:64:64-p1:16:16-p2:32:32:32-p3:64:64:64" target triple = "x86_64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/phi-known-bits-operand-order.ll b/llvm/test/Transforms/InstCombine/phi-known-bits-operand-order.ll index e21e388e7dc2..a9ebcf629a40 100644 --- a/llvm/test/Transforms/InstCombine/phi-known-bits-operand-order.ll +++ b/llvm/test/Transforms/InstCombine/phi-known-bits-operand-order.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; Check that we can turn the icmp sle into icmp ult, regardless of the ; order of the incoming values of the PHI node. diff --git a/llvm/test/Transforms/InstCombine/phi-load-metadata-2.ll b/llvm/test/Transforms/InstCombine/phi-load-metadata-2.ll index cfbf2dea8a7a..691e6fda55b8 100644 --- a/llvm/test/Transforms/InstCombine/phi-load-metadata-2.ll +++ b/llvm/test/Transforms/InstCombine/phi-load-metadata-2.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s declare void @bar() declare void @baz() diff --git a/llvm/test/Transforms/InstCombine/phi-load-metadata-3.ll b/llvm/test/Transforms/InstCombine/phi-load-metadata-3.ll index 39049c9c7181..9079d8a6649e 100644 --- a/llvm/test/Transforms/InstCombine/phi-load-metadata-3.ll +++ b/llvm/test/Transforms/InstCombine/phi-load-metadata-3.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s declare void @bar() declare void @baz() diff --git a/llvm/test/Transforms/InstCombine/phi-load-metadata-dominance.ll b/llvm/test/Transforms/InstCombine/phi-load-metadata-dominance.ll index 0c5aab85890c..2a3935e3f324 100644 --- a/llvm/test/Transforms/InstCombine/phi-load-metadata-dominance.ll +++ b/llvm/test/Transforms/InstCombine/phi-load-metadata-dominance.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s declare void @bar() declare void @baz() diff --git a/llvm/test/Transforms/InstCombine/phi-load-metadata.ll b/llvm/test/Transforms/InstCombine/phi-load-metadata.ll index 004a355ca441..f2e52fb5c937 100644 --- a/llvm/test/Transforms/InstCombine/phi-load-metadata.ll +++ b/llvm/test/Transforms/InstCombine/phi-load-metadata.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s declare void @bar() declare void @baz() diff --git a/llvm/test/Transforms/InstCombine/phi-merge-gep.ll b/llvm/test/Transforms/InstCombine/phi-merge-gep.ll index b548e51a56a0..487163c6c4bb 100644 --- a/llvm/test/Transforms/InstCombine/phi-merge-gep.ll +++ b/llvm/test/Transforms/InstCombine/phi-merge-gep.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -S -instcombine > %t +; RUN: opt < %s -S -passes=instcombine > %t ; RUN: grep "= getelementptr" %t | count 20 ; RUN: grep "= phi" %t | count 13 diff --git a/llvm/test/Transforms/InstCombine/phi-of-extractvalues.ll b/llvm/test/Transforms/InstCombine/phi-of-extractvalues.ll index 020b98407984..423d9b757dff 100644 --- a/llvm/test/Transforms/InstCombine/phi-of-extractvalues.ll +++ b/llvm/test/Transforms/InstCombine/phi-of-extractvalues.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s declare void @usei32(i32) diff --git a/llvm/test/Transforms/InstCombine/phi-of-insertvalues.ll b/llvm/test/Transforms/InstCombine/phi-of-insertvalues.ll index d6961b8b7ba1..548fb3bc9ddb 100644 --- a/llvm/test/Transforms/InstCombine/phi-of-insertvalues.ll +++ b/llvm/test/Transforms/InstCombine/phi-of-insertvalues.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s declare void @usei32i32agg({ i32, i32 }) diff --git a/llvm/test/Transforms/InstCombine/phi-pointercasts.ll b/llvm/test/Transforms/InstCombine/phi-pointercasts.ll index 67ca195cf9c0..5fb4b1ae1a6a 100644 --- a/llvm/test/Transforms/InstCombine/phi-pointercasts.ll +++ b/llvm/test/Transforms/InstCombine/phi-pointercasts.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s define void @test_bitcast_1(i1 %c, i32* %ptr) { ; CHECK-LABEL: @test_bitcast_1( diff --git a/llvm/test/Transforms/InstCombine/phi-preserve-ir-flags.ll b/llvm/test/Transforms/InstCombine/phi-preserve-ir-flags.ll index 77a7ce5685dd..3a1270a886be 100644 --- a/llvm/test/Transforms/InstCombine/phi-preserve-ir-flags.ll +++ b/llvm/test/Transforms/InstCombine/phi-preserve-ir-flags.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S -o - | FileCheck %s +; RUN: opt < %s -passes=instcombine -S -o - | FileCheck %s target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64" diff --git a/llvm/test/Transforms/InstCombine/phi-select-constant.ll b/llvm/test/Transforms/InstCombine/phi-select-constant.ll index e3f35d2e6001..62183b028088 100644 --- a/llvm/test/Transforms/InstCombine/phi-select-constant.ll +++ b/llvm/test/Transforms/InstCombine/phi-select-constant.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -S -instcombine | FileCheck %s +; RUN: opt < %s -S -passes=instcombine | FileCheck %s @A = extern_weak global i32, align 4 @B = extern_weak global i32, align 4 diff --git a/llvm/test/Transforms/InstCombine/phi-shifts.ll b/llvm/test/Transforms/InstCombine/phi-shifts.ll index e109f38b2b83..e629b54e0004 100644 --- a/llvm/test/Transforms/InstCombine/phi-shifts.ll +++ b/llvm/test/Transforms/InstCombine/phi-shifts.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; OSS Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15217 define i64 @fuzz15217(i1 %cond, i8* %Ptr, i64 %Val) { diff --git a/llvm/test/Transforms/InstCombine/phi-timeout.ll b/llvm/test/Transforms/InstCombine/phi-timeout.ll index 883807ecd818..d77d02302274 100644 --- a/llvm/test/Transforms/InstCombine/phi-timeout.ll +++ b/llvm/test/Transforms/InstCombine/phi-timeout.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S 2>&1 | FileCheck %s +; RUN: opt < %s -passes=instcombine -S 2>&1 | FileCheck %s target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64" ; We are really checking that this doesn't loop forever. We would never diff --git a/llvm/test/Transforms/InstCombine/phi.ll b/llvm/test/Transforms/InstCombine/phi.ll index 2a89b4349055..dbec471ecafb 100644 --- a/llvm/test/Transforms/InstCombine/phi.ll +++ b/llvm/test/Transforms/InstCombine/phi.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" diff --git a/llvm/test/Transforms/InstCombine/pow-0.ll b/llvm/test/Transforms/InstCombine/pow-0.ll index 8de8e12a2d10..14dff3c5dc43 100644 --- a/llvm/test/Transforms/InstCombine/pow-0.ll +++ b/llvm/test/Transforms/InstCombine/pow-0.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; CHECK-LABEL: @zero( ; CHECK-NEXT: ret double 1.000000e+00 diff --git a/llvm/test/Transforms/InstCombine/pow-1.ll b/llvm/test/Transforms/InstCombine/pow-1.ll index fa80aa3bb06a..f93d3586d95d 100644 --- a/llvm/test/Transforms/InstCombine/pow-1.ll +++ b/llvm/test/Transforms/InstCombine/pow-1.ll @@ -1,19 +1,19 @@ ; Test that the pow library call simplifier works correctly. ; -; RUN: opt -instcombine -S < %s | FileCheck %s --check-prefixes=CHECK,LIB,ANY -; RUN: opt -instcombine -S < %s -mtriple=x86_64-apple-macosx10.9 | FileCheck %s --check-prefixes=CHECK,LIB,ANY,CHECK-EXP10 -; RUN: opt -instcombine -S < %s -mtriple=arm-apple-ios7.0 | FileCheck %s --check-prefixes=CHECK,LIB,ANY,CHECK-EXP10 -; RUN: opt -instcombine -S < %s -mtriple=x86_64-apple-macosx10.8 | FileCheck %s --check-prefixes=CHECK,LIB,ANY,CHECK-NO-EXP10 -; RUN: opt -instcombine -S < %s -mtriple=arm-apple-ios6.0 | FileCheck %s --check-prefixes=CHECK,LIB,ANY,CHECK-NO-EXP10 -; RUN: opt -instcombine -S < %s -mtriple=x86_64-netbsd | FileCheck %s --check-prefixes=CHECK,LIB,ANY,CHECK-NO-EXP10 -; RUN: opt -instcombine -S < %s -mtriple=arm-apple-tvos9.0 | FileCheck %s --check-prefixes=CHECK,LIB,ANY,CHECK-EXP10 -; RUN: opt -instcombine -S < %s -mtriple=arm-apple-watchos2.0 | FileCheck %s --check-prefixes=CHECK,LIB,ANY,CHECK-EXP10 +; RUN: opt -passes=instcombine -S < %s | FileCheck %s --check-prefixes=CHECK,LIB,ANY +; RUN: opt -passes=instcombine -S < %s -mtriple=x86_64-apple-macosx10.9 | FileCheck %s --check-prefixes=CHECK,LIB,ANY,CHECK-EXP10 +; RUN: opt -passes=instcombine -S < %s -mtriple=arm-apple-ios7.0 | FileCheck %s --check-prefixes=CHECK,LIB,ANY,CHECK-EXP10 +; RUN: opt -passes=instcombine -S < %s -mtriple=x86_64-apple-macosx10.8 | FileCheck %s --check-prefixes=CHECK,LIB,ANY,CHECK-NO-EXP10 +; RUN: opt -passes=instcombine -S < %s -mtriple=arm-apple-ios6.0 | FileCheck %s --check-prefixes=CHECK,LIB,ANY,CHECK-NO-EXP10 +; RUN: opt -passes=instcombine -S < %s -mtriple=x86_64-netbsd | FileCheck %s --check-prefixes=CHECK,LIB,ANY,CHECK-NO-EXP10 +; RUN: opt -passes=instcombine -S < %s -mtriple=arm-apple-tvos9.0 | FileCheck %s --check-prefixes=CHECK,LIB,ANY,CHECK-EXP10 +; RUN: opt -passes=instcombine -S < %s -mtriple=arm-apple-watchos2.0 | FileCheck %s --check-prefixes=CHECK,LIB,ANY,CHECK-EXP10 ; rdar://7251832 -; RUN: opt -instcombine -S < %s -mtriple=i386-pc-windows-msvc18 | FileCheck %s --check-prefixes=CHECK,LIB,MSVC,VC32,CHECK-NO-EXP10 -; RUN: opt -instcombine -S < %s -mtriple=i386-pc-windows-msvc | FileCheck %s --check-prefixes=CHECK,LIB,MSVC,VC51,VC19,CHECK-NO-EXP10 -; RUN: opt -instcombine -S < %s -mtriple=x86_64-pc-windows-msvc18 | FileCheck %s --check-prefixes=CHECK,LIB,MSVC,VC64,CHECK-NO-EXP10 -; RUN: opt -instcombine -S < %s -mtriple=x86_64-pc-windows-msvc | FileCheck %s --check-prefixes=CHECK,LIB,MSVC,VC83,VC19,CHECK-NO-EXP10 -; RUN: opt -instcombine -S < %s -mtriple=amdgcn-- | FileCheck %s --check-prefixes=CHECK,NOLIB,CHECK-NO-EXP10 +; RUN: opt -passes=instcombine -S < %s -mtriple=i386-pc-windows-msvc18 | FileCheck %s --check-prefixes=CHECK,LIB,MSVC,VC32,CHECK-NO-EXP10 +; RUN: opt -passes=instcombine -S < %s -mtriple=i386-pc-windows-msvc | FileCheck %s --check-prefixes=CHECK,LIB,MSVC,VC51,VC19,CHECK-NO-EXP10 +; RUN: opt -passes=instcombine -S < %s -mtriple=x86_64-pc-windows-msvc18 | FileCheck %s --check-prefixes=CHECK,LIB,MSVC,VC64,CHECK-NO-EXP10 +; RUN: opt -passes=instcombine -S < %s -mtriple=x86_64-pc-windows-msvc | FileCheck %s --check-prefixes=CHECK,LIB,MSVC,VC83,VC19,CHECK-NO-EXP10 +; RUN: opt -passes=instcombine -S < %s -mtriple=amdgcn-- | FileCheck %s --check-prefixes=CHECK,NOLIB,CHECK-NO-EXP10 ; NOTE: The readonly attribute on the pow call should be preserved ; in the cases below where pow is transformed into another function call. diff --git a/llvm/test/Transforms/InstCombine/pow-2.ll b/llvm/test/Transforms/InstCombine/pow-2.ll index bd5178a37958..27dae58c66d4 100644 --- a/llvm/test/Transforms/InstCombine/pow-2.ll +++ b/llvm/test/Transforms/InstCombine/pow-2.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the pow library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare float @pow(double, double) diff --git a/llvm/test/Transforms/InstCombine/pow-3.ll b/llvm/test/Transforms/InstCombine/pow-3.ll index 16559e9228d2..778ab648b1fd 100644 --- a/llvm/test/Transforms/InstCombine/pow-3.ll +++ b/llvm/test/Transforms/InstCombine/pow-3.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -disable-simplify-libcalls -instcombine -S | FileCheck %s +; RUN: opt < %s -disable-simplify-libcalls -passes=instcombine -S | FileCheck %s declare double @llvm.pow.f64(double, double) declare double @pow(double, double) diff --git a/llvm/test/Transforms/InstCombine/pow-4.ll b/llvm/test/Transforms/InstCombine/pow-4.ll index a92e4c369263..559ccb9040b6 100644 --- a/llvm/test/Transforms/InstCombine/pow-4.ll +++ b/llvm/test/Transforms/InstCombine/pow-4.ll @@ -1,8 +1,8 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s -mtriple unknown | FileCheck %s --check-prefixes=CHECK,CHECKI32,SQRT -; RUN: opt -instcombine -S < %s -mtriple unknown -disable-builtin sqrt | FileCheck %s --check-prefixes=CHECK,CHECKI32,NOSQRT -; RUN: opt -instcombine -S < %s -mtriple msp430 | FileCheck %s --check-prefixes=CHECK,CHECKI16,SQRT -; RUN: opt -instcombine -S < %s -mtriple msp430 -disable-builtin sqrt | FileCheck %s --check-prefixes=CHECK,CHECKI16,NOSQRT +; RUN: opt -passes=instcombine -S < %s -mtriple unknown | FileCheck %s --check-prefixes=CHECK,CHECKI32,SQRT +; RUN: opt -passes=instcombine -S < %s -mtriple unknown -disable-builtin sqrt | FileCheck %s --check-prefixes=CHECK,CHECKI32,NOSQRT +; RUN: opt -passes=instcombine -S < %s -mtriple msp430 | FileCheck %s --check-prefixes=CHECK,CHECKI16,SQRT +; RUN: opt -passes=instcombine -S < %s -mtriple msp430 -disable-builtin sqrt | FileCheck %s --check-prefixes=CHECK,CHECKI16,NOSQRT declare double @llvm.pow.f64(double, double) declare float @llvm.pow.f32(float, float) diff --git a/llvm/test/Transforms/InstCombine/pow-cbrt.ll b/llvm/test/Transforms/InstCombine/pow-cbrt.ll index 00fa510b04e6..fd26ec843ee9 100644 --- a/llvm/test/Transforms/InstCombine/pow-cbrt.ll +++ b/llvm/test/Transforms/InstCombine/pow-cbrt.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define double @pow_intrinsic_third_fast(double %x) { ; CHECK-LABEL: @pow_intrinsic_third_fast( diff --git a/llvm/test/Transforms/InstCombine/pow-exp-nofastmath.ll b/llvm/test/Transforms/InstCombine/pow-exp-nofastmath.ll index ef9b3a6a78d3..74ca79fab03d 100644 --- a/llvm/test/Transforms/InstCombine/pow-exp-nofastmath.ll +++ b/llvm/test/Transforms/InstCombine/pow-exp-nofastmath.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define double @mypow(double %x, double %y) { ; CHECK-LABEL: @mypow( diff --git a/llvm/test/Transforms/InstCombine/pow-exp.ll b/llvm/test/Transforms/InstCombine/pow-exp.ll index 8cbf7223cc67..1b347dd1ff6a 100644 --- a/llvm/test/Transforms/InstCombine/pow-exp.ll +++ b/llvm/test/Transforms/InstCombine/pow-exp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define float @powf_expf(float %x, float %y) { ; CHECK-LABEL: @powf_expf( diff --git a/llvm/test/Transforms/InstCombine/pow-sqrt.ll b/llvm/test/Transforms/InstCombine/pow-sqrt.ll index 11fd5767473a..b018850e29ba 100644 --- a/llvm/test/Transforms/InstCombine/pow-sqrt.ll +++ b/llvm/test/Transforms/InstCombine/pow-sqrt.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Check the libcall and the intrinsic for each case with differing FMF. diff --git a/llvm/test/Transforms/InstCombine/pow_fp_int.ll b/llvm/test/Transforms/InstCombine/pow_fp_int.ll index 807578e2ee54..95942460c9c7 100644 --- a/llvm/test/Transforms/InstCombine/pow_fp_int.ll +++ b/llvm/test/Transforms/InstCombine/pow_fp_int.ll @@ -1,4 +1,4 @@ -; RUN: opt -mtriple unknown -instcombine -S < %s | FileCheck %s +; RUN: opt -mtriple unknown -passes=instcombine -S < %s | FileCheck %s ; PR42190 ; Can't generate test checks due to PR42740. diff --git a/llvm/test/Transforms/InstCombine/pow_fp_int16.ll b/llvm/test/Transforms/InstCombine/pow_fp_int16.ll index 3536304df83a..befb25e04685 100644 --- a/llvm/test/Transforms/InstCombine/pow_fp_int16.ll +++ b/llvm/test/Transforms/InstCombine/pow_fp_int16.ll @@ -1,4 +1,4 @@ -; RUN: opt -mtriple msp430 -instcombine -S < %s | FileCheck %s +; RUN: opt -mtriple msp430 -passes=instcombine -S < %s | FileCheck %s ; Test case was copied from pow_fp_int.ll but adjusted for 16-bit int. ; Assuming that we can't generate test checks for the same reason (PR42740). diff --git a/llvm/test/Transforms/InstCombine/powi.ll b/llvm/test/Transforms/InstCombine/powi.ll index 54bf33f4e5e4..7e4ecc549ff0 100644 --- a/llvm/test/Transforms/InstCombine/powi.ll +++ b/llvm/test/Transforms/InstCombine/powi.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s declare double @llvm.powi.f64.i32(double, i32) declare double @llvm.powi.f64.i64(double, i64) diff --git a/llvm/test/Transforms/InstCombine/pr12251.ll b/llvm/test/Transforms/InstCombine/pr12251.ll index 7197bda2e542..2a2b9a5b1f69 100644 --- a/llvm/test/Transforms/InstCombine/pr12251.ll +++ b/llvm/test/Transforms/InstCombine/pr12251.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define zeroext i1 @_Z3fooPb(i8* nocapture %x) { entry: diff --git a/llvm/test/Transforms/InstCombine/pr12338.ll b/llvm/test/Transforms/InstCombine/pr12338.ll index 7e0bf59614c3..8c18b1fa640b 100644 --- a/llvm/test/Transforms/InstCombine/pr12338.ll +++ b/llvm/test/Transforms/InstCombine/pr12338.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define void @entry() nounwind { entry: diff --git a/llvm/test/Transforms/InstCombine/pr14365.ll b/llvm/test/Transforms/InstCombine/pr14365.ll index d02a3ca38024..5e8dca13fa1b 100644 --- a/llvm/test/Transforms/InstCombine/pr14365.ll +++ b/llvm/test/Transforms/InstCombine/pr14365.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; int test0(int a) { return (a + (~(a & 0x55555555) + 1)); } define i32 @test0(i32 %a0) { diff --git a/llvm/test/Transforms/InstCombine/pr17827.ll b/llvm/test/Transforms/InstCombine/pr17827.ll index 7521f819a1e4..94e1ef2ca605 100644 --- a/llvm/test/Transforms/InstCombine/pr17827.ll +++ b/llvm/test/Transforms/InstCombine/pr17827.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; With left shift, the comparison should not be modified. define i1 @test_shift_and_cmp_not_changed1(i8 %p) { diff --git a/llvm/test/Transforms/InstCombine/pr20079.ll b/llvm/test/Transforms/InstCombine/pr20079.ll index ce9c4deb06a0..3adc20cc33c5 100644 --- a/llvm/test/Transforms/InstCombine/pr20079.ll +++ b/llvm/test/Transforms/InstCombine/pr20079.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s @b = internal global [1 x i32] zeroinitializer, align 4 @c = internal global i32 0, align 4 diff --git a/llvm/test/Transforms/InstCombine/pr20678.ll b/llvm/test/Transforms/InstCombine/pr20678.ll index 4b5fac79449b..e98036abe70b 100644 --- a/llvm/test/Transforms/InstCombine/pr20678.ll +++ b/llvm/test/Transforms/InstCombine/pr20678.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s define i1 @test1() { entry: diff --git a/llvm/test/Transforms/InstCombine/pr21199.ll b/llvm/test/Transforms/InstCombine/pr21199.ll index f9fdeb8881b8..191aedacbb8c 100644 --- a/llvm/test/Transforms/InstCombine/pr21199.ll +++ b/llvm/test/Transforms/InstCombine/pr21199.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; 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" diff --git a/llvm/test/Transforms/InstCombine/pr21210.ll b/llvm/test/Transforms/InstCombine/pr21210.ll index ac229a89ca50..ced765ca6c72 100644 --- a/llvm/test/Transforms/InstCombine/pr21210.ll +++ b/llvm/test/Transforms/InstCombine/pr21210.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -instcombine -S | FileCheck %s +; RUN: opt < %s -mtriple=x86_64-unknown-linux-gnu -passes=instcombine -S | FileCheck %s ; Checks that the select-icmp optimization is safe in two cases declare void @foo(i32) declare i32 @bar(i32) diff --git a/llvm/test/Transforms/InstCombine/pr21651.ll b/llvm/test/Transforms/InstCombine/pr21651.ll index bc8fe6177262..89e027f41e6b 100644 --- a/llvm/test/Transforms/InstCombine/pr21651.ll +++ b/llvm/test/Transforms/InstCombine/pr21651.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Provide legal integer types. target datalayout = "n8:16:32:64" diff --git a/llvm/test/Transforms/InstCombine/pr21891.ll b/llvm/test/Transforms/InstCombine/pr21891.ll index 1473838252ce..1f5baa10efd5 100644 --- a/llvm/test/Transforms/InstCombine/pr21891.ll +++ b/llvm/test/Transforms/InstCombine/pr21891.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine +; RUN: opt < %s -passes=instcombine define i32 @f(i32 %theNumber) { entry: diff --git a/llvm/test/Transforms/InstCombine/pr23751.ll b/llvm/test/Transforms/InstCombine/pr23751.ll index d7840be2f837..736e9abd76a4 100644 --- a/llvm/test/Transforms/InstCombine/pr23751.ll +++ b/llvm/test/Transforms/InstCombine/pr23751.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s @d = common global i32 0, align 4 diff --git a/llvm/test/Transforms/InstCombine/pr23809.ll b/llvm/test/Transforms/InstCombine/pr23809.ll index 06c7ce20ba80..4c913cfd5f14 100644 --- a/llvm/test/Transforms/InstCombine/pr23809.ll +++ b/llvm/test/Transforms/InstCombine/pr23809.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; InstCombine should preserve the call to @llvm.assume. define i32 @icmp(i32 %a, i32 %b) { diff --git a/llvm/test/Transforms/InstCombine/pr24354.ll b/llvm/test/Transforms/InstCombine/pr24354.ll index 3b36fd1b74e3..7ed79dd8ae11 100644 --- a/llvm/test/Transforms/InstCombine/pr24354.ll +++ b/llvm/test/Transforms/InstCombine/pr24354.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; This used to crash opt diff --git a/llvm/test/Transforms/InstCombine/pr24605.ll b/llvm/test/Transforms/InstCombine/pr24605.ll index 4b7b36137e6a..a221fdf659dc 100644 --- a/llvm/test/Transforms/InstCombine/pr24605.ll +++ b/llvm/test/Transforms/InstCombine/pr24605.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/pr25342.ll b/llvm/test/Transforms/InstCombine/pr25342.ll index cbfd725dd09f..661dbf12dfac 100644 --- a/llvm/test/Transforms/InstCombine/pr25342.ll +++ b/llvm/test/Transforms/InstCombine/pr25342.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s %"struct.std::complex" = type { { float, float } } @dd = external global %"struct.std::complex", align 4 diff --git a/llvm/test/Transforms/InstCombine/pr25745.ll b/llvm/test/Transforms/InstCombine/pr25745.ll index 3bf9efc92b90..07c6db57b9c8 100644 --- a/llvm/test/Transforms/InstCombine/pr25745.ll +++ b/llvm/test/Transforms/InstCombine/pr25745.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; Checking for a crash diff --git a/llvm/test/Transforms/InstCombine/pr2645-0-inseltpoison.ll b/llvm/test/Transforms/InstCombine/pr2645-0-inseltpoison.ll index a32a1ae8dd0b..41316e0787d3 100644 --- a/llvm/test/Transforms/InstCombine/pr2645-0-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/pr2645-0-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | grep "insertelement <4 x float> poison" +; RUN: opt < %s -passes=instcombine -S | grep "insertelement <4 x float> poison" ; Instcombine should be able to prove that none of the ; insertelement's first operand's elements are needed. diff --git a/llvm/test/Transforms/InstCombine/pr2645-0.ll b/llvm/test/Transforms/InstCombine/pr2645-0.ll index da883a386b1c..ccb4fa8f455f 100644 --- a/llvm/test/Transforms/InstCombine/pr2645-0.ll +++ b/llvm/test/Transforms/InstCombine/pr2645-0.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | grep "insertelement <4 x float> poison" +; RUN: opt < %s -passes=instcombine -S | grep "insertelement <4 x float> poison" ; Instcombine should be able to prove that none of the ; insertelement's first operand's elements are needed. diff --git a/llvm/test/Transforms/InstCombine/pr26992.ll b/llvm/test/Transforms/InstCombine/pr26992.ll index da54877805ac..54e0826bd36b 100644 --- a/llvm/test/Transforms/InstCombine/pr26992.ll +++ b/llvm/test/Transforms/InstCombine/pr26992.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s target triple = "x86_64-pc-windows-msvc" define i1 @test1(i8* %p) personality i32 (...)* @__CxxFrameHandler3 { diff --git a/llvm/test/Transforms/InstCombine/pr26993.ll b/llvm/test/Transforms/InstCombine/pr26993.ll index 14b33d10cc3a..f00c64a1aba3 100644 --- a/llvm/test/Transforms/InstCombine/pr26993.ll +++ b/llvm/test/Transforms/InstCombine/pr26993.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s define double @test1() { %sin = call double @__sinpi(double 1.0) diff --git a/llvm/test/Transforms/InstCombine/pr27236.ll b/llvm/test/Transforms/InstCombine/pr27236.ll index f55ee0bffd8d..401ecbbfafa5 100644 --- a/llvm/test/Transforms/InstCombine/pr27236.ll +++ b/llvm/test/Transforms/InstCombine/pr27236.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s define float @test1(i32 %scale) { ; CHECK-LABEL: @test1( diff --git a/llvm/test/Transforms/InstCombine/pr27332.ll b/llvm/test/Transforms/InstCombine/pr27332.ll index 87e440eed1cf..007da123de10 100644 --- a/llvm/test/Transforms/InstCombine/pr27332.ll +++ b/llvm/test/Transforms/InstCombine/pr27332.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S -o - < %s | FileCheck %s +; RUN: opt -passes=instcombine -S -o - < %s | FileCheck %s declare <4 x float> @llvm.fabs.v4f32(<4 x float>) define <4 x i1> @test1(<4 x float> %V) { diff --git a/llvm/test/Transforms/InstCombine/pr27343.ll b/llvm/test/Transforms/InstCombine/pr27343.ll index 5a9267b16af0..abf779b84989 100644 --- a/llvm/test/Transforms/InstCombine/pr27343.ll +++ b/llvm/test/Transforms/InstCombine/pr27343.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -S -instcombine | FileCheck %s +; RUN: opt < %s -S -passes=instcombine | FileCheck %s define i32 @__isnan(float %x) alwaysinline nounwind optsize { ; CHECK-LABEL: @__isnan( diff --git a/llvm/test/Transforms/InstCombine/pr27703.ll b/llvm/test/Transforms/InstCombine/pr27703.ll index 2981afe171e4..38c45c8e4ce6 100644 --- a/llvm/test/Transforms/InstCombine/pr27703.ll +++ b/llvm/test/Transforms/InstCombine/pr27703.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define void @mem() { bb: diff --git a/llvm/test/Transforms/InstCombine/pr27996.ll b/llvm/test/Transforms/InstCombine/pr27996.ll index 3fefe6e7839c..82ec82ca1f0e 100644 --- a/llvm/test/Transforms/InstCombine/pr27996.ll +++ b/llvm/test/Transforms/InstCombine/pr27996.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s @i = constant i32 1, align 4 diff --git a/llvm/test/Transforms/InstCombine/pr28143.ll b/llvm/test/Transforms/InstCombine/pr28143.ll index 9ef273e5ed49..b5d06970e1ee 100644 --- a/llvm/test/Transforms/InstCombine/pr28143.ll +++ b/llvm/test/Transforms/InstCombine/pr28143.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s define void @test1() { entry: diff --git a/llvm/test/Transforms/InstCombine/pr28725.ll b/llvm/test/Transforms/InstCombine/pr28725.ll index ff9440d605a9..b86f22e0df0e 100644 --- a/llvm/test/Transforms/InstCombine/pr28725.ll +++ b/llvm/test/Transforms/InstCombine/pr28725.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s %S = type { i16, i32 } define <2 x i16> @test1() { diff --git a/llvm/test/Transforms/InstCombine/pr2996.ll b/llvm/test/Transforms/InstCombine/pr2996.ll index f5e1df4dd048..83314b9888fe 100644 --- a/llvm/test/Transforms/InstCombine/pr2996.ll +++ b/llvm/test/Transforms/InstCombine/pr2996.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine +; RUN: opt < %s -passes=instcombine ; PR2996 define void @func_53(i16 signext %p_56) nounwind { diff --git a/llvm/test/Transforms/InstCombine/pr31990_wrong_memcpy.ll b/llvm/test/Transforms/InstCombine/pr31990_wrong_memcpy.ll index f7874b9ee23d..609f77a5c45f 100644 --- a/llvm/test/Transforms/InstCombine/pr31990_wrong_memcpy.ll +++ b/llvm/test/Transforms/InstCombine/pr31990_wrong_memcpy.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine %s -o - | FileCheck %s +; RUN: opt -S -passes=instcombine %s -o - | FileCheck %s ; Regression test of PR31990. A memcpy of one byte, copying 0xff, was ; replaced with a single store of an i4 0xf. diff --git a/llvm/test/Transforms/InstCombine/pr32686.ll b/llvm/test/Transforms/InstCombine/pr32686.ll index e91cff7309ae..c552a1829a0f 100644 --- a/llvm/test/Transforms/InstCombine/pr32686.ll +++ b/llvm/test/Transforms/InstCombine/pr32686.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine %s | FileCheck %s +; RUN: opt -S -passes=instcombine %s | FileCheck %s @a = common global i8 0, align 1 @b = external global i32 diff --git a/llvm/test/Transforms/InstCombine/pr33453.ll b/llvm/test/Transforms/InstCombine/pr33453.ll index dee4c5bf566b..5d496e76186a 100644 --- a/llvm/test/Transforms/InstCombine/pr33453.ll +++ b/llvm/test/Transforms/InstCombine/pr33453.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S %s | FileCheck %s +; RUN: opt -passes=instcombine -S %s | FileCheck %s @g1 = external global i16 @g2 = external global i16 diff --git a/llvm/test/Transforms/InstCombine/pr33689_same_bitwidth.ll b/llvm/test/Transforms/InstCombine/pr33689_same_bitwidth.ll index d533703ac6fb..be50716fa131 100644 --- a/llvm/test/Transforms/InstCombine/pr33689_same_bitwidth.ll +++ b/llvm/test/Transforms/InstCombine/pr33689_same_bitwidth.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine %s -o - | FileCheck %s +; RUN: opt -S -passes=instcombine %s -o - | FileCheck %s ; All the "useless" instructions should be removed and we shouldn't crash. diff --git a/llvm/test/Transforms/InstCombine/pr34349.ll b/llvm/test/Transforms/InstCombine/pr34349.ll index b88f77a4c861..ea4afaa245c6 100644 --- a/llvm/test/Transforms/InstCombine/pr34349.ll +++ b/llvm/test/Transforms/InstCombine/pr34349.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -;RUN: opt -instcombine -S %s | FileCheck %s +;RUN: opt -passes=instcombine -S %s | FileCheck %s define i8 @fast_div_201(i8 %p) { ; CHECK-LABEL: @fast_div_201( diff --git a/llvm/test/Transforms/InstCombine/pr34627.ll b/llvm/test/Transforms/InstCombine/pr34627.ll index 8935ecf755cf..35d704939686 100644 --- a/llvm/test/Transforms/InstCombine/pr34627.ll +++ b/llvm/test/Transforms/InstCombine/pr34627.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine %s |FileCheck %s +; RUN: opt -S -passes=instcombine %s |FileCheck %s define <2 x i16> @patatino() { ; CHECK-LABEL: @patatino( diff --git a/llvm/test/Transforms/InstCombine/pr35515.ll b/llvm/test/Transforms/InstCombine/pr35515.ll index 1ad9b2fccd94..c862bee932c1 100644 --- a/llvm/test/Transforms/InstCombine/pr35515.ll +++ b/llvm/test/Transforms/InstCombine/pr35515.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s @g_40 = external global i8, align 2 @g_461 = external global [6 x i8], align 2 diff --git a/llvm/test/Transforms/InstCombine/pr36362.ll b/llvm/test/Transforms/InstCombine/pr36362.ll index 412691543a15..addcdb1bd6a8 100644 --- a/llvm/test/Transforms/InstCombine/pr36362.ll +++ b/llvm/test/Transforms/InstCombine/pr36362.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -;RUN: opt -instcombine -S %s | FileCheck %s +;RUN: opt -passes=instcombine -S %s | FileCheck %s ; We shouldn't remove the select before the srem define i32 @foo(i1 %a, i32 %b, i32 %c) { diff --git a/llvm/test/Transforms/InstCombine/pr38677.ll b/llvm/test/Transforms/InstCombine/pr38677.ll index e5c6178105d6..df36e7962e7c 100644 --- a/llvm/test/Transforms/InstCombine/pr38677.ll +++ b/llvm/test/Transforms/InstCombine/pr38677.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -;RUN: opt -instcombine -S %s | FileCheck %s +;RUN: opt -passes=instcombine -S %s | FileCheck %s @A = extern_weak global i32, align 4 @B = extern_weak global i32, align 4 diff --git a/llvm/test/Transforms/InstCombine/pr38897.ll b/llvm/test/Transforms/InstCombine/pr38897.ll index 1eb2cb9a4677..ad26eaa60be1 100644 --- a/llvm/test/Transforms/InstCombine/pr38897.ll +++ b/llvm/test/Transforms/InstCombine/pr38897.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @sharpening(i32 %b340, i1 %c, i1 %d, i32 %e, i32 %f, i32 %g, i32 %h) { ; CHECK-LABEL: @sharpening( diff --git a/llvm/test/Transforms/InstCombine/pr38915.ll b/llvm/test/Transforms/InstCombine/pr38915.ll index 22adb9eff775..d530c27728f8 100644 --- a/llvm/test/Transforms/InstCombine/pr38915.ll +++ b/llvm/test/Transforms/InstCombine/pr38915.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @PR38915(i32 %x, i32 %y, i32 %z) { ; CHECK-LABEL: @PR38915( diff --git a/llvm/test/Transforms/InstCombine/pr38984-inseltpoison.ll b/llvm/test/Transforms/InstCombine/pr38984-inseltpoison.ll index fd2c010b2a39..d576ea24dd75 100644 --- a/llvm/test/Transforms/InstCombine/pr38984-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/pr38984-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "p:16:16" @a = external global [21 x i16], align 1 diff --git a/llvm/test/Transforms/InstCombine/pr38984.ll b/llvm/test/Transforms/InstCombine/pr38984.ll index 4f9d1845acac..c7ee47276340 100644 --- a/llvm/test/Transforms/InstCombine/pr38984.ll +++ b/llvm/test/Transforms/InstCombine/pr38984.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "p:16:16" @a = external global [21 x i16], align 1 diff --git a/llvm/test/Transforms/InstCombine/pr39177.ll b/llvm/test/Transforms/InstCombine/pr39177.ll index c0f0e8604395..c13fc0039f01 100644 --- a/llvm/test/Transforms/InstCombine/pr39177.ll +++ b/llvm/test/Transforms/InstCombine/pr39177.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s %struct._IO_FILE = type { i32, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, %struct._IO_marker*, %struct._IO_FILE*, i32, i32, i64, i16, i8, [1 x i8], i8*, i64, i8*, i8*, i8*, i8*, i64, i32, [20 x i8] } %struct._IO_marker = type { %struct._IO_marker*, %struct._IO_FILE*, i32 } diff --git a/llvm/test/Transforms/InstCombine/pr39908.ll b/llvm/test/Transforms/InstCombine/pr39908.ll index bd7a82990ad8..f07e091a674b 100644 --- a/llvm/test/Transforms/InstCombine/pr39908.ll +++ b/llvm/test/Transforms/InstCombine/pr39908.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "p:32:32" diff --git a/llvm/test/Transforms/InstCombine/pr41164.ll b/llvm/test/Transforms/InstCombine/pr41164.ll index 8e98e2aa57e8..da797bb57303 100644 --- a/llvm/test/Transforms/InstCombine/pr41164.ll +++ b/llvm/test/Transforms/InstCombine/pr41164.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s @wyhash64_x = global i64 0, align 8 diff --git a/llvm/test/Transforms/InstCombine/pr43081.ll b/llvm/test/Transforms/InstCombine/pr43081.ll index 42f910043dba..04214183592b 100644 --- a/llvm/test/Transforms/InstCombine/pr43081.ll +++ b/llvm/test/Transforms/InstCombine/pr43081.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-builtin strlen -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -disable-builtin strlen -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" diff --git a/llvm/test/Transforms/InstCombine/pr43376-getFlippedStrictnessPredicateAndConstant-assert.ll b/llvm/test/Transforms/InstCombine/pr43376-getFlippedStrictnessPredicateAndConstant-assert.ll index 1e5bf5190a59..3cf664b56935 100644 --- a/llvm/test/Transforms/InstCombine/pr43376-getFlippedStrictnessPredicateAndConstant-assert.ll +++ b/llvm/test/Transforms/InstCombine/pr43376-getFlippedStrictnessPredicateAndConstant-assert.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; We used to hit an assertion in getFlippedStrictnessPredicateAndConstant due ; to assuming that edge cases such as %cmp (ult x, 0) already has been diff --git a/llvm/test/Transforms/InstCombine/pr43893.ll b/llvm/test/Transforms/InstCombine/pr43893.ll index 5eaae20fe741..5f3e33c1ef59 100644 --- a/llvm/test/Transforms/InstCombine/pr43893.ll +++ b/llvm/test/Transforms/InstCombine/pr43893.ll @@ -1,5 +1,5 @@ ; Check for setting dbg.value as undef which depends on trivially dead instructions. -; RUN: opt -instcombine -S -o - %s | FileCheck %s +; RUN: opt -passes=instcombine -S -o - %s | FileCheck %s @a = common dso_local global i8 0, align 1, !dbg !0 @b = common dso_local global i8 0, align 1, !dbg !6 diff --git a/llvm/test/Transforms/InstCombine/pr44242.ll b/llvm/test/Transforms/InstCombine/pr44242.ll index 5e783af73478..a6934d2f9140 100644 --- a/llvm/test/Transforms/InstCombine/pr44242.ll +++ b/llvm/test/Transforms/InstCombine/pr44242.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; Check that we don't create two redundant phi nodes when %val is used in a ; form where we can't rewrite it in terms of the new phi node. diff --git a/llvm/test/Transforms/InstCombine/pr44245.ll b/llvm/test/Transforms/InstCombine/pr44245.ll index d446cbf8b835..1c123457383d 100644 --- a/llvm/test/Transforms/InstCombine/pr44245.ll +++ b/llvm/test/Transforms/InstCombine/pr44245.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine -instcombine-infinite-loop-threshold=2 < %s | FileCheck %s +; RUN: opt -S -passes=instcombine -instcombine-infinite-loop-threshold=2 < %s | FileCheck %s ; This used to cause on infinite instcombine loop. diff --git a/llvm/test/Transforms/InstCombine/pr44541.ll b/llvm/test/Transforms/InstCombine/pr44541.ll index a009c62394ad..2c0e653320f8 100644 --- a/llvm/test/Transforms/InstCombine/pr44541.ll +++ b/llvm/test/Transforms/InstCombine/pr44541.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine -instcombine-infinite-loop-threshold=2 < %s | FileCheck %s +; RUN: opt -S -passes=instcombine -instcombine-infinite-loop-threshold=2 < %s | FileCheck %s ; This test used to cause an infinite combine loop. diff --git a/llvm/test/Transforms/InstCombine/pr44552.ll b/llvm/test/Transforms/InstCombine/pr44552.ll index adefe829df2f..f32265b97434 100644 --- a/llvm/test/Transforms/InstCombine/pr44552.ll +++ b/llvm/test/Transforms/InstCombine/pr44552.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine -instcombine-infinite-loop-threshold=2 < %s | FileCheck %s +; RUN: opt -S -passes=instcombine -instcombine-infinite-loop-threshold=2 < %s | FileCheck %s ; This used to require 10 instcombine iterations to fully optimize. ; The number of iterations grew linearly with the number of DSEd stores, diff --git a/llvm/test/Transforms/InstCombine/pr44835.ll b/llvm/test/Transforms/InstCombine/pr44835.ll index 46c9fca6bb7a..48650525581b 100644 --- a/llvm/test/Transforms/InstCombine/pr44835.ll +++ b/llvm/test/Transforms/InstCombine/pr44835.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; This test used to cause an infinite loop in the load/store min/max bitcast ; transform. diff --git a/llvm/test/Transforms/InstCombine/pr46680.ll b/llvm/test/Transforms/InstCombine/pr46680.ll index 59d449d5dc23..39bbde6b07c0 100644 --- a/llvm/test/Transforms/InstCombine/pr46680.ll +++ b/llvm/test/Transforms/InstCombine/pr46680.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine -instcombine-infinite-loop-threshold=2 < %s | FileCheck %s +; RUN: opt -S -passes=instcombine -instcombine-infinite-loop-threshold=2 < %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-pc-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/pr49688.ll b/llvm/test/Transforms/InstCombine/pr49688.ll index 1e4eb79bf5c6..284b098b02af 100644 --- a/llvm/test/Transforms/InstCombine/pr49688.ll +++ b/llvm/test/Transforms/InstCombine/pr49688.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; %cmp should not vanish define i1 @f(i32 %i1) { diff --git a/llvm/test/Transforms/InstCombine/pr51824.ll b/llvm/test/Transforms/InstCombine/pr51824.ll index 1e0ab771554f..557512a5f18c 100644 --- a/llvm/test/Transforms/InstCombine/pr51824.ll +++ b/llvm/test/Transforms/InstCombine/pr51824.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38057 define void @PR51824() { diff --git a/llvm/test/Transforms/InstCombine/prefetch-load.ll b/llvm/test/Transforms/InstCombine/prefetch-load.ll index f98b7ae00bf1..c9573006d140 100644 --- a/llvm/test/Transforms/InstCombine/prefetch-load.ll +++ b/llvm/test/Transforms/InstCombine/prefetch-load.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s %struct.C = type { %struct.C*, i32 } diff --git a/llvm/test/Transforms/InstCombine/preserve-sminmax.ll b/llvm/test/Transforms/InstCombine/preserve-sminmax.ll index d04816e83711..7f65a083dc8c 100644 --- a/llvm/test/Transforms/InstCombine/preserve-sminmax.ll +++ b/llvm/test/Transforms/InstCombine/preserve-sminmax.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Instcombine normally would fold the sdiv into the comparison, ; making "icmp slt i32 %h, 2", but in this case the sdiv has diff --git a/llvm/test/Transforms/InstCombine/prevent-cmp-merge.ll b/llvm/test/Transforms/InstCombine/prevent-cmp-merge.ll index 3dd89f8eda12..23dfb956263c 100644 --- a/llvm/test/Transforms/InstCombine/prevent-cmp-merge.ll +++ b/llvm/test/Transforms/InstCombine/prevent-cmp-merge.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; ; This test makes sure that InstCombine does not replace the sequence of ; xor/sub instruction followed by cmp instruction into a single cmp instruction diff --git a/llvm/test/Transforms/InstCombine/printf-1.ll b/llvm/test/Transforms/InstCombine/printf-1.ll index 0689fc54e33b..170c0de1de81 100644 --- a/llvm/test/Transforms/InstCombine/printf-1.ll +++ b/llvm/test/Transforms/InstCombine/printf-1.ll @@ -1,8 +1,8 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the printf library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s -; RUN: opt < %s -mtriple xcore-xmos-elf -instcombine -S | FileCheck %s -check-prefix=CHECK-IPRINTF +; RUN: opt < %s -passes=instcombine -S | FileCheck %s +; RUN: opt < %s -mtriple xcore-xmos-elf -passes=instcombine -S | FileCheck %s -check-prefix=CHECK-IPRINTF 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:128:128" diff --git a/llvm/test/Transforms/InstCombine/printf-2.ll b/llvm/test/Transforms/InstCombine/printf-2.ll index 760fb42add32..31f036d8e583 100644 --- a/llvm/test/Transforms/InstCombine/printf-2.ll +++ b/llvm/test/Transforms/InstCombine/printf-2.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --check-globals ; Test that the printf library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/printf-3.ll b/llvm/test/Transforms/InstCombine/printf-3.ll index 8f3a36a13465..d3d32b62d205 100644 --- a/llvm/test/Transforms/InstCombine/printf-3.ll +++ b/llvm/test/Transforms/InstCombine/printf-3.ll @@ -1,6 +1,6 @@ ; Test that the printf library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-windows-msvc18.0.0" diff --git a/llvm/test/Transforms/InstCombine/ptr-int-cast.ll b/llvm/test/Transforms/InstCombine/ptr-int-cast.ll index 31040b8a377c..8b08f80c4680 100644 --- a/llvm/test/Transforms/InstCombine/ptr-int-cast.ll +++ b/llvm/test/Transforms/InstCombine/ptr-int-cast.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "E-p:64:64:64-a0:0:8-f32:32:32-f64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-v64:64:64-v128:128:128" define i1 @test1(i32 *%x) nounwind { diff --git a/llvm/test/Transforms/InstCombine/ptr-int-ptr-icmp.ll b/llvm/test/Transforms/InstCombine/ptr-int-ptr-icmp.ll index f99685c77908..044c801b25b3 100644 --- a/llvm/test/Transforms/InstCombine/ptr-int-ptr-icmp.ll +++ b/llvm/test/Transforms/InstCombine/ptr-int-ptr-icmp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S -disable-i2p-p2i-opt < %s | FileCheck %s +; RUN: opt -passes=instcombine -S -disable-i2p-p2i-opt < %s | FileCheck %s target datalayout = "e-p:64:64-p1:16:16-p2:32:32:32-p3:64:64:64" target triple = "x86_64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/pull-binop-through-shift.ll b/llvm/test/Transforms/InstCombine/pull-binop-through-shift.ll index b39ec80cd70b..d5b7cc1bc4cc 100644 --- a/llvm/test/Transforms/InstCombine/pull-binop-through-shift.ll +++ b/llvm/test/Transforms/InstCombine/pull-binop-through-shift.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; shift left diff --git a/llvm/test/Transforms/InstCombine/pull-conditional-binop-through-shift.ll b/llvm/test/Transforms/InstCombine/pull-conditional-binop-through-shift.ll index 438fe58c2689..5d8becae5002 100644 --- a/llvm/test/Transforms/InstCombine/pull-conditional-binop-through-shift.ll +++ b/llvm/test/Transforms/InstCombine/pull-conditional-binop-through-shift.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; shift left diff --git a/llvm/test/Transforms/InstCombine/puts-1.ll b/llvm/test/Transforms/InstCombine/puts-1.ll index 1225b6f65439..30371beb645c 100644 --- a/llvm/test/Transforms/InstCombine/puts-1.ll +++ b/llvm/test/Transforms/InstCombine/puts-1.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the puts library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/range-check.ll b/llvm/test/Transforms/InstCombine/range-check.ll index 4639d71a457c..3617abc03d37 100644 --- a/llvm/test/Transforms/InstCombine/range-check.ll +++ b/llvm/test/Transforms/InstCombine/range-check.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Check simplification of ; (icmp sgt x, -1) & (icmp sgt/sge n, x) --> icmp ugt/uge n, x diff --git a/llvm/test/Transforms/InstCombine/readnone-maythrow.ll b/llvm/test/Transforms/InstCombine/readnone-maythrow.ll index f01e90263a30..c686bb1e1e10 100644 --- a/llvm/test/Transforms/InstCombine/readnone-maythrow.ll +++ b/llvm/test/Transforms/InstCombine/readnone-maythrow.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s declare void @readnone_but_may_throw() readnone diff --git a/llvm/test/Transforms/InstCombine/realloc-free.ll b/llvm/test/Transforms/InstCombine/realloc-free.ll index 64311c9ee188..6109d1be3168 100644 --- a/llvm/test/Transforms/InstCombine/realloc-free.ll +++ b/llvm/test/Transforms/InstCombine/realloc-free.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --scrub-attributes -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s define dso_local void @_Z3fooPv(i8* nocapture %0) local_unnamed_addr #0 { ; CHECK-LABEL: @_Z3fooPv( diff --git a/llvm/test/Transforms/InstCombine/realloc.ll b/llvm/test/Transforms/InstCombine/realloc.ll index 7304b2403fe2..8b2af1ad2df3 100644 --- a/llvm/test/Transforms/InstCombine/realloc.ll +++ b/llvm/test/Transforms/InstCombine/realloc.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare i8* @realloc(i8*, i64) #1 declare noalias i8* @malloc(i64) #1 diff --git a/llvm/test/Transforms/InstCombine/reassociate-nuw.ll b/llvm/test/Transforms/InstCombine/reassociate-nuw.ll index 6045f1ec8806..9718739ed8ab 100644 --- a/llvm/test/Transforms/InstCombine/reassociate-nuw.ll +++ b/llvm/test/Transforms/InstCombine/reassociate-nuw.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S %s | FileCheck %s +; RUN: opt -passes=instcombine -S %s | FileCheck %s define i32 @reassoc_add_nuw(i32 %x) { ; CHECK-LABEL: @reassoc_add_nuw( diff --git a/llvm/test/Transforms/InstCombine/recurrence.ll b/llvm/test/Transforms/InstCombine/recurrence.ll index 6dfaca96cd9e..c0ffdbceccc0 100644 --- a/llvm/test/Transforms/InstCombine/recurrence.ll +++ b/llvm/test/Transforms/InstCombine/recurrence.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s define i64 @test_or(i64 %a) { ; CHECK-LABEL: @test_or( diff --git a/llvm/test/Transforms/InstCombine/reduction-add-sext-zext-i1.ll b/llvm/test/Transforms/InstCombine/reduction-add-sext-zext-i1.ll index 2b3396eeacb6..40f5c0fdc95d 100644 --- a/llvm/test/Transforms/InstCombine/reduction-add-sext-zext-i1.ll +++ b/llvm/test/Transforms/InstCombine/reduction-add-sext-zext-i1.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i1 @reduce_add_self(<8 x i1> %x) { ; CHECK-LABEL: @reduce_add_self( diff --git a/llvm/test/Transforms/InstCombine/reduction-and-sext-zext-i1.ll b/llvm/test/Transforms/InstCombine/reduction-and-sext-zext-i1.ll index a38d26b1f8bf..3311f13df433 100644 --- a/llvm/test/Transforms/InstCombine/reduction-and-sext-zext-i1.ll +++ b/llvm/test/Transforms/InstCombine/reduction-and-sext-zext-i1.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Transforms/InstCombine/reduction-mul-sext-zext-i1.ll b/llvm/test/Transforms/InstCombine/reduction-mul-sext-zext-i1.ll index 5b640a2f7f0a..012129ef6fed 100644 --- a/llvm/test/Transforms/InstCombine/reduction-mul-sext-zext-i1.ll +++ b/llvm/test/Transforms/InstCombine/reduction-mul-sext-zext-i1.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i1 @reduce_mul_self(<8 x i1> %x) { ; CHECK-LABEL: @reduce_mul_self( diff --git a/llvm/test/Transforms/InstCombine/reduction-or-sext-zext-i1.ll b/llvm/test/Transforms/InstCombine/reduction-or-sext-zext-i1.ll index cd1b10a76ade..502aed25fde7 100644 --- a/llvm/test/Transforms/InstCombine/reduction-or-sext-zext-i1.ll +++ b/llvm/test/Transforms/InstCombine/reduction-or-sext-zext-i1.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Transforms/InstCombine/reduction-shufflevector.ll b/llvm/test/Transforms/InstCombine/reduction-shufflevector.ll index 60d257bc8134..00dd6de038d1 100644 --- a/llvm/test/Transforms/InstCombine/reduction-shufflevector.ll +++ b/llvm/test/Transforms/InstCombine/reduction-shufflevector.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @reduce_add(<4 x i32> %x) { ; CHECK-LABEL: @reduce_add( diff --git a/llvm/test/Transforms/InstCombine/reduction-smax-sext-zext-i1.ll b/llvm/test/Transforms/InstCombine/reduction-smax-sext-zext-i1.ll index ad63fc42994b..e1973954d3ac 100644 --- a/llvm/test/Transforms/InstCombine/reduction-smax-sext-zext-i1.ll +++ b/llvm/test/Transforms/InstCombine/reduction-smax-sext-zext-i1.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i1 @reduce_smax_self(<8 x i1> %x) { ; CHECK-LABEL: @reduce_smax_self( diff --git a/llvm/test/Transforms/InstCombine/reduction-smin-sext-zext-i1.ll b/llvm/test/Transforms/InstCombine/reduction-smin-sext-zext-i1.ll index f93b4357baeb..c7d55bbf130b 100644 --- a/llvm/test/Transforms/InstCombine/reduction-smin-sext-zext-i1.ll +++ b/llvm/test/Transforms/InstCombine/reduction-smin-sext-zext-i1.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i1 @reduce_smin_self(<8 x i1> %x) { ; CHECK-LABEL: @reduce_smin_self( diff --git a/llvm/test/Transforms/InstCombine/reduction-umax-sext-zext-i1.ll b/llvm/test/Transforms/InstCombine/reduction-umax-sext-zext-i1.ll index 791c310d2aa8..bdd3ed6fc82b 100644 --- a/llvm/test/Transforms/InstCombine/reduction-umax-sext-zext-i1.ll +++ b/llvm/test/Transforms/InstCombine/reduction-umax-sext-zext-i1.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i1 @reduce_umax_self(<8 x i1> %x) { ; CHECK-LABEL: @reduce_umax_self( diff --git a/llvm/test/Transforms/InstCombine/reduction-umin-sext-zext-i1.ll b/llvm/test/Transforms/InstCombine/reduction-umin-sext-zext-i1.ll index f65af4c03666..90ffee7145ae 100644 --- a/llvm/test/Transforms/InstCombine/reduction-umin-sext-zext-i1.ll +++ b/llvm/test/Transforms/InstCombine/reduction-umin-sext-zext-i1.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i1 @reduce_umin_self(<8 x i1> %x) { ; CHECK-LABEL: @reduce_umin_self( diff --git a/llvm/test/Transforms/InstCombine/reduction-xor-sext-zext-i1.ll b/llvm/test/Transforms/InstCombine/reduction-xor-sext-zext-i1.ll index 3f7d094c749a..90151d1591fa 100644 --- a/llvm/test/Transforms/InstCombine/reduction-xor-sext-zext-i1.ll +++ b/llvm/test/Transforms/InstCombine/reduction-xor-sext-zext-i1.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i1 @reduce_xor_self(<8 x i1> %x) { ; CHECK-LABEL: @reduce_xor_self( diff --git a/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-a.ll b/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-a.ll index 8aea13b5d545..8b876e0a41e8 100644 --- a/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-a.ll +++ b/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-a.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have some pattern that leaves only some low bits set, and then performs ; left-shift of those bits, we can combine those two shifts into a shift+mask. diff --git a/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-b.ll b/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-b.ll index e052560df836..56aa6cd591a0 100644 --- a/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-b.ll +++ b/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-b.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have some pattern that leaves only some low bits set, and then performs ; left-shift of those bits, we can combine those two shifts into a shift+mask. diff --git a/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-c.ll b/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-c.ll index a9efc9e0cf5f..fbbeffbba630 100644 --- a/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-c.ll +++ b/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-c.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have some pattern that leaves only some low bits set, and then performs ; left-shift of those bits, we can combine those two shifts into a shift+mask. diff --git a/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-d.ll b/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-d.ll index 1719bae187cb..4e83718552ff 100644 --- a/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-d.ll +++ b/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-d.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have some pattern that leaves only some low bits set, and then performs ; left-shift of those bits, we can combine those two shifts into a shift+mask. diff --git a/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-e.ll b/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-e.ll index 2f7e64bd5735..7f8562883e88 100644 --- a/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-e.ll +++ b/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-e.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have some pattern that leaves only some low bits set, lshr then performs ; left-shift of those bits, we can combine those two shifts into a shift+mask. diff --git a/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-f.ll b/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-f.ll index 546c342615a9..bbf2691f2dde 100644 --- a/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-f.ll +++ b/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-f.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have some pattern that leaves only some low bits set, ashr then performs ; left-shift of those bits, we can combine those two shifts into a shift+mask. diff --git a/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-pr49778.ll b/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-pr49778.ll index 8d70733ed03d..96dc6c68f4d4 100644 --- a/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-pr49778.ll +++ b/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-pr49778.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; PR49778: this should not be folded to 0. define i32 @src(i1 %x2) { diff --git a/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-a.ll b/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-a.ll index 3a9e994dffaf..a935e1e3e351 100644 --- a/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-a.ll +++ b/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-a.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have some pattern that leaves only some low bits set, and then performs ; left-shift of those bits, if none of the bits that are left after the final diff --git a/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-b.ll b/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-b.ll index b0e23bcf6070..aef92a481b6d 100644 --- a/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-b.ll +++ b/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-b.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have some pattern that leaves only some low bits set, and then performs ; left-shift of those bits, if none of the bits that are left after the final diff --git a/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-c.ll b/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-c.ll index 1ef139bd563e..c7747cfafcff 100644 --- a/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-c.ll +++ b/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-c.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have some pattern that leaves only some low bits set, and then performs ; left-shift of those bits, if none of the bits that are left after the final diff --git a/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-d.ll b/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-d.ll index a0d99fb2d030..6cf867d34c82 100644 --- a/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-d.ll +++ b/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-d.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have some pattern that leaves only some low bits set, and then performs ; left-shift of those bits, if none of the bits that are left after the final diff --git a/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-e.ll b/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-e.ll index c287a32bbf10..c5d9f329924c 100644 --- a/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-e.ll +++ b/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-e.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have some pattern that leaves only some low bits set, and then performs ; left-shift of those bits, if none of the bits that are left after the final diff --git a/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-f.ll b/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-f.ll index 386a5d5aa734..f992e3cf1ff8 100644 --- a/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-f.ll +++ b/llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-f.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have some pattern that leaves only some low bits set, and then performs ; left-shift of those bits, if none of the bits that are left after the final diff --git a/llvm/test/Transforms/InstCombine/redundant-right-shift-input-masking.ll b/llvm/test/Transforms/InstCombine/redundant-right-shift-input-masking.ll index 5abdebe088c7..23bc0eddaf06 100644 --- a/llvm/test/Transforms/InstCombine/redundant-right-shift-input-masking.ll +++ b/llvm/test/Transforms/InstCombine/redundant-right-shift-input-masking.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have: ; (data & (-1 << nbits)) outer>> nbits diff --git a/llvm/test/Transforms/InstCombine/rem.ll b/llvm/test/Transforms/InstCombine/rem.ll index adb18000629f..f9439b2dab32 100644 --- a/llvm/test/Transforms/InstCombine/rem.ll +++ b/llvm/test/Transforms/InstCombine/rem.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use(i32) diff --git a/llvm/test/Transforms/InstCombine/result-of-add-of-negative-is-non-zero-and-no-underflow.ll b/llvm/test/Transforms/InstCombine/result-of-add-of-negative-is-non-zero-and-no-underflow.ll index bcc62dc983c6..2e552a7e6e0f 100644 --- a/llvm/test/Transforms/InstCombine/result-of-add-of-negative-is-non-zero-and-no-underflow.ll +++ b/llvm/test/Transforms/InstCombine/result-of-add-of-negative-is-non-zero-and-no-underflow.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use8(i8) diff --git a/llvm/test/Transforms/InstCombine/result-of-add-of-negative-or-zero-is-non-zero-and-no-underflow.ll b/llvm/test/Transforms/InstCombine/result-of-add-of-negative-or-zero-is-non-zero-and-no-underflow.ll index e2f256140b51..08def405c58b 100644 --- a/llvm/test/Transforms/InstCombine/result-of-add-of-negative-or-zero-is-non-zero-and-no-underflow.ll +++ b/llvm/test/Transforms/InstCombine/result-of-add-of-negative-or-zero-is-non-zero-and-no-underflow.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use8(i8) diff --git a/llvm/test/Transforms/InstCombine/result-of-usub-is-non-zero-and-no-overflow.ll b/llvm/test/Transforms/InstCombine/result-of-usub-is-non-zero-and-no-overflow.ll index b875396a8c6d..d81d26c25a52 100644 --- a/llvm/test/Transforms/InstCombine/result-of-usub-is-non-zero-and-no-overflow.ll +++ b/llvm/test/Transforms/InstCombine/result-of-usub-is-non-zero-and-no-overflow.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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 diff --git a/llvm/test/Transforms/InstCombine/reuse-constant-from-select-in-icmp.ll b/llvm/test/Transforms/InstCombine/reuse-constant-from-select-in-icmp.ll index 1c768f9d0818..fd0d942ad840 100644 --- a/llvm/test/Transforms/InstCombine/reuse-constant-from-select-in-icmp.ll +++ b/llvm/test/Transforms/InstCombine/reuse-constant-from-select-in-icmp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have a relational comparison with a constant, and said comparison is ; used in a select, and there is a constant in select, see if we can make diff --git a/llvm/test/Transforms/InstCombine/rotate.ll b/llvm/test/Transforms/InstCombine/rotate.ll index 6a6337b8f309..15cd9f4899cc 100644 --- a/llvm/test/Transforms/InstCombine/rotate.ll +++ b/llvm/test/Transforms/InstCombine/rotate.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/sadd-with-overflow.ll b/llvm/test/Transforms/InstCombine/sadd-with-overflow.ll index 0acf60366243..ec48a4c7351c 100644 --- a/llvm/test/Transforms/InstCombine/sadd-with-overflow.ll +++ b/llvm/test/Transforms/InstCombine/sadd-with-overflow.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare { <2 x i32>, <2 x i1> } @llvm.sadd.with.overflow.v2i32(<2 x i32>, <2 x i32>) diff --git a/llvm/test/Transforms/InstCombine/sadd_sat.ll b/llvm/test/Transforms/InstCombine/sadd_sat.ll index bf30fdee07cc..9ba437efd32c 100644 --- a/llvm/test/Transforms/InstCombine/sadd_sat.ll +++ b/llvm/test/Transforms/InstCombine/sadd_sat.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64" diff --git a/llvm/test/Transforms/InstCombine/saddo.ll b/llvm/test/Transforms/InstCombine/saddo.ll index 8585c4efd55f..4eb09ab71c6b 100644 --- a/llvm/test/Transforms/InstCombine/saddo.ll +++ b/llvm/test/Transforms/InstCombine/saddo.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare { i64, i1 } @llvm.sadd.with.overflow.i64(i64, i64) declare { i8, i1 } @llvm.sadd.with.overflow.i8(i8, i8) diff --git a/llvm/test/Transforms/InstCombine/salvage-dbg-declare.ll b/llvm/test/Transforms/InstCombine/salvage-dbg-declare.ll index eaf09569febb..b3ade21fb39a 100644 --- a/llvm/test/Transforms/InstCombine/salvage-dbg-declare.ll +++ b/llvm/test/Transforms/InstCombine/salvage-dbg-declare.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S -o - %s | FileCheck %s +; RUN: opt -passes=instcombine -S -o - %s | FileCheck %s declare dso_local i32 @bar(i8*) diff --git a/llvm/test/Transforms/InstCombine/scalable-bitcast-inseltpoison.ll b/llvm/test/Transforms/InstCombine/scalable-bitcast-inseltpoison.ll index 6c6f770add1d..ee4861046f4b 100644 --- a/llvm/test/Transforms/InstCombine/scalable-bitcast-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/scalable-bitcast-inseltpoison.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; We shouldn't fold bitcast(insert .., iX %val, i32 0) ; into bitcast(iX %val) for scalable vectors. diff --git a/llvm/test/Transforms/InstCombine/scalable-bitcast.ll b/llvm/test/Transforms/InstCombine/scalable-bitcast.ll index d6980b9d7406..6fc2fb19bfa7 100644 --- a/llvm/test/Transforms/InstCombine/scalable-bitcast.ll +++ b/llvm/test/Transforms/InstCombine/scalable-bitcast.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; We shouldn't fold bitcast(insert .., iX %val, i32 0) ; into bitcast(iX %val) for scalable vectors. diff --git a/llvm/test/Transforms/InstCombine/scalable-cast-of-alloc.ll b/llvm/test/Transforms/InstCombine/scalable-cast-of-alloc.ll index 36543727f515..e3c9760ebd53 100644 --- a/llvm/test/Transforms/InstCombine/scalable-cast-of-alloc.ll +++ b/llvm/test/Transforms/InstCombine/scalable-cast-of-alloc.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s define void @fixed_array16i32_to_scalable4i32(* %out) { ; CHECK-LABEL: @fixed_array16i32_to_scalable4i32( diff --git a/llvm/test/Transforms/InstCombine/scalable-const-fp-splat.ll b/llvm/test/Transforms/InstCombine/scalable-const-fp-splat.ll index feb41248f7f2..b3b20609296d 100644 --- a/llvm/test/Transforms/InstCombine/scalable-const-fp-splat.ll +++ b/llvm/test/Transforms/InstCombine/scalable-const-fp-splat.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S -o - < %s | FileCheck %s +; RUN: opt -passes=instcombine -S -o - < %s | FileCheck %s define @shrink_splat_scalable_extend( %a) { ; CHECK-LABEL: @shrink_splat_scalable_extend diff --git a/llvm/test/Transforms/InstCombine/scalable-select.ll b/llvm/test/Transforms/InstCombine/scalable-select.ll index 18370ad76d30..5dba48ea34c4 100644 --- a/llvm/test/Transforms/InstCombine/scalable-select.ll +++ b/llvm/test/Transforms/InstCombine/scalable-select.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; This test checks a regression in the select operand folding combine, in which ; Constant::getUniqueInteger would crash for a scalable-vector zeroinitializer. diff --git a/llvm/test/Transforms/InstCombine/scalable-trunc.ll b/llvm/test/Transforms/InstCombine/scalable-trunc.ll index 0d9a4c9cdc26..5804d7c31701 100644 --- a/llvm/test/Transforms/InstCombine/scalable-trunc.ll +++ b/llvm/test/Transforms/InstCombine/scalable-trunc.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s define void @trunc_nxv2i64_to_nxv2i32(i32* %ptr, %v) { ; CHECK-LABEL: @trunc_nxv2i64_to_nxv2i32( diff --git a/llvm/test/Transforms/InstCombine/scalarization-inseltpoison.ll b/llvm/test/Transforms/InstCombine/scalarization-inseltpoison.ll index 37ef88499f49..43800361f7c5 100644 --- a/llvm/test/Transforms/InstCombine/scalarization-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/scalarization-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s define i32 @extract_load(<4 x i32>* %p) { ; diff --git a/llvm/test/Transforms/InstCombine/scalarization.ll b/llvm/test/Transforms/InstCombine/scalarization.ll index d098ed78a6d9..7fda07b92592 100644 --- a/llvm/test/Transforms/InstCombine/scalarization.ll +++ b/llvm/test/Transforms/InstCombine/scalarization.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s define i32 @extract_load(<4 x i32>* %p) { ; diff --git a/llvm/test/Transforms/InstCombine/sdiv-2.ll b/llvm/test/Transforms/InstCombine/sdiv-2.ll index 0e4c00802010..e7d7a1ac9da2 100644 --- a/llvm/test/Transforms/InstCombine/sdiv-2.ll +++ b/llvm/test/Transforms/InstCombine/sdiv-2.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output ; PR3144 define fastcc i32 @func(i32 %length) nounwind { diff --git a/llvm/test/Transforms/InstCombine/sdiv-canonicalize.ll b/llvm/test/Transforms/InstCombine/sdiv-canonicalize.ll index b2a7a0da6cb5..3f8fdda9efc0 100644 --- a/llvm/test/Transforms/InstCombine/sdiv-canonicalize.ll +++ b/llvm/test/Transforms/InstCombine/sdiv-canonicalize.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use(i32) declare i32 @llvm.abs.i32(i32, i1) diff --git a/llvm/test/Transforms/InstCombine/sdiv-exact-by-negative-power-of-two.ll b/llvm/test/Transforms/InstCombine/sdiv-exact-by-negative-power-of-two.ll index 9c88d1220625..ca567c6279f0 100644 --- a/llvm/test/Transforms/InstCombine/sdiv-exact-by-negative-power-of-two.ll +++ b/llvm/test/Transforms/InstCombine/sdiv-exact-by-negative-power-of-two.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Fold ; x s/EXACT (-1 << y) diff --git a/llvm/test/Transforms/InstCombine/sdiv-exact-by-power-of-two.ll b/llvm/test/Transforms/InstCombine/sdiv-exact-by-power-of-two.ll index 09c9a039fc59..8b41ec0d6226 100644 --- a/llvm/test/Transforms/InstCombine/sdiv-exact-by-power-of-two.ll +++ b/llvm/test/Transforms/InstCombine/sdiv-exact-by-power-of-two.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Fold ; x s/EXACT (1 << y) diff --git a/llvm/test/Transforms/InstCombine/sdiv-guard.ll b/llvm/test/Transforms/InstCombine/sdiv-guard.ll index 0f19303b824d..85eb11b09eae 100644 --- a/llvm/test/Transforms/InstCombine/sdiv-guard.ll +++ b/llvm/test/Transforms/InstCombine/sdiv-guard.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @llvm.experimental.guard(i1, ...) diff --git a/llvm/test/Transforms/InstCombine/sdiv-of-non-negative-by-negative-power-of-two.ll b/llvm/test/Transforms/InstCombine/sdiv-of-non-negative-by-negative-power-of-two.ll index f8c3dff19588..91c690e88ee5 100644 --- a/llvm/test/Transforms/InstCombine/sdiv-of-non-negative-by-negative-power-of-two.ll +++ b/llvm/test/Transforms/InstCombine/sdiv-of-non-negative-by-negative-power-of-two.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Fold ; x s/ (-1 << y) diff --git a/llvm/test/Transforms/InstCombine/select-2.ll b/llvm/test/Transforms/InstCombine/select-2.ll index a46c470f4701..b6fe9a16cdc0 100644 --- a/llvm/test/Transforms/InstCombine/select-2.ll +++ b/llvm/test/Transforms/InstCombine/select-2.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Make sure instcombine don't fold select into operands. We don't want to emit ; select of two integers unless it's selecting 0 / 1. diff --git a/llvm/test/Transforms/InstCombine/select-and-or.ll b/llvm/test/Transforms/InstCombine/select-and-or.ll index 8cd473525aeb..b1920b716dd5 100644 --- a/llvm/test/Transforms/InstCombine/select-and-or.ll +++ b/llvm/test/Transforms/InstCombine/select-and-or.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s declare void @use(i1) diff --git a/llvm/test/Transforms/InstCombine/select-binop-cmp.ll b/llvm/test/Transforms/InstCombine/select-binop-cmp.ll index 3d1c41d6336e..b17ca75d248f 100644 --- a/llvm/test/Transforms/InstCombine/select-binop-cmp.ll +++ b/llvm/test/Transforms/InstCombine/select-binop-cmp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use(<2 x i1>) declare void @use2(i1) diff --git a/llvm/test/Transforms/InstCombine/select-binop-foldable-floating-point.ll b/llvm/test/Transforms/InstCombine/select-binop-foldable-floating-point.ll index 0dfd116d5621..b65bf26455d2 100644 --- a/llvm/test/Transforms/InstCombine/select-binop-foldable-floating-point.ll +++ b/llvm/test/Transforms/InstCombine/select-binop-foldable-floating-point.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define float @select_fadd(i1 %cond, float %A, float %B) { ; CHECK-LABEL: @select_fadd( diff --git a/llvm/test/Transforms/InstCombine/select-bitext-bitwise-ops.ll b/llvm/test/Transforms/InstCombine/select-bitext-bitwise-ops.ll index d05f7245e691..27de0f772368 100644 --- a/llvm/test/Transforms/InstCombine/select-bitext-bitwise-ops.ll +++ b/llvm/test/Transforms/InstCombine/select-bitext-bitwise-ops.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s define i64 @sel_false_val_is_a_masked_shl_of_true_val1(i32 %x, i64 %y) { ; CHECK-LABEL: @sel_false_val_is_a_masked_shl_of_true_val1( diff --git a/llvm/test/Transforms/InstCombine/select-bitext.ll b/llvm/test/Transforms/InstCombine/select-bitext.ll index cb8cdb79bc8d..43ab24962293 100644 --- a/llvm/test/Transforms/InstCombine/select-bitext.ll +++ b/llvm/test/Transforms/InstCombine/select-bitext.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use32(i32) diff --git a/llvm/test/Transforms/InstCombine/select-cmp-br.ll b/llvm/test/Transforms/InstCombine/select-cmp-br.ll index f34df20e7c92..222e7a3e69da 100644 --- a/llvm/test/Transforms/InstCombine/select-cmp-br.ll +++ b/llvm/test/Transforms/InstCombine/select-cmp-br.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Replace a 'select' with 'or' in 'select - cmp [eq|ne] - br' sequence -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s %struct.S = type { i64*, i32, i32 } %C = type <{ %struct.S }> diff --git a/llvm/test/Transforms/InstCombine/select-cmp-cttz-ctlz.ll b/llvm/test/Transforms/InstCombine/select-cmp-cttz-ctlz.ll index 9c2af9f14d14..bfe06b17f482 100644 --- a/llvm/test/Transforms/InstCombine/select-cmp-cttz-ctlz.ll +++ b/llvm/test/Transforms/InstCombine/select-cmp-cttz-ctlz.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; This test is to verify that the instruction combiner is able to fold ; a cttz/ctlz followed by a icmp + select into a single cttz/ctlz with diff --git a/llvm/test/Transforms/InstCombine/select-cmpxchg.ll b/llvm/test/Transforms/InstCombine/select-cmpxchg.ll index d14fcad861fe..906dfb57c764 100644 --- a/llvm/test/Transforms/InstCombine/select-cmpxchg.ll +++ b/llvm/test/Transforms/InstCombine/select-cmpxchg.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i64 @cmpxchg_0(i64* %ptr, i64 %compare, i64 %new_value) { ; CHECK-LABEL: @cmpxchg_0( diff --git a/llvm/test/Transforms/InstCombine/select-crash-noverify.ll b/llvm/test/Transforms/InstCombine/select-crash-noverify.ll index aa018db5076c..974dd73c2c1e 100644 --- a/llvm/test/Transforms/InstCombine/select-crash-noverify.ll +++ b/llvm/test/Transforms/InstCombine/select-crash-noverify.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -disable-verify -instcombine -S | opt -S | FileCheck %s +; RUN: opt < %s -disable-verify -passes=instcombine -S | opt -S | FileCheck %s ; Formerly crashed, PR8490. ; CHECK-LABEL: @test3( diff --git a/llvm/test/Transforms/InstCombine/select-crash.ll b/llvm/test/Transforms/InstCombine/select-crash.ll index 9de338d95208..d5689c2ea6d8 100644 --- a/llvm/test/Transforms/InstCombine/select-crash.ll +++ b/llvm/test/Transforms/InstCombine/select-crash.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Formerly crashed, PR8490. define fastcc double @gimp_operation_color_balance_map(float %value, double %highlights) nounwind readnone inlinehint { diff --git a/llvm/test/Transforms/InstCombine/select-ctlz-to-cttz.ll b/llvm/test/Transforms/InstCombine/select-ctlz-to-cttz.ll index 3e704aec015f..7cabfcca06ac 100644 --- a/llvm/test/Transforms/InstCombine/select-ctlz-to-cttz.ll +++ b/llvm/test/Transforms/InstCombine/select-ctlz-to-cttz.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s declare i3 @llvm.cttz.i3(i3, i1) declare i32 @llvm.cttz.i32(i32, i1 immarg) diff --git a/llvm/test/Transforms/InstCombine/select-extractelement-inseltpoison.ll b/llvm/test/Transforms/InstCombine/select-extractelement-inseltpoison.ll index 5be2dd2b1d3c..ec822f8952fe 100644 --- a/llvm/test/Transforms/InstCombine/select-extractelement-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/select-extractelement-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s declare void @v4float_user(<4 x float>) #0 diff --git a/llvm/test/Transforms/InstCombine/select-extractelement.ll b/llvm/test/Transforms/InstCombine/select-extractelement.ll index 9206e039574e..bc88142b854e 100644 --- a/llvm/test/Transforms/InstCombine/select-extractelement.ll +++ b/llvm/test/Transforms/InstCombine/select-extractelement.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s declare void @v4float_user(<4 x float>) #0 diff --git a/llvm/test/Transforms/InstCombine/select-gep.ll b/llvm/test/Transforms/InstCombine/select-gep.ll index fd2beff5bfab..f449a5133b04 100644 --- a/llvm/test/Transforms/InstCombine/select-gep.ll +++ b/llvm/test/Transforms/InstCombine/select-gep.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32* @test1a(i32* %p, i32* %q) { ; CHECK-LABEL: @test1a( diff --git a/llvm/test/Transforms/InstCombine/select-icmp-and.ll b/llvm/test/Transforms/InstCombine/select-icmp-and.ll index 0c185bca1710..9dd19bbc6a94 100644 --- a/llvm/test/Transforms/InstCombine/select-icmp-and.ll +++ b/llvm/test/Transforms/InstCombine/select-icmp-and.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ;; ((X & 27) ? 27 : 0) diff --git a/llvm/test/Transforms/InstCombine/select-imm-canon.ll b/llvm/test/Transforms/InstCombine/select-imm-canon.ll index fec6d693954a..bbf8c3a8bd8d 100644 --- a/llvm/test/Transforms/InstCombine/select-imm-canon.ll +++ b/llvm/test/Transforms/InstCombine/select-imm-canon.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -instcombine-infinite-loop-threshold=2 -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -instcombine-infinite-loop-threshold=2 -S | FileCheck %s define i8 @single(i32 %A) { ; CHECK-LABEL: @single( diff --git a/llvm/test/Transforms/InstCombine/select-load-call.ll b/llvm/test/Transforms/InstCombine/select-load-call.ll index ad0ef4f85eb2..a9a5d638065e 100644 --- a/llvm/test/Transforms/InstCombine/select-load-call.ll +++ b/llvm/test/Transforms/InstCombine/select-load-call.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "ret i32 1" +; RUN: opt < %s -passes=instcombine -S | grep "ret i32 1" declare void @test2() diff --git a/llvm/test/Transforms/InstCombine/select-masked_load.ll b/llvm/test/Transforms/InstCombine/select-masked_load.ll index 3187a9e5bf65..1fde6ec60d86 100644 --- a/llvm/test/Transforms/InstCombine/select-masked_load.ll +++ b/llvm/test/Transforms/InstCombine/select-masked_load.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Fold zeroing of inactive lanes into the load's passthrough parameter. define <4 x float> @masked_load_and_zero_inactive_1(<4 x float>* %ptr, <4 x i1> %mask) { diff --git a/llvm/test/Transforms/InstCombine/select-min-max.ll b/llvm/test/Transforms/InstCombine/select-min-max.ll index caf0f7320d94..d4deb2b56e03 100644 --- a/llvm/test/Transforms/InstCombine/select-min-max.ll +++ b/llvm/test/Transforms/InstCombine/select-min-max.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare i5 @llvm.smin.i5(i5, i5) declare <2 x i8> @llvm.smax.v2i8(<2 x i8>, <2 x i8>) diff --git a/llvm/test/Transforms/InstCombine/select-obo-peo-ops.ll b/llvm/test/Transforms/InstCombine/select-obo-peo-ops.ll index 54c1d0f548c0..82ef5d7ae501 100644 --- a/llvm/test/Transforms/InstCombine/select-obo-peo-ops.ll +++ b/llvm/test/Transforms/InstCombine/select-obo-peo-ops.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s define i64 @test_shl_nuw_nsw__all_are_safe(i32 %x, i64 %y) { ; CHECK-LABEL: @test_shl_nuw_nsw__all_are_safe( diff --git a/llvm/test/Transforms/InstCombine/select-of-bittest.ll b/llvm/test/Transforms/InstCombine/select-of-bittest.ll index c85bcba82e97..ada07d670ee6 100644 --- a/llvm/test/Transforms/InstCombine/select-of-bittest.ll +++ b/llvm/test/Transforms/InstCombine/select-of-bittest.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=36950 diff --git a/llvm/test/Transforms/InstCombine/select-pr39595.ll b/llvm/test/Transforms/InstCombine/select-pr39595.ll index aefafbf4082f..b9ad1f01abad 100644 --- a/llvm/test/Transforms/InstCombine/select-pr39595.ll +++ b/llvm/test/Transforms/InstCombine/select-pr39595.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @foo(i32 %x, i32 %y) { ; CHECK-LABEL: foo diff --git a/llvm/test/Transforms/InstCombine/select-safe-bool-transforms.ll b/llvm/test/Transforms/InstCombine/select-safe-bool-transforms.ll index fef4081c0bb6..3b7080d55f73 100644 --- a/llvm/test/Transforms/InstCombine/select-safe-bool-transforms.ll +++ b/llvm/test/Transforms/InstCombine/select-safe-bool-transforms.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; TODO: All of these should be optimized to less than or equal to a single ; instruction of select/and/or. diff --git a/llvm/test/Transforms/InstCombine/select-safe-impliedcond-transforms.ll b/llvm/test/Transforms/InstCombine/select-safe-impliedcond-transforms.ll index 19e1682adac3..4b66b7177368 100644 --- a/llvm/test/Transforms/InstCombine/select-safe-impliedcond-transforms.ll +++ b/llvm/test/Transforms/InstCombine/select-safe-impliedcond-transforms.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i1 @a_true_implies_b_true(i8 %z, i1 %X, i1 %Y) { ; CHECK-LABEL: @a_true_implies_b_true( diff --git a/llvm/test/Transforms/InstCombine/select-safe-transforms.ll b/llvm/test/Transforms/InstCombine/select-safe-transforms.ll index 3f2e599ccbad..f8c5bb88bb4e 100644 --- a/llvm/test/Transforms/InstCombine/select-safe-transforms.ll +++ b/llvm/test/Transforms/InstCombine/select-safe-transforms.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i1 @cond_eq_and(i8 %X, i8 %Y, i8 noundef %C) { ; CHECK-LABEL: @cond_eq_and( diff --git a/llvm/test/Transforms/InstCombine/select-select.ll b/llvm/test/Transforms/InstCombine/select-select.ll index f6662763012f..8cb7cc8a98e3 100644 --- a/llvm/test/Transforms/InstCombine/select-select.ll +++ b/llvm/test/Transforms/InstCombine/select-select.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s define float @foo1(float %a) { ; CHECK-LABEL: @foo1( diff --git a/llvm/test/Transforms/InstCombine/select-with-bitwise-ops.ll b/llvm/test/Transforms/InstCombine/select-with-bitwise-ops.ll index c3aed936dbe9..27b56e7851d3 100644 --- a/llvm/test/Transforms/InstCombine/select-with-bitwise-ops.ll +++ b/llvm/test/Transforms/InstCombine/select-with-bitwise-ops.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "n8:16:32:64" diff --git a/llvm/test/Transforms/InstCombine/select.ll b/llvm/test/Transforms/InstCombine/select.ll index be47e8b1480e..116a724649c7 100644 --- a/llvm/test/Transforms/InstCombine/select.ll +++ b/llvm/test/Transforms/InstCombine/select.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; PR1822 diff --git a/llvm/test/Transforms/InstCombine/select_arithmetic.ll b/llvm/test/Transforms/InstCombine/select_arithmetic.ll index 535e62a3c74c..7cdfdcd51cfa 100644 --- a/llvm/test/Transforms/InstCombine/select_arithmetic.ll +++ b/llvm/test/Transforms/InstCombine/select_arithmetic.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Transforms/InstCombine/select_meta.ll b/llvm/test/Transforms/InstCombine/select_meta.ll index 66aece44c199..a337ff491184 100644 --- a/llvm/test/Transforms/InstCombine/select_meta.ll +++ b/llvm/test/Transforms/InstCombine/select_meta.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; and enhanced to include metadata checking. -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @foo(i32) local_unnamed_addr #0 { ; CHECK-LABEL: @foo( diff --git a/llvm/test/Transforms/InstCombine/set-lowbits-mask-canonicalize.ll b/llvm/test/Transforms/InstCombine/set-lowbits-mask-canonicalize.ll index 99ec45098380..2476406b6bde 100644 --- a/llvm/test/Transforms/InstCombine/set-lowbits-mask-canonicalize.ll +++ b/llvm/test/Transforms/InstCombine/set-lowbits-mask-canonicalize.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; https://bugs.llvm.org/show_bug.cgi?id=37603 diff --git a/llvm/test/Transforms/InstCombine/set.ll b/llvm/test/Transforms/InstCombine/set.ll index bc2cdb7c469e..55ea762c5bd5 100644 --- a/llvm/test/Transforms/InstCombine/set.ll +++ b/llvm/test/Transforms/InstCombine/set.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; This test makes sure that all icmp instructions are eliminated. -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s @X = external global i32 diff --git a/llvm/test/Transforms/InstCombine/setcc-strength-reduce.ll b/llvm/test/Transforms/InstCombine/setcc-strength-reduce.ll index 138712e5a9b6..8109445f5f8b 100644 --- a/llvm/test/Transforms/InstCombine/setcc-strength-reduce.ll +++ b/llvm/test/Transforms/InstCombine/setcc-strength-reduce.ll @@ -2,7 +2,7 @@ ; working. Basically this boils down to converting setlt,gt,le,ge instructions ; into equivalent setne,eq instructions. ; -; RUN: opt < %s -instcombine -S | \ +; RUN: opt < %s -passes=instcombine -S | \ ; RUN: grep -v "icmp eq" | grep -v "icmp ne" | not grep icmp ; END. diff --git a/llvm/test/Transforms/InstCombine/sext-of-trunc-nsw.ll b/llvm/test/Transforms/InstCombine/sext-of-trunc-nsw.ll index c2211deb6aa2..5b9334ab93cb 100644 --- a/llvm/test/Transforms/InstCombine/sext-of-trunc-nsw.ll +++ b/llvm/test/Transforms/InstCombine/sext-of-trunc-nsw.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Iff we know that trunc only chops off the sign bits, ; and not all of them, then we can bypass said trunc diff --git a/llvm/test/Transforms/InstCombine/sext.ll b/llvm/test/Transforms/InstCombine/sext.ll index 1240b69173d7..f8ffa9beccd3 100644 --- a/llvm/test/Transforms/InstCombine/sext.ll +++ b/llvm/test/Transforms/InstCombine/sext.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" diff --git a/llvm/test/Transforms/InstCombine/shift-add-inseltpoison.ll b/llvm/test/Transforms/InstCombine/shift-add-inseltpoison.ll index f5d14c4b0107..0fca3dd504bc 100644 --- a/llvm/test/Transforms/InstCombine/shift-add-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/shift-add-inseltpoison.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; This test makes sure that these instructions are properly eliminated. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @shl_C1_add_A_C2_i32(i16 %A) { ; CHECK-LABEL: @shl_C1_add_A_C2_i32( diff --git a/llvm/test/Transforms/InstCombine/shift-add.ll b/llvm/test/Transforms/InstCombine/shift-add.ll index b6935e97f6d0..858f67bcc1cf 100644 --- a/llvm/test/Transforms/InstCombine/shift-add.ll +++ b/llvm/test/Transforms/InstCombine/shift-add.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; This test makes sure that these instructions are properly eliminated. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @shl_C1_add_A_C2_i32(i16 %A) { ; CHECK-LABEL: @shl_C1_add_A_C2_i32( diff --git a/llvm/test/Transforms/InstCombine/shift-amount-reassociation-in-bittest-with-truncation-lshr.ll b/llvm/test/Transforms/InstCombine/shift-amount-reassociation-in-bittest-with-truncation-lshr.ll index 0180828a9355..28cf9737c640 100644 --- a/llvm/test/Transforms/InstCombine/shift-amount-reassociation-in-bittest-with-truncation-lshr.ll +++ b/llvm/test/Transforms/InstCombine/shift-amount-reassociation-in-bittest-with-truncation-lshr.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Given pattern: ; icmp eq/ne (and ((x shift Q), (y oppositeshift K))), 0 diff --git a/llvm/test/Transforms/InstCombine/shift-amount-reassociation-in-bittest-with-truncation-shl.ll b/llvm/test/Transforms/InstCombine/shift-amount-reassociation-in-bittest-with-truncation-shl.ll index eb5b8eea08d4..b33bda4c10ba 100644 --- a/llvm/test/Transforms/InstCombine/shift-amount-reassociation-in-bittest-with-truncation-shl.ll +++ b/llvm/test/Transforms/InstCombine/shift-amount-reassociation-in-bittest-with-truncation-shl.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Given pattern: ; icmp eq/ne (and ((x shift Q), (y oppositeshift K))), 0 diff --git a/llvm/test/Transforms/InstCombine/shift-amount-reassociation-in-bittest.ll b/llvm/test/Transforms/InstCombine/shift-amount-reassociation-in-bittest.ll index bcf5d46ad974..125b888248f3 100644 --- a/llvm/test/Transforms/InstCombine/shift-amount-reassociation-in-bittest.ll +++ b/llvm/test/Transforms/InstCombine/shift-amount-reassociation-in-bittest.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Given pattern: ; icmp eq/ne (and ((x shift Q), (y oppositeshift K))), 0 diff --git a/llvm/test/Transforms/InstCombine/shift-amount-reassociation-with-truncation-ashr.ll b/llvm/test/Transforms/InstCombine/shift-amount-reassociation-with-truncation-ashr.ll index 944d443733ab..6c0c6ee0f19d 100644 --- a/llvm/test/Transforms/InstCombine/shift-amount-reassociation-with-truncation-ashr.ll +++ b/llvm/test/Transforms/InstCombine/shift-amount-reassociation-with-truncation-ashr.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Given pattern: ; (trunc (iSrc x a>> Q) to iDst) a>> K diff --git a/llvm/test/Transforms/InstCombine/shift-amount-reassociation-with-truncation-lshr.ll b/llvm/test/Transforms/InstCombine/shift-amount-reassociation-with-truncation-lshr.ll index 1d88d4d1625d..c257f817684c 100644 --- a/llvm/test/Transforms/InstCombine/shift-amount-reassociation-with-truncation-lshr.ll +++ b/llvm/test/Transforms/InstCombine/shift-amount-reassociation-with-truncation-lshr.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Given pattern: ; (trunc (iSrc x l>> Q) to iDst) l>> K diff --git a/llvm/test/Transforms/InstCombine/shift-amount-reassociation-with-truncation-shl.ll b/llvm/test/Transforms/InstCombine/shift-amount-reassociation-with-truncation-shl.ll index 798e5d6dc509..1fe051790b2e 100644 --- a/llvm/test/Transforms/InstCombine/shift-amount-reassociation-with-truncation-shl.ll +++ b/llvm/test/Transforms/InstCombine/shift-amount-reassociation-with-truncation-shl.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "n8:16:32" diff --git a/llvm/test/Transforms/InstCombine/shift-amount-reassociation.ll b/llvm/test/Transforms/InstCombine/shift-amount-reassociation.ll index 8c757db6080a..d26c127f4be7 100644 --- a/llvm/test/Transforms/InstCombine/shift-amount-reassociation.ll +++ b/llvm/test/Transforms/InstCombine/shift-amount-reassociation.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Given pattern: ; (x shiftopcode Q) shiftopcode K diff --git a/llvm/test/Transforms/InstCombine/shift-by-signext.ll b/llvm/test/Transforms/InstCombine/shift-by-signext.ll index a24fd04f2a66..8e1445803c3d 100644 --- a/llvm/test/Transforms/InstCombine/shift-by-signext.ll +++ b/llvm/test/Transforms/InstCombine/shift-by-signext.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have a shift by sign-extended value, we can replace sign-extension ; with zero-extension. diff --git a/llvm/test/Transforms/InstCombine/shift-direction-in-bit-test.ll b/llvm/test/Transforms/InstCombine/shift-direction-in-bit-test.ll index 2969edf505a1..455cc6fe3f9d 100644 --- a/llvm/test/Transforms/InstCombine/shift-direction-in-bit-test.ll +++ b/llvm/test/Transforms/InstCombine/shift-direction-in-bit-test.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; The pattern: ; icmp eq/ne (and (X shift Y), Z), 0 diff --git a/llvm/test/Transforms/InstCombine/shift-logic.ll b/llvm/test/Transforms/InstCombine/shift-logic.ll index 437bc1688be4..5f4b981df7dc 100644 --- a/llvm/test/Transforms/InstCombine/shift-logic.ll +++ b/llvm/test/Transforms/InstCombine/shift-logic.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i8 @shl_and(i8 %x, i8 %y) { ; CHECK-LABEL: @shl_and( diff --git a/llvm/test/Transforms/InstCombine/shift-shift.ll b/llvm/test/Transforms/InstCombine/shift-shift.ll index 7c6618ffaa20..6ce89723ace8 100644 --- a/llvm/test/Transforms/InstCombine/shift-shift.ll +++ b/llvm/test/Transforms/InstCombine/shift-shift.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use8(i8) declare void @use32(i32) diff --git a/llvm/test/Transforms/InstCombine/shift-sra.ll b/llvm/test/Transforms/InstCombine/shift-sra.ll index 4c28e878bbed..cf7e39840c84 100644 --- a/llvm/test/Transforms/InstCombine/shift-sra.ll +++ b/llvm/test/Transforms/InstCombine/shift-sra.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @test1(i32 %X, i8 %A) { diff --git a/llvm/test/Transforms/InstCombine/shift.ll b/llvm/test/Transforms/InstCombine/shift.ll index d165c687849c..491f9a73500a 100644 --- a/llvm/test/Transforms/InstCombine/shift.ll +++ b/llvm/test/Transforms/InstCombine/shift.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define <4 x i32> @lshr_non_splat_vector(<4 x i32> %A) { ; CHECK-LABEL: @lshr_non_splat_vector( diff --git a/llvm/test/Transforms/InstCombine/shl-and-negC-icmpeq-zero.ll b/llvm/test/Transforms/InstCombine/shl-and-negC-icmpeq-zero.ll index 567c369c3acf..f5430f6ad005 100644 --- a/llvm/test/Transforms/InstCombine/shl-and-negC-icmpeq-zero.ll +++ b/llvm/test/Transforms/InstCombine/shl-and-negC-icmpeq-zero.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; For pattern ((X << Y) & ~C) ==/!= 0; when C+1 is power of 2 ; it may be optimal to fold into (X << Y) = C+1 diff --git a/llvm/test/Transforms/InstCombine/shl-and-signbit-icmpeq-zero.ll b/llvm/test/Transforms/InstCombine/shl-and-signbit-icmpeq-zero.ll index c1a50a69a9a8..a31e07b756ef 100644 --- a/llvm/test/Transforms/InstCombine/shl-and-signbit-icmpeq-zero.ll +++ b/llvm/test/Transforms/InstCombine/shl-and-signbit-icmpeq-zero.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; For pattern ((X << Y) & signbit) ==/!= 0 ; it may be optimal to fold into (X << Y) >=/< 0 diff --git a/llvm/test/Transforms/InstCombine/shl-bo.ll b/llvm/test/Transforms/InstCombine/shl-bo.ll index 5bdc22671ed7..5f59b37c81de 100644 --- a/llvm/test/Transforms/InstCombine/shl-bo.ll +++ b/llvm/test/Transforms/InstCombine/shl-bo.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use(i8) diff --git a/llvm/test/Transforms/InstCombine/shl-demand.ll b/llvm/test/Transforms/InstCombine/shl-demand.ll index eca81cebe5cd..85752890b4b8 100644 --- a/llvm/test/Transforms/InstCombine/shl-demand.ll +++ b/llvm/test/Transforms/InstCombine/shl-demand.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s define i16 @sext_shl_trunc_same_size(i16 %x, i32 %y) { ; CHECK-LABEL: @sext_shl_trunc_same_size( diff --git a/llvm/test/Transforms/InstCombine/shl-factor.ll b/llvm/test/Transforms/InstCombine/shl-factor.ll index 37c54cc8f995..38eecaeff8e4 100644 --- a/llvm/test/Transforms/InstCombine/shl-factor.ll +++ b/llvm/test/Transforms/InstCombine/shl-factor.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use8(i8) diff --git a/llvm/test/Transforms/InstCombine/shl-sub.ll b/llvm/test/Transforms/InstCombine/shl-sub.ll index f9c97c7d8d0f..03b9a03a370e 100644 --- a/llvm/test/Transforms/InstCombine/shl-sub.ll +++ b/llvm/test/Transforms/InstCombine/shl-sub.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s declare void @use(i32) diff --git a/llvm/test/Transforms/InstCombine/shl-unsigned-cmp-const.ll b/llvm/test/Transforms/InstCombine/shl-unsigned-cmp-const.ll index db51ccf40d8b..103e9d111aa7 100644 --- a/llvm/test/Transforms/InstCombine/shl-unsigned-cmp-const.ll +++ b/llvm/test/Transforms/InstCombine/shl-unsigned-cmp-const.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Simplify 'shl' inequality test into 'and' equality test. ; (X l<< C2) u= C1 iff C1 is power of 2 -> X & (-C1 l>> C2) ==/!= 0 diff --git a/llvm/test/Transforms/InstCombine/should-change-type.ll b/llvm/test/Transforms/InstCombine/should-change-type.ll index f825de1907f1..a1db41a2b547 100644 --- a/llvm/test/Transforms/InstCombine/should-change-type.ll +++ b/llvm/test/Transforms/InstCombine/should-change-type.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "n64" ; Tests for removing zext/trunc from/to i8, i16 and i32, even if it is diff --git a/llvm/test/Transforms/InstCombine/shuffle-cast-dist.ll b/llvm/test/Transforms/InstCombine/shuffle-cast-dist.ll index 36d2834d3e12..702ef9c7a74a 100644 --- a/llvm/test/Transforms/InstCombine/shuffle-cast-dist.ll +++ b/llvm/test/Transforms/InstCombine/shuffle-cast-dist.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define <2 x float> @vtrn1(<2 x i32> %v) ; CHECK-LABEL: @vtrn1( diff --git a/llvm/test/Transforms/InstCombine/shuffle-cast-inseltpoison.ll b/llvm/test/Transforms/InstCombine/shuffle-cast-inseltpoison.ll index bdb3b74b5d20..03f5f22d87ed 100644 --- a/llvm/test/Transforms/InstCombine/shuffle-cast-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/shuffle-cast-inseltpoison.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S -data-layout="e" | FileCheck %s --check-prefixes=ANY,LE -; RUN: opt < %s -instcombine -S -data-layout="E" | FileCheck %s --check-prefixes=ANY,BE +; RUN: opt < %s -passes=instcombine -S -data-layout="e" | FileCheck %s --check-prefixes=ANY,LE +; RUN: opt < %s -passes=instcombine -S -data-layout="E" | FileCheck %s --check-prefixes=ANY,BE define <4 x i16> @trunc_little_endian(<4 x i32> %x) { ; LE-LABEL: @trunc_little_endian( diff --git a/llvm/test/Transforms/InstCombine/shuffle-cast.ll b/llvm/test/Transforms/InstCombine/shuffle-cast.ll index fc3b4c1241a0..677b9b057cdc 100644 --- a/llvm/test/Transforms/InstCombine/shuffle-cast.ll +++ b/llvm/test/Transforms/InstCombine/shuffle-cast.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S -data-layout="e" | FileCheck %s --check-prefixes=ANY,LE -; RUN: opt < %s -instcombine -S -data-layout="E" | FileCheck %s --check-prefixes=ANY,BE +; RUN: opt < %s -passes=instcombine -S -data-layout="e" | FileCheck %s --check-prefixes=ANY,LE +; RUN: opt < %s -passes=instcombine -S -data-layout="E" | FileCheck %s --check-prefixes=ANY,BE define <4 x i16> @trunc_little_endian(<4 x i32> %x) { ; LE-LABEL: @trunc_little_endian( diff --git a/llvm/test/Transforms/InstCombine/shuffle-select-narrow-inseltpoison.ll b/llvm/test/Transforms/InstCombine/shuffle-select-narrow-inseltpoison.ll index 2a2c0efe036d..acf7f28e1c63 100644 --- a/llvm/test/Transforms/InstCombine/shuffle-select-narrow-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/shuffle-select-narrow-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Narrow the select operands to eliminate the existing shuffles and replace a wide select with a narrow select. diff --git a/llvm/test/Transforms/InstCombine/shuffle-select-narrow.ll b/llvm/test/Transforms/InstCombine/shuffle-select-narrow.ll index d1530fb682d0..9b265c3d8f1e 100644 --- a/llvm/test/Transforms/InstCombine/shuffle-select-narrow.ll +++ b/llvm/test/Transforms/InstCombine/shuffle-select-narrow.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Narrow the select operands to eliminate the existing shuffles and replace a wide select with a narrow select. diff --git a/llvm/test/Transforms/InstCombine/shuffle_select-inseltpoison.ll b/llvm/test/Transforms/InstCombine/shuffle_select-inseltpoison.ll index 480594d7c993..6a67aa885353 100644 --- a/llvm/test/Transforms/InstCombine/shuffle_select-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/shuffle_select-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Try to eliminate binops and shuffles when the shuffle is a select in disguise: ; PR37806 - https://bugs.llvm.org/show_bug.cgi?id=37806 diff --git a/llvm/test/Transforms/InstCombine/shuffle_select.ll b/llvm/test/Transforms/InstCombine/shuffle_select.ll index 986dbeef1aab..1f0d60a82697 100644 --- a/llvm/test/Transforms/InstCombine/shuffle_select.ll +++ b/llvm/test/Transforms/InstCombine/shuffle_select.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Try to eliminate binops and shuffles when the shuffle is a select in disguise: ; PR37806 - https://bugs.llvm.org/show_bug.cgi?id=37806 diff --git a/llvm/test/Transforms/InstCombine/shufflevec-bitcast-inseltpoison.ll b/llvm/test/Transforms/InstCombine/shufflevec-bitcast-inseltpoison.ll index 5326639d8aaf..0d44beb766dc 100644 --- a/llvm/test/Transforms/InstCombine/shufflevec-bitcast-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/shufflevec-bitcast-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use(<4 x i16>) diff --git a/llvm/test/Transforms/InstCombine/shufflevec-bitcast.ll b/llvm/test/Transforms/InstCombine/shufflevec-bitcast.ll index 04603a2fe1b2..dbc4395426d2 100644 --- a/llvm/test/Transforms/InstCombine/shufflevec-bitcast.ll +++ b/llvm/test/Transforms/InstCombine/shufflevec-bitcast.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use(<4 x i16>) diff --git a/llvm/test/Transforms/InstCombine/shufflevec-constant-inseltpoison.ll b/llvm/test/Transforms/InstCombine/shufflevec-constant-inseltpoison.ll index f2850569c266..967d370092d0 100644 --- a/llvm/test/Transforms/InstCombine/shufflevec-constant-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/shufflevec-constant-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" target triple = "i386-apple-darwin9" diff --git a/llvm/test/Transforms/InstCombine/shufflevec-constant.ll b/llvm/test/Transforms/InstCombine/shufflevec-constant.ll index 37efba1f5c10..9b8b678534d8 100644 --- a/llvm/test/Transforms/InstCombine/shufflevec-constant.ll +++ b/llvm/test/Transforms/InstCombine/shufflevec-constant.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" target triple = "i386-apple-darwin9" diff --git a/llvm/test/Transforms/InstCombine/shufflevector-div-rem-inseltpoison.ll b/llvm/test/Transforms/InstCombine/shufflevector-div-rem-inseltpoison.ll index 9c55bf43b5af..4e6e4928c564 100644 --- a/llvm/test/Transforms/InstCombine/shufflevector-div-rem-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/shufflevector-div-rem-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S -o - | FileCheck %s +; RUN: opt < %s -passes=instcombine -S -o - | FileCheck %s ; This test case was added as a reproducer for a miscompile, where instcombine ; introduced an diff --git a/llvm/test/Transforms/InstCombine/shufflevector-div-rem.ll b/llvm/test/Transforms/InstCombine/shufflevector-div-rem.ll index aee567a489fe..9c07f991fa43 100644 --- a/llvm/test/Transforms/InstCombine/shufflevector-div-rem.ll +++ b/llvm/test/Transforms/InstCombine/shufflevector-div-rem.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S -o - | FileCheck %s +; RUN: opt < %s -passes=instcombine -S -o - | FileCheck %s ; This test case was added as a reproducer for a miscompile, where instcombine ; introduced an diff --git a/llvm/test/Transforms/InstCombine/sign-bit-test-via-right-shifting-all-other-bits.ll b/llvm/test/Transforms/InstCombine/sign-bit-test-via-right-shifting-all-other-bits.ll index 8e89a0649ebc..d3ac6cfa9c60 100644 --- a/llvm/test/Transforms/InstCombine/sign-bit-test-via-right-shifting-all-other-bits.ll +++ b/llvm/test/Transforms/InstCombine/sign-bit-test-via-right-shifting-all-other-bits.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use32(i32) declare void @use64(i64) diff --git a/llvm/test/Transforms/InstCombine/sign-test-and-or.ll b/llvm/test/Transforms/InstCombine/sign-test-and-or.ll index 7a88fc74500a..fa0cc8e27d0c 100644 --- a/llvm/test/Transforms/InstCombine/sign-test-and-or.ll +++ b/llvm/test/Transforms/InstCombine/sign-test-and-or.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s declare void @foo() diff --git a/llvm/test/Transforms/InstCombine/signbit-lshr-and-icmpeq-zero.ll b/llvm/test/Transforms/InstCombine/signbit-lshr-and-icmpeq-zero.ll index 40089f601158..9809fecbe673 100644 --- a/llvm/test/Transforms/InstCombine/signbit-lshr-and-icmpeq-zero.ll +++ b/llvm/test/Transforms/InstCombine/signbit-lshr-and-icmpeq-zero.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; For pattern (X & (signbit l>> Y)) ==/!= 0 ; it may be optimal to fold into (X << Y) >=/< 0 diff --git a/llvm/test/Transforms/InstCombine/signbit-shl-and-icmpeq-zero.ll b/llvm/test/Transforms/InstCombine/signbit-shl-and-icmpeq-zero.ll index b0791598b56a..90f03c6a41cb 100644 --- a/llvm/test/Transforms/InstCombine/signbit-shl-and-icmpeq-zero.ll +++ b/llvm/test/Transforms/InstCombine/signbit-shl-and-icmpeq-zero.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; For pattern (X & (signbit << Y)) ==/!= 0 ; it may be optimal to fold into (X l>> Y) >=/< 0 diff --git a/llvm/test/Transforms/InstCombine/signed-comparison.ll b/llvm/test/Transforms/InstCombine/signed-comparison.ll index 1fbfc2d14633..9c80248ca2b5 100644 --- a/llvm/test/Transforms/InstCombine/signed-comparison.ll +++ b/llvm/test/Transforms/InstCombine/signed-comparison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Convert the zext+slt into a simple ult. diff --git a/llvm/test/Transforms/InstCombine/signed-mul-lack-of-overflow-check-via-mul-sdiv.ll b/llvm/test/Transforms/InstCombine/signed-mul-lack-of-overflow-check-via-mul-sdiv.ll index d2a5d5a3ddaa..fee05e901df0 100644 --- a/llvm/test/Transforms/InstCombine/signed-mul-lack-of-overflow-check-via-mul-sdiv.ll +++ b/llvm/test/Transforms/InstCombine/signed-mul-lack-of-overflow-check-via-mul-sdiv.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Fold ; ((%x * %y) s/ %x) == %y diff --git a/llvm/test/Transforms/InstCombine/signed-mul-overflow-check-via-mul-sdiv.ll b/llvm/test/Transforms/InstCombine/signed-mul-overflow-check-via-mul-sdiv.ll index f84ae67a3a0c..3d3f535f3655 100644 --- a/llvm/test/Transforms/InstCombine/signed-mul-overflow-check-via-mul-sdiv.ll +++ b/llvm/test/Transforms/InstCombine/signed-mul-overflow-check-via-mul-sdiv.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Fold ; ((%x * %y) s/ %x) != %y diff --git a/llvm/test/Transforms/InstCombine/signed-truncation-check.ll b/llvm/test/Transforms/InstCombine/signed-truncation-check.ll index 49e41e6bdc34..9819fabc2137 100644 --- a/llvm/test/Transforms/InstCombine/signed-truncation-check.ll +++ b/llvm/test/Transforms/InstCombine/signed-truncation-check.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; General pattern: ; X & Y diff --git a/llvm/test/Transforms/InstCombine/signext.ll b/llvm/test/Transforms/InstCombine/signext.ll index 447e54849df6..765a0470c2e4 100644 --- a/llvm/test/Transforms/InstCombine/signext.ll +++ b/llvm/test/Transforms/InstCombine/signext.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "n8:16:32:64" diff --git a/llvm/test/Transforms/InstCombine/signmask-of-sext-vs-of-shl-of-zext.ll b/llvm/test/Transforms/InstCombine/signmask-of-sext-vs-of-shl-of-zext.ll index cb7451cc7e37..aeb4c8bb62cb 100644 --- a/llvm/test/Transforms/InstCombine/signmask-of-sext-vs-of-shl-of-zext.ll +++ b/llvm/test/Transforms/InstCombine/signmask-of-sext-vs-of-shl-of-zext.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we zero-extend some value, and then immediately left-shift-out all the new ; sign bits, and apply a mask to keep only the sign bit (which is the original diff --git a/llvm/test/Transforms/InstCombine/simple_phi_condition.ll b/llvm/test/Transforms/InstCombine/simple_phi_condition.ll index 37f7fe77b7e3..3760ea141042 100644 --- a/llvm/test/Transforms/InstCombine/simple_phi_condition.ll +++ b/llvm/test/Transforms/InstCombine/simple_phi_condition.ll @@ -1,5 +1,4 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S < %s -instcombine | FileCheck %s ; RUN: opt -S < %s -passes=instcombine | FileCheck %s define i1 @test_direct_implication(i1 %cond) { diff --git a/llvm/test/Transforms/InstCombine/simplify-demanded-bits-pointer.ll b/llvm/test/Transforms/InstCombine/simplify-demanded-bits-pointer.ll index db8f17917d1e..4d6ea73bce1a 100644 --- a/llvm/test/Transforms/InstCombine/simplify-demanded-bits-pointer.ll +++ b/llvm/test/Transforms/InstCombine/simplify-demanded-bits-pointer.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -disable-output +; RUN: opt < %s -passes=instcombine -disable-output ; SimplifyDemandedBits should cope with pointer types. diff --git a/llvm/test/Transforms/InstCombine/simplify-libcalls-erased.ll b/llvm/test/Transforms/InstCombine/simplify-libcalls-erased.ll index 19cfcf8eba9c..f864b8f60c1f 100644 --- a/llvm/test/Transforms/InstCombine/simplify-libcalls-erased.ll +++ b/llvm/test/Transforms/InstCombine/simplify-libcalls-erased.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S < %s -instcombine | FileCheck %s +; RUN: opt -S < %s -passes=instcombine | FileCheck %s target triple = "x86_64" diff --git a/llvm/test/Transforms/InstCombine/simplify-libcalls.ll b/llvm/test/Transforms/InstCombine/simplify-libcalls.ll index e4db9d7a31e2..fa686c9423bb 100644 --- a/llvm/test/Transforms/InstCombine/simplify-libcalls.ll +++ b/llvm/test/Transforms/InstCombine/simplify-libcalls.ll @@ -1,5 +1,5 @@ -; RUN: opt -S < %s -mtriple=unknown -instcombine -instcombine-infinite-loop-threshold=2 | FileCheck -check-prefixes=CHECK,CHECK32 %s -; RUN: opt -S < %s -mtriple=msp430 -instcombine -instcombine-infinite-loop-threshold=2 | FileCheck -check-prefixes=CHECK,CHECK16 %s +; RUN: opt -S < %s -mtriple=unknown -passes=instcombine -instcombine-infinite-loop-threshold=2 | FileCheck -check-prefixes=CHECK,CHECK32 %s +; RUN: opt -S < %s -mtriple=msp430 -passes=instcombine -instcombine-infinite-loop-threshold=2 | FileCheck -check-prefixes=CHECK,CHECK16 %s target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f80:128:128-v64:64:64-v128:128:128-a0:0:64-f80:32:32-n8:16:32-S32" @G = constant [3 x i8] c"%s\00" ; <[3 x i8]*> [#uses=1] diff --git a/llvm/test/Transforms/InstCombine/sincospi.ll b/llvm/test/Transforms/InstCombine/sincospi.ll index f874beadd58c..f22e2876d571 100644 --- a/llvm/test/Transforms/InstCombine/sincospi.ll +++ b/llvm/test/Transforms/InstCombine/sincospi.ll @@ -1,10 +1,10 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s -mtriple=x86_64-apple-macosx10.9 | FileCheck %s --check-prefix=CHECK-FLOAT-IN-VEC -; RUN: opt -instcombine -S < %s -mtriple=arm-apple-ios7.0 | FileCheck %s -; RUN: opt -instcombine -S < %s -mtriple=arm64-apple-ios7.0 | FileCheck %s -; RUN: opt -instcombine -S < %s -mtriple=x86_64-apple-macosx10.8 | FileCheck %s --check-prefix=CHECK-NO-SINCOS -; RUN: opt -instcombine -S < %s -mtriple=arm-apple-ios6.0 | FileCheck %s --check-prefix=CHECK-NO-SINCOS -; RUN: opt -instcombine -S < %s -mtriple=x86_64-none-linux-gnu | FileCheck %s --check-prefix=CHECK-NO-SINCOS +; RUN: opt -passes=instcombine -S < %s -mtriple=x86_64-apple-macosx10.9 | FileCheck %s --check-prefix=CHECK-FLOAT-IN-VEC +; RUN: opt -passes=instcombine -S < %s -mtriple=arm-apple-ios7.0 | FileCheck %s +; RUN: opt -passes=instcombine -S < %s -mtriple=arm64-apple-ios7.0 | FileCheck %s +; RUN: opt -passes=instcombine -S < %s -mtriple=x86_64-apple-macosx10.8 | FileCheck %s --check-prefix=CHECK-NO-SINCOS +; RUN: opt -passes=instcombine -S < %s -mtriple=arm-apple-ios6.0 | FileCheck %s --check-prefix=CHECK-NO-SINCOS +; RUN: opt -passes=instcombine -S < %s -mtriple=x86_64-none-linux-gnu | FileCheck %s --check-prefix=CHECK-NO-SINCOS attributes #0 = { readnone nounwind } diff --git a/llvm/test/Transforms/InstCombine/sink-alloca.ll b/llvm/test/Transforms/InstCombine/sink-alloca.ll index dc5012680d0a..eadcf26ddb07 100644 --- a/llvm/test/Transforms/InstCombine/sink-alloca.ll +++ b/llvm/test/Transforms/InstCombine/sink-alloca.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s target datalayout = "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128" target triple = "i686-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/sink-into-catchswitch.ll b/llvm/test/Transforms/InstCombine/sink-into-catchswitch.ll index be6b2c1df2cc..1586bb9e8b99 100644 --- a/llvm/test/Transforms/InstCombine/sink-into-catchswitch.ll +++ b/llvm/test/Transforms/InstCombine/sink-into-catchswitch.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-windows-msvc18.0.0" diff --git a/llvm/test/Transforms/InstCombine/sink-into-resume-block.ll b/llvm/test/Transforms/InstCombine/sink-into-resume-block.ll index cb7de75276cf..02fa29b7c184 100644 --- a/llvm/test/Transforms/InstCombine/sink-into-resume-block.ll +++ b/llvm/test/Transforms/InstCombine/sink-into-resume-block.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; Check that InstCombine can sink instructions to the landingpad of the invoke. diff --git a/llvm/test/Transforms/InstCombine/sink-not-into-another-hand-of-and.ll b/llvm/test/Transforms/InstCombine/sink-not-into-another-hand-of-and.ll index 17c37c836bb3..5e476dd62fa3 100644 --- a/llvm/test/Transforms/InstCombine/sink-not-into-another-hand-of-and.ll +++ b/llvm/test/Transforms/InstCombine/sink-not-into-another-hand-of-and.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Transform ; z = (~x) & y diff --git a/llvm/test/Transforms/InstCombine/sink-not-into-another-hand-of-or.ll b/llvm/test/Transforms/InstCombine/sink-not-into-another-hand-of-or.ll index d40acc37ca73..506779582e10 100644 --- a/llvm/test/Transforms/InstCombine/sink-not-into-another-hand-of-or.ll +++ b/llvm/test/Transforms/InstCombine/sink-not-into-another-hand-of-or.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Transform ; z = (~x) | y diff --git a/llvm/test/Transforms/InstCombine/sink_instruction.ll b/llvm/test/Transforms/InstCombine/sink_instruction.ll index 1c28ef953066..a631af2d8a75 100644 --- a/llvm/test/Transforms/InstCombine/sink_instruction.ll +++ b/llvm/test/Transforms/InstCombine/sink_instruction.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ;; This tests that the instructions in the entry blocks are sunk into each ;; arm of the 'if'. diff --git a/llvm/test/Transforms/InstCombine/sink_sideeffecting_instruction.ll b/llvm/test/Transforms/InstCombine/sink_sideeffecting_instruction.ll index 0a13742e6347..9a3ee2e72ed6 100644 --- a/llvm/test/Transforms/InstCombine/sink_sideeffecting_instruction.ll +++ b/llvm/test/Transforms/InstCombine/sink_sideeffecting_instruction.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; Function Attrs: noinline uwtable define i32 @foo(i32* nocapture writeonly %arg) { diff --git a/llvm/test/Transforms/InstCombine/sitofp.ll b/llvm/test/Transforms/InstCombine/sitofp.ll index 57431b9af1e3..be26ed6946cf 100644 --- a/llvm/test/Transforms/InstCombine/sitofp.ll +++ b/llvm/test/Transforms/InstCombine/sitofp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i1 @test1(i8 %A) { ; CHECK-LABEL: @test1( diff --git a/llvm/test/Transforms/InstCombine/smax-icmp.ll b/llvm/test/Transforms/InstCombine/smax-icmp.ll index 178487243dc3..6cb26607d696 100644 --- a/llvm/test/Transforms/InstCombine/smax-icmp.ll +++ b/llvm/test/Transforms/InstCombine/smax-icmp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; If we have an smax feeding a signed or equality icmp that shares an ; operand with the smax, the compare should always be folded. diff --git a/llvm/test/Transforms/InstCombine/smin-icmp.ll b/llvm/test/Transforms/InstCombine/smin-icmp.ll index 19519ee24f40..8412387efdae 100644 --- a/llvm/test/Transforms/InstCombine/smin-icmp.ll +++ b/llvm/test/Transforms/InstCombine/smin-icmp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; If we have an smin feeding a signed or equality icmp that shares an ; operand with the smin, the compare should always be folded. diff --git a/llvm/test/Transforms/InstCombine/smulo.ll b/llvm/test/Transforms/InstCombine/smulo.ll index 42ca6d7f2b5a..132c2c5c63a2 100644 --- a/llvm/test/Transforms/InstCombine/smulo.ll +++ b/llvm/test/Transforms/InstCombine/smulo.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare { i64, i1 } @llvm.smul.with.overflow.i64(i64, i64) declare { i8, i1 } @llvm.smul.with.overflow.i8(i8, i8) diff --git a/llvm/test/Transforms/InstCombine/snprintf.ll b/llvm/test/Transforms/InstCombine/snprintf.ll index ae22421879c3..d7c136162630 100644 --- a/llvm/test/Transforms/InstCombine/snprintf.ll +++ b/llvm/test/Transforms/InstCombine/snprintf.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s @.str = private unnamed_addr constant [4 x i8] c"str\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%%\00", align 1 diff --git a/llvm/test/Transforms/InstCombine/sprintf-1.ll b/llvm/test/Transforms/InstCombine/sprintf-1.ll index dc11eec52c95..289a5c7fc274 100644 --- a/llvm/test/Transforms/InstCombine/sprintf-1.ll +++ b/llvm/test/Transforms/InstCombine/sprintf-1.ll @@ -1,13 +1,13 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the sprintf library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s -; RUN: opt < %s -mtriple xcore-xmos-elf -instcombine -S | FileCheck %s -check-prefixes=CHECK,CHECK-IPRINTF,WITHSTPCPY -; RUN: opt < %s -mtriple=i386-pc-windows-msvc -instcombine -S | FileCheck %s --check-prefixes=CHECK,WIN -; RUN: opt < %s -mtriple=i386-mingw32 -instcombine -S | FileCheck %s --check-prefixes=CHECK,WIN,NOSTPCPY -; RUN: opt < %s -mtriple=armv7-none-linux-android16 -instcombine -S | FileCheck %s --check-prefixes=CHECK,NOSTPCPY -; RUN: opt < %s -mtriple=armv7-none-linux-android21 -instcombine -S | FileCheck %s --check-prefixes=CHECK,WITHSTPCPY -; RUN: opt < %s -mtriple=x86_64-scei-ps4 -instcombine -S | FileCheck %s --check-prefixes=CHECK,NOSTPCPY +; RUN: opt < %s -passes=instcombine -S | FileCheck %s +; RUN: opt < %s -mtriple xcore-xmos-elf -passes=instcombine -S | FileCheck %s -check-prefixes=CHECK,CHECK-IPRINTF,WITHSTPCPY +; RUN: opt < %s -mtriple=i386-pc-windows-msvc -passes=instcombine -S | FileCheck %s --check-prefixes=CHECK,WIN +; RUN: opt < %s -mtriple=i386-mingw32 -passes=instcombine -S | FileCheck %s --check-prefixes=CHECK,WIN,NOSTPCPY +; RUN: opt < %s -mtriple=armv7-none-linux-android16 -passes=instcombine -S | FileCheck %s --check-prefixes=CHECK,NOSTPCPY +; RUN: opt < %s -mtriple=armv7-none-linux-android21 -passes=instcombine -S | FileCheck %s --check-prefixes=CHECK,WITHSTPCPY +; RUN: opt < %s -mtriple=x86_64-scei-ps4 -passes=instcombine -S | FileCheck %s --check-prefixes=CHECK,NOSTPCPY 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:128:128" diff --git a/llvm/test/Transforms/InstCombine/sprintf-void.ll b/llvm/test/Transforms/InstCombine/sprintf-void.ll index e84103be7884..4d04d1ca2373 100644 --- a/llvm/test/Transforms/InstCombine/sprintf-void.ll +++ b/llvm/test/Transforms/InstCombine/sprintf-void.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/sqrt-nofast.ll b/llvm/test/Transforms/InstCombine/sqrt-nofast.ll index 8724bd083e34..af805197b739 100644 --- a/llvm/test/Transforms/InstCombine/sqrt-nofast.ll +++ b/llvm/test/Transforms/InstCombine/sqrt-nofast.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Check that we skip transformations if the attribute unsafe-fp-math ; is not set. diff --git a/llvm/test/Transforms/InstCombine/sqrt.ll b/llvm/test/Transforms/InstCombine/sqrt.ll index 55f952fe5cbc..bc5d2227eb95 100644 --- a/llvm/test/Transforms/InstCombine/sqrt.ll +++ b/llvm/test/Transforms/InstCombine/sqrt.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s define float @test1(float %x) nounwind readnone ssp { ; CHECK-LABEL: @test1( diff --git a/llvm/test/Transforms/InstCombine/srem-canonicalize.ll b/llvm/test/Transforms/InstCombine/srem-canonicalize.ll index dc6b15c287c7..571304fd6e7e 100644 --- a/llvm/test/Transforms/InstCombine/srem-canonicalize.ll +++ b/llvm/test/Transforms/InstCombine/srem-canonicalize.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @test_srem_canonicalize_op0(i32 %x, i32 %y) { ; CHECK-LABEL: @test_srem_canonicalize_op0( diff --git a/llvm/test/Transforms/InstCombine/srem-simplify-bug.ll b/llvm/test/Transforms/InstCombine/srem-simplify-bug.ll index 3458714b8dae..4a5833a58066 100644 --- a/llvm/test/Transforms/InstCombine/srem-simplify-bug.ll +++ b/llvm/test/Transforms/InstCombine/srem-simplify-bug.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "ret i1 false" +; RUN: opt < %s -passes=instcombine -S | grep "ret i1 false" ; PR2276 define i1 @f(i32 %x) { diff --git a/llvm/test/Transforms/InstCombine/srem-via-sdiv-mul-sub.ll b/llvm/test/Transforms/InstCombine/srem-via-sdiv-mul-sub.ll index 502b2225b467..c45354c1e00b 100644 --- a/llvm/test/Transforms/InstCombine/srem-via-sdiv-mul-sub.ll +++ b/llvm/test/Transforms/InstCombine/srem-via-sdiv-mul-sub.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Fold ; x - ((x / y) * y) diff --git a/llvm/test/Transforms/InstCombine/srem1.ll b/llvm/test/Transforms/InstCombine/srem1.ll index 31452d8f208a..0441eddf2403 100644 --- a/llvm/test/Transforms/InstCombine/srem1.ll +++ b/llvm/test/Transforms/InstCombine/srem1.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine +; RUN: opt < %s -passes=instcombine ; PR2670 @g_127 = external global i32 ; [#uses=1] diff --git a/llvm/test/Transforms/InstCombine/ssub-with-overflow.ll b/llvm/test/Transforms/InstCombine/ssub-with-overflow.ll index 35528925f234..2a6dfee259d6 100644 --- a/llvm/test/Transforms/InstCombine/ssub-with-overflow.ll +++ b/llvm/test/Transforms/InstCombine/ssub-with-overflow.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare { <2 x i32>, <2 x i1> } @llvm.ssub.with.overflow.v2i32(<2 x i32>, <2 x i32>) diff --git a/llvm/test/Transforms/InstCombine/ssubo.ll b/llvm/test/Transforms/InstCombine/ssubo.ll index c87fe920010e..aee258eef9c4 100644 --- a/llvm/test/Transforms/InstCombine/ssubo.ll +++ b/llvm/test/Transforms/InstCombine/ssubo.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare { i64, i1 } @llvm.ssub.with.overflow.i64(i64, i64) declare { i8, i1 } @llvm.ssub.with.overflow.i8(i8, i8) diff --git a/llvm/test/Transforms/InstCombine/stack-overalign.ll b/llvm/test/Transforms/InstCombine/stack-overalign.ll index 65d004008fa3..f1ebcbfa4013 100644 --- a/llvm/test/Transforms/InstCombine/stack-overalign.ll +++ b/llvm/test/Transforms/InstCombine/stack-overalign.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep "align 32" | count 2 +; RUN: opt < %s -passes=instcombine -S | grep "align 32" | count 2 ; It's tempting to have an instcombine in which the src pointer of a ; memcpy is aligned up to the alignment of the destination, however diff --git a/llvm/test/Transforms/InstCombine/stacksave-debuginfo.ll b/llvm/test/Transforms/InstCombine/stacksave-debuginfo.ll index 693ed870a868..be98cc73c61a 100644 --- a/llvm/test/Transforms/InstCombine/stacksave-debuginfo.ll +++ b/llvm/test/Transforms/InstCombine/stacksave-debuginfo.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; dbg.value instrinsics should not affect peephole combining of stacksave/stackrestore. ; PR37713 -; RUN: opt -instcombine %s -S | FileCheck %s +; RUN: opt -passes=instcombine %s -S | FileCheck %s declare i8* @llvm.stacksave() #0 declare void @llvm.stackrestore(i8*) #0 diff --git a/llvm/test/Transforms/InstCombine/stacksaverestore.ll b/llvm/test/Transforms/InstCombine/stacksaverestore.ll index 2ad623eaed33..d307eb7619f9 100644 --- a/llvm/test/Transforms/InstCombine/stacksaverestore.ll +++ b/llvm/test/Transforms/InstCombine/stacksaverestore.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s @glob = global i32 0 diff --git a/llvm/test/Transforms/InstCombine/statepoint.ll b/llvm/test/Transforms/InstCombine/statepoint.ll index b66afc4635ea..b47c8c13b280 100644 --- a/llvm/test/Transforms/InstCombine/statepoint.ll +++ b/llvm/test/Transforms/InstCombine/statepoint.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; These tests check the optimizations specific to ; pointers being relocated at a statepoint. diff --git a/llvm/test/Transforms/InstCombine/stdio-custom-dl.ll b/llvm/test/Transforms/InstCombine/stdio-custom-dl.ll index c4a666db237c..b09e2d38cc1d 100644 --- a/llvm/test/Transforms/InstCombine/stdio-custom-dl.ll +++ b/llvm/test/Transforms/InstCombine/stdio-custom-dl.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S -mtriple=x86_64-unknown-linux-gnu | FileCheck %s +; RUN: opt < %s -passes=instcombine -S -mtriple=x86_64-unknown-linux-gnu | FileCheck %s target datalayout = "e-m:o-p:40:64:64:32-i64:64-f80:128-n8:16:32:64-S128" %struct._IO_FILE = type { i32, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, %struct._IO_marker*, %struct._IO_FILE*, i32, i32, i64, i16, i8, [1 x i8], i8*, i64, i8*, i8*, i8*, i8*, i64, i32, [20 x i8] } diff --git a/llvm/test/Transforms/InstCombine/store.ll b/llvm/test/Transforms/InstCombine/store.ll index 35a96d3112ac..7b30592fbd0e 100644 --- a/llvm/test/Transforms/InstCombine/store.ll +++ b/llvm/test/Transforms/InstCombine/store.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define void @test1(i32* %P) { ; CHECK-LABEL: @test1( diff --git a/llvm/test/Transforms/InstCombine/stpcpy-1.ll b/llvm/test/Transforms/InstCombine/stpcpy-1.ll index 79587102af8a..791cbdf737ff 100644 --- a/llvm/test/Transforms/InstCombine/stpcpy-1.ll +++ b/llvm/test/Transforms/InstCombine/stpcpy-1.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the stpcpy library call simplifier works correctly. -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; ; This transformation requires the pointer size, as it assumes that size_t is ; the size of a pointer. diff --git a/llvm/test/Transforms/InstCombine/stpcpy-2.ll b/llvm/test/Transforms/InstCombine/stpcpy-2.ll index 07e13a69e2d2..3ef195819447 100644 --- a/llvm/test/Transforms/InstCombine/stpcpy-2.ll +++ b/llvm/test/Transforms/InstCombine/stpcpy-2.ll @@ -1,5 +1,5 @@ ; Test that the stpcpy library call simplifier works correctly. -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; ; This transformation requires the pointer size, as it assumes that size_t is ; the size of a pointer. diff --git a/llvm/test/Transforms/InstCombine/stpcpy_chk-1.ll b/llvm/test/Transforms/InstCombine/stpcpy_chk-1.ll index de3d7e112e00..6885783334a3 100644 --- a/llvm/test/Transforms/InstCombine/stpcpy_chk-1.ll +++ b/llvm/test/Transforms/InstCombine/stpcpy_chk-1.ll @@ -2,7 +2,7 @@ ; Test lib call simplification of __stpcpy_chk calls with various values ; for src, dst, and slen. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/stpcpy_chk-2.ll b/llvm/test/Transforms/InstCombine/stpcpy_chk-2.ll index b4803f98b249..9bf038042e29 100644 --- a/llvm/test/Transforms/InstCombine/stpcpy_chk-2.ll +++ b/llvm/test/Transforms/InstCombine/stpcpy_chk-2.ll @@ -1,7 +1,7 @@ ; Test that lib call simplification doesn't simplify __stpcpy_chk calls ; with the wrong prototype. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/str-int-2.ll b/llvm/test/Transforms/InstCombine/str-int-2.ll index 37e64a31ee8c..290c3398f241 100644 --- a/llvm/test/Transforms/InstCombine/str-int-2.ll +++ b/llvm/test/Transforms/InstCombine/str-int-2.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s @.str = private unnamed_addr constant [3 x i8] c"12\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1 diff --git a/llvm/test/Transforms/InstCombine/str-int.ll b/llvm/test/Transforms/InstCombine/str-int.ll index ac5b6ceccce3..6de0a0795b64 100644 --- a/llvm/test/Transforms/InstCombine/str-int.ll +++ b/llvm/test/Transforms/InstCombine/str-int.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s @.str = private unnamed_addr constant [3 x i8] c"12\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1 diff --git a/llvm/test/Transforms/InstCombine/strcat-1.ll b/llvm/test/Transforms/InstCombine/strcat-1.ll index 446a26e94ac4..1241a7780964 100644 --- a/llvm/test/Transforms/InstCombine/strcat-1.ll +++ b/llvm/test/Transforms/InstCombine/strcat-1.ll @@ -1,7 +1,7 @@ ; Test that the strcat libcall simplifier works correctly per the ; bug found in PR3661. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/strcat-2.ll b/llvm/test/Transforms/InstCombine/strcat-2.ll index 287019770acf..efce2d08d1e7 100644 --- a/llvm/test/Transforms/InstCombine/strcat-2.ll +++ b/llvm/test/Transforms/InstCombine/strcat-2.ll @@ -1,6 +1,6 @@ ; Test that the strcat libcall simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/strcat-3.ll b/llvm/test/Transforms/InstCombine/strcat-3.ll index 88cd162d0cd5..b40d8c190318 100644 --- a/llvm/test/Transforms/InstCombine/strcat-3.ll +++ b/llvm/test/Transforms/InstCombine/strcat-3.ll @@ -1,6 +1,6 @@ ; Test that the strcat libcall simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/strchr-1.ll b/llvm/test/Transforms/InstCombine/strchr-1.ll index ad924761fa58..86ac9dafc91f 100644 --- a/llvm/test/Transforms/InstCombine/strchr-1.ll +++ b/llvm/test/Transforms/InstCombine/strchr-1.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the strchr library call simplifier works correctly. -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128-n8:16:32" diff --git a/llvm/test/Transforms/InstCombine/strchr-2.ll b/llvm/test/Transforms/InstCombine/strchr-2.ll index dd86a16f77bc..590b98cbfd82 100644 --- a/llvm/test/Transforms/InstCombine/strchr-2.ll +++ b/llvm/test/Transforms/InstCombine/strchr-2.ll @@ -1,6 +1,6 @@ ; Test that the strchr libcall simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/strcmp-1.ll b/llvm/test/Transforms/InstCombine/strcmp-1.ll index c0ba16c69a3e..648e8682c926 100644 --- a/llvm/test/Transforms/InstCombine/strcmp-1.ll +++ b/llvm/test/Transforms/InstCombine/strcmp-1.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the strcmp library call simplifier works correctly. -; RUN: opt < %s -instcombine -S | FileCheck %s --check-prefix=NOBCMP -; RUN: opt < %s -instcombine -mtriple=unknown-unknown-linux-gnu -S | FileCheck %s --check-prefix=BCMP +; RUN: opt < %s -passes=instcombine -S | FileCheck %s --check-prefix=NOBCMP +; RUN: opt < %s -passes=instcombine -mtriple=unknown-unknown-linux-gnu -S | FileCheck %s --check-prefix=BCMP 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:128:128" diff --git a/llvm/test/Transforms/InstCombine/strcmp-2.ll b/llvm/test/Transforms/InstCombine/strcmp-2.ll index a537b10e0deb..5c134298d69e 100644 --- a/llvm/test/Transforms/InstCombine/strcmp-2.ll +++ b/llvm/test/Transforms/InstCombine/strcmp-2.ll @@ -1,5 +1,5 @@ ; Test that the strcmp library call simplifier works correctly. -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/strcmp-memcmp.ll b/llvm/test/Transforms/InstCombine/strcmp-memcmp.ll index 0b9261223a07..9416b1d0e10b 100644 --- a/llvm/test/Transforms/InstCombine/strcmp-memcmp.ll +++ b/llvm/test/Transforms/InstCombine/strcmp-memcmp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Transforms/InstCombine/strcpy-1.ll b/llvm/test/Transforms/InstCombine/strcpy-1.ll index 54f5e0d941b0..fe4116eb284b 100644 --- a/llvm/test/Transforms/InstCombine/strcpy-1.ll +++ b/llvm/test/Transforms/InstCombine/strcpy-1.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the strcpy library call simplifier works correctly. ; rdar://6839935 -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; ; This transformation requires the pointer size, as it assumes that size_t is ; the size of a pointer. diff --git a/llvm/test/Transforms/InstCombine/strcpy-2.ll b/llvm/test/Transforms/InstCombine/strcpy-2.ll index cfc8a410b7ee..bdd05db67eab 100644 --- a/llvm/test/Transforms/InstCombine/strcpy-2.ll +++ b/llvm/test/Transforms/InstCombine/strcpy-2.ll @@ -1,5 +1,5 @@ ; Test that the strcpy library call simplifier works correctly. -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; ; This transformation requires the pointer size, as it assumes that size_t is ; the size of a pointer. diff --git a/llvm/test/Transforms/InstCombine/strcpy-nonzero-as.ll b/llvm/test/Transforms/InstCombine/strcpy-nonzero-as.ll index d899021c5348..744ade0d28f9 100644 --- a/llvm/test/Transforms/InstCombine/strcpy-nonzero-as.ll +++ b/llvm/test/Transforms/InstCombine/strcpy-nonzero-as.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --function-signature --scrub-attributes ; Test that the strcpy library call simplifier also works when the string ; libcall arguments are in a non-zero address space. -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:e-p200:128:128:128:64-p:64:64-A200-P200-G200" @str = private unnamed_addr addrspace(200) constant [17 x i8] c"exactly 16 chars\00", align 1 diff --git a/llvm/test/Transforms/InstCombine/strcpy_chk-1.ll b/llvm/test/Transforms/InstCombine/strcpy_chk-1.ll index 384b4e8d3ace..a46ebf017937 100644 --- a/llvm/test/Transforms/InstCombine/strcpy_chk-1.ll +++ b/llvm/test/Transforms/InstCombine/strcpy_chk-1.ll @@ -2,7 +2,7 @@ ; Test lib call simplification of __strcpy_chk calls with various values ; for src, dst, and slen. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/strcpy_chk-2.ll b/llvm/test/Transforms/InstCombine/strcpy_chk-2.ll index c2204a830bae..bfbf094c7383 100644 --- a/llvm/test/Transforms/InstCombine/strcpy_chk-2.ll +++ b/llvm/test/Transforms/InstCombine/strcpy_chk-2.ll @@ -1,7 +1,7 @@ ; Test that lib call simplification doesn't simplify __strcpy_chk calls ; with the wrong prototype. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/strcpy_chk-64.ll b/llvm/test/Transforms/InstCombine/strcpy_chk-64.ll index ad619de36e42..007e677f2449 100644 --- a/llvm/test/Transforms/InstCombine/strcpy_chk-64.ll +++ b/llvm/test/Transforms/InstCombine/strcpy_chk-64.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" target triple = "x86_64-apple-darwin10.0.0" diff --git a/llvm/test/Transforms/InstCombine/strcspn-1.ll b/llvm/test/Transforms/InstCombine/strcspn-1.ll index 80b8606337fb..235d07a9375b 100644 --- a/llvm/test/Transforms/InstCombine/strcspn-1.ll +++ b/llvm/test/Transforms/InstCombine/strcspn-1.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the strcspn library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" diff --git a/llvm/test/Transforms/InstCombine/strcspn-2.ll b/llvm/test/Transforms/InstCombine/strcspn-2.ll index 749860afcd4e..5c62874b3b8f 100644 --- a/llvm/test/Transforms/InstCombine/strcspn-2.ll +++ b/llvm/test/Transforms/InstCombine/strcspn-2.ll @@ -1,6 +1,6 @@ ; Test that the strcspn library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" diff --git a/llvm/test/Transforms/InstCombine/strict-sub-underflow-check-to-comparison-of-sub-operands.ll b/llvm/test/Transforms/InstCombine/strict-sub-underflow-check-to-comparison-of-sub-operands.ll index 9ebad37f2ad5..28e02c6315e1 100644 --- a/llvm/test/Transforms/InstCombine/strict-sub-underflow-check-to-comparison-of-sub-operands.ll +++ b/llvm/test/Transforms/InstCombine/strict-sub-underflow-check-to-comparison-of-sub-operands.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @llvm.assume(i1) declare i8 @gen8() diff --git a/llvm/test/Transforms/InstCombine/strlen-1.ll b/llvm/test/Transforms/InstCombine/strlen-1.ll index e14490fad487..ea6079d59719 100644 --- a/llvm/test/Transforms/InstCombine/strlen-1.ll +++ b/llvm/test/Transforms/InstCombine/strlen-1.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the strlen library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/strlen-2.ll b/llvm/test/Transforms/InstCombine/strlen-2.ll index f6a4e5e35c8d..61718ad64f31 100644 --- a/llvm/test/Transforms/InstCombine/strlen-2.ll +++ b/llvm/test/Transforms/InstCombine/strlen-2.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the strlen library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/strlen-3.ll b/llvm/test/Transforms/InstCombine/strlen-3.ll index 0188f3549115..85cfd05d4f74 100644 --- a/llvm/test/Transforms/InstCombine/strlen-3.ll +++ b/llvm/test/Transforms/InstCombine/strlen-3.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "p:64:64" diff --git a/llvm/test/Transforms/InstCombine/strlen_chk.ll b/llvm/test/Transforms/InstCombine/strlen_chk.ll index b03bac7327c7..006dac56b873 100644 --- a/llvm/test/Transforms/InstCombine/strlen_chk.ll +++ b/llvm/test/Transforms/InstCombine/strlen_chk.ll @@ -1,6 +1,6 @@ ; Test that __strlen_chk simplification works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/strncat-1.ll b/llvm/test/Transforms/InstCombine/strncat-1.ll index 4b8da81f6fb6..22ecb43b7cf6 100644 --- a/llvm/test/Transforms/InstCombine/strncat-1.ll +++ b/llvm/test/Transforms/InstCombine/strncat-1.ll @@ -1,6 +1,6 @@ ; Test that the strncat libcall simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/strncat-2.ll b/llvm/test/Transforms/InstCombine/strncat-2.ll index 7522594810c4..1665fc189b5c 100644 --- a/llvm/test/Transforms/InstCombine/strncat-2.ll +++ b/llvm/test/Transforms/InstCombine/strncat-2.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the strncat libcall simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/strncat-3.ll b/llvm/test/Transforms/InstCombine/strncat-3.ll index d87688378b88..e95acaaabcef 100644 --- a/llvm/test/Transforms/InstCombine/strncat-3.ll +++ b/llvm/test/Transforms/InstCombine/strncat-3.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the strncat libcall simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/strncmp-1.ll b/llvm/test/Transforms/InstCombine/strncmp-1.ll index dd88346d4003..79ccaf466996 100644 --- a/llvm/test/Transforms/InstCombine/strncmp-1.ll +++ b/llvm/test/Transforms/InstCombine/strncmp-1.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the strncmp library call simplifier works correctly. -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/strncmp-2.ll b/llvm/test/Transforms/InstCombine/strncmp-2.ll index 5afad9e19633..6c16367b215a 100644 --- a/llvm/test/Transforms/InstCombine/strncmp-2.ll +++ b/llvm/test/Transforms/InstCombine/strncmp-2.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the strncmp library call simplifier works correctly. -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/strncmp-wrong-datalayout.ll b/llvm/test/Transforms/InstCombine/strncmp-wrong-datalayout.ll index 5c7c49a97085..495ed25c3665 100644 --- a/llvm/test/Transforms/InstCombine/strncmp-wrong-datalayout.ll +++ b/llvm/test/Transforms/InstCombine/strncmp-wrong-datalayout.ll @@ -1,7 +1,7 @@ ; Test that the strncpy simplification doesn't crash if datalayout specifies ; 64 bit pointers while length is a 32 bit argument ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-p:64:64:64" diff --git a/llvm/test/Transforms/InstCombine/strncpy-1.ll b/llvm/test/Transforms/InstCombine/strncpy-1.ll index e3e5573ab6f2..a935c431bca5 100644 --- a/llvm/test/Transforms/InstCombine/strncpy-1.ll +++ b/llvm/test/Transforms/InstCombine/strncpy-1.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the strncpy library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/strncpy-2.ll b/llvm/test/Transforms/InstCombine/strncpy-2.ll index ed4de382ce5b..4102760e7e9e 100644 --- a/llvm/test/Transforms/InstCombine/strncpy-2.ll +++ b/llvm/test/Transforms/InstCombine/strncpy-2.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the strncpy library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/strncpy-3.ll b/llvm/test/Transforms/InstCombine/strncpy-3.ll index ade97b68c6cd..e07d19a315c4 100644 --- a/llvm/test/Transforms/InstCombine/strncpy-3.ll +++ b/llvm/test/Transforms/InstCombine/strncpy-3.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s @str = constant [2 x i8] c"a\00" diff --git a/llvm/test/Transforms/InstCombine/strncpy_chk-1.ll b/llvm/test/Transforms/InstCombine/strncpy_chk-1.ll index 578001b694f3..c5050e666af0 100644 --- a/llvm/test/Transforms/InstCombine/strncpy_chk-1.ll +++ b/llvm/test/Transforms/InstCombine/strncpy_chk-1.ll @@ -2,7 +2,7 @@ ; Test lib call simplification of __strncpy_chk calls with various values ; for len and dstlen. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/strncpy_chk-2.ll b/llvm/test/Transforms/InstCombine/strncpy_chk-2.ll index dc4c0b5ce6db..cc49e2a898bf 100644 --- a/llvm/test/Transforms/InstCombine/strncpy_chk-2.ll +++ b/llvm/test/Transforms/InstCombine/strncpy_chk-2.ll @@ -1,7 +1,7 @@ ; Test that lib call simplification doesn't simplify __strncpy_chk calls ; with the wrong prototype. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/strndup.ll b/llvm/test/Transforms/InstCombine/strndup.ll index b3f927934a75..bab37a2118b7 100644 --- a/llvm/test/Transforms/InstCombine/strndup.ll +++ b/llvm/test/Transforms/InstCombine/strndup.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s @hello = constant [6 x i8] c"hello\00" @null = constant [1 x i8] zeroinitializer diff --git a/llvm/test/Transforms/InstCombine/strpbrk-1.ll b/llvm/test/Transforms/InstCombine/strpbrk-1.ll index f82f9416e63c..6772f80708da 100644 --- a/llvm/test/Transforms/InstCombine/strpbrk-1.ll +++ b/llvm/test/Transforms/InstCombine/strpbrk-1.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the strpbrk library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/strpbrk-2.ll b/llvm/test/Transforms/InstCombine/strpbrk-2.ll index 0af6faf40bc2..4913fb269b1d 100644 --- a/llvm/test/Transforms/InstCombine/strpbrk-2.ll +++ b/llvm/test/Transforms/InstCombine/strpbrk-2.ll @@ -1,6 +1,6 @@ ; Test that the strpbrk library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/strrchr-1.ll b/llvm/test/Transforms/InstCombine/strrchr-1.ll index 3b7dd4a115c1..2fd36601fff8 100644 --- a/llvm/test/Transforms/InstCombine/strrchr-1.ll +++ b/llvm/test/Transforms/InstCombine/strrchr-1.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the strrchr library call simplifier works correctly. -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/strrchr-2.ll b/llvm/test/Transforms/InstCombine/strrchr-2.ll index 4c203d0e8e79..539fb35ba906 100644 --- a/llvm/test/Transforms/InstCombine/strrchr-2.ll +++ b/llvm/test/Transforms/InstCombine/strrchr-2.ll @@ -1,6 +1,6 @@ ; Test that the strrchr libcall simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/strspn-1.ll b/llvm/test/Transforms/InstCombine/strspn-1.ll index 3d9c573ac617..a593a6cd0555 100644 --- a/llvm/test/Transforms/InstCombine/strspn-1.ll +++ b/llvm/test/Transforms/InstCombine/strspn-1.ll @@ -1,6 +1,6 @@ ; Test that the strspn library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/strstr-1.ll b/llvm/test/Transforms/InstCombine/strstr-1.ll index 4145cfac6438..a3b26fa0bf6f 100644 --- a/llvm/test/Transforms/InstCombine/strstr-1.ll +++ b/llvm/test/Transforms/InstCombine/strstr-1.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the strstr library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" diff --git a/llvm/test/Transforms/InstCombine/strstr-2.ll b/llvm/test/Transforms/InstCombine/strstr-2.ll index 9cb33115c2ee..1d527f29e57d 100644 --- a/llvm/test/Transforms/InstCombine/strstr-2.ll +++ b/llvm/test/Transforms/InstCombine/strstr-2.ll @@ -1,6 +1,6 @@ ; Test that the strstr library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" diff --git a/llvm/test/Transforms/InstCombine/struct-assign-tbaa-new.ll b/llvm/test/Transforms/InstCombine/struct-assign-tbaa-new.ll index d3f319523cee..1f0532c9f0ab 100644 --- a/llvm/test/Transforms/InstCombine/struct-assign-tbaa-new.ll +++ b/llvm/test/Transforms/InstCombine/struct-assign-tbaa-new.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; ; Verify that instcombine preserves TBAA tags when converting a memcpy into ; a scalar load and store. diff --git a/llvm/test/Transforms/InstCombine/struct-assign-tbaa.ll b/llvm/test/Transforms/InstCombine/struct-assign-tbaa.ll index 09a3f435e8f1..76deb82c516a 100644 --- a/llvm/test/Transforms/InstCombine/struct-assign-tbaa.ll +++ b/llvm/test/Transforms/InstCombine/struct-assign-tbaa.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %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" diff --git a/llvm/test/Transforms/InstCombine/sub-and-or-neg-xor.ll b/llvm/test/Transforms/InstCombine/sub-and-or-neg-xor.ll index 980433e2d50b..89c31def160d 100644 --- a/llvm/test/Transforms/InstCombine/sub-and-or-neg-xor.ll +++ b/llvm/test/Transforms/InstCombine/sub-and-or-neg-xor.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s declare void @use(i32) diff --git a/llvm/test/Transforms/InstCombine/sub-ashr-and-to-icmp-select.ll b/llvm/test/Transforms/InstCombine/sub-ashr-and-to-icmp-select.ll index c88fc7a213f5..7a33aec9b0a8 100644 --- a/llvm/test/Transforms/InstCombine/sub-ashr-and-to-icmp-select.ll +++ b/llvm/test/Transforms/InstCombine/sub-ashr-and-to-icmp-select.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine %s -S -o - | FileCheck %s +; RUN: opt -passes=instcombine %s -S -o - | FileCheck %s ; Clamp negative to zero: ; E.g., clamp0 implemented in a shifty way, could be optimized as v > 0 ? v : 0, where sub hasNoSignedWrap. diff --git a/llvm/test/Transforms/InstCombine/sub-ashr-or-to-icmp-select.ll b/llvm/test/Transforms/InstCombine/sub-ashr-or-to-icmp-select.ll index d0860cbf10c4..707620ca8905 100644 --- a/llvm/test/Transforms/InstCombine/sub-ashr-or-to-icmp-select.ll +++ b/llvm/test/Transforms/InstCombine/sub-ashr-or-to-icmp-select.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine %s -S -o - | FileCheck %s +; RUN: opt -passes=instcombine %s -S -o - | FileCheck %s ; Clamp positive to allOnes: ; E.g., clamp255 implemented in a shifty way, could be optimized as v > 255 ? 255 : v, where sub hasNoSignedWrap. diff --git a/llvm/test/Transforms/InstCombine/sub-from-sub.ll b/llvm/test/Transforms/InstCombine/sub-from-sub.ll index 636b8518f08e..382236feb74c 100644 --- a/llvm/test/Transforms/InstCombine/sub-from-sub.ll +++ b/llvm/test/Transforms/InstCombine/sub-from-sub.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine %s -S -o - | FileCheck %s +; RUN: opt -passes=instcombine %s -S -o - | FileCheck %s ; ((X - Y) - Z) --> X - (Y + Z) because we prefer add's. diff --git a/llvm/test/Transforms/InstCombine/sub-gep.ll b/llvm/test/Transforms/InstCombine/sub-gep.ll index bc18608da7a5..4450459329dc 100644 --- a/llvm/test/Transforms/InstCombine/sub-gep.ll +++ b/llvm/test/Transforms/InstCombine/sub-gep.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s target datalayout = "e-p:64:64:64-p1:16:16:16-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" diff --git a/llvm/test/Transforms/InstCombine/sub-lshr-or-to-icmp-select.ll b/llvm/test/Transforms/InstCombine/sub-lshr-or-to-icmp-select.ll index e445d97ab3ca..fb460bb0ec1c 100644 --- a/llvm/test/Transforms/InstCombine/sub-lshr-or-to-icmp-select.ll +++ b/llvm/test/Transforms/InstCombine/sub-lshr-or-to-icmp-select.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine %s -S -o - | FileCheck %s +; RUN: opt -passes=instcombine %s -S -o - | FileCheck %s ; Scalar Types diff --git a/llvm/test/Transforms/InstCombine/sub-minmax.ll b/llvm/test/Transforms/InstCombine/sub-minmax.ll index 5b1100ddb9fb..efc5c0760166 100644 --- a/llvm/test/Transforms/InstCombine/sub-minmax.ll +++ b/llvm/test/Transforms/InstCombine/sub-minmax.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare i5 @llvm.umin.i5(i5, i5) declare <2 x i8> @llvm.umin.v2i8(<2 x i8>, <2 x i8>) diff --git a/llvm/test/Transforms/InstCombine/sub-not.ll b/llvm/test/Transforms/InstCombine/sub-not.ll index cd1f8f3bd52d..690e7d6581d2 100644 --- a/llvm/test/Transforms/InstCombine/sub-not.ll +++ b/llvm/test/Transforms/InstCombine/sub-not.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use(i8) diff --git a/llvm/test/Transforms/InstCombine/sub-of-negatible-inseltpoison.ll b/llvm/test/Transforms/InstCombine/sub-of-negatible-inseltpoison.ll index b80b7798a855..2e587a0bdcf1 100644 --- a/llvm/test/Transforms/InstCombine/sub-of-negatible-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/sub-of-negatible-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use4(i4) declare void @use8(i8) diff --git a/llvm/test/Transforms/InstCombine/sub-of-negatible.ll b/llvm/test/Transforms/InstCombine/sub-of-negatible.ll index 67abc286298a..4971f80af13e 100644 --- a/llvm/test/Transforms/InstCombine/sub-of-negatible.ll +++ b/llvm/test/Transforms/InstCombine/sub-of-negatible.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use4(i4) declare void @use8(i8) diff --git a/llvm/test/Transforms/InstCombine/sub-or-and-xor.ll b/llvm/test/Transforms/InstCombine/sub-or-and-xor.ll index 59d3c6f6b5c4..985825514ae7 100644 --- a/llvm/test/Transforms/InstCombine/sub-or-and-xor.ll +++ b/llvm/test/Transforms/InstCombine/sub-or-and-xor.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s declare void @use(i32) diff --git a/llvm/test/Transforms/InstCombine/sub-xor-or-neg-and.ll b/llvm/test/Transforms/InstCombine/sub-xor-or-neg-and.ll index ab32fe5289c1..f3a565c7452b 100644 --- a/llvm/test/Transforms/InstCombine/sub-xor-or-neg-and.ll +++ b/llvm/test/Transforms/InstCombine/sub-xor-or-neg-and.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s declare void @use(i32) diff --git a/llvm/test/Transforms/InstCombine/sub-xor.ll b/llvm/test/Transforms/InstCombine/sub-xor.ll index cae292b21ad1..8159d3f02c77 100644 --- a/llvm/test/Transforms/InstCombine/sub-xor.ll +++ b/llvm/test/Transforms/InstCombine/sub-xor.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s declare void @use(i32) diff --git a/llvm/test/Transforms/InstCombine/sub.ll b/llvm/test/Transforms/InstCombine/sub.ll index 74319e403193..0c9335717a58 100644 --- a/llvm/test/Transforms/InstCombine/sub.ll +++ b/llvm/test/Transforms/InstCombine/sub.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-p:64:64:64-p1:16:16:16-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" diff --git a/llvm/test/Transforms/InstCombine/subtract-from-one-hand-of-select.ll b/llvm/test/Transforms/InstCombine/subtract-from-one-hand-of-select.ll index 8ff2e0ee2118..0a80151ee642 100644 --- a/llvm/test/Transforms/InstCombine/subtract-from-one-hand-of-select.ll +++ b/llvm/test/Transforms/InstCombine/subtract-from-one-hand-of-select.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S < %s -instcombine | FileCheck %s +; RUN: opt -S < %s -passes=instcombine | FileCheck %s ; Fold ; sub %Op0, (select %Cond, %TrueVal, %FalseVal) diff --git a/llvm/test/Transforms/InstCombine/subtract-of-one-hand-of-select.ll b/llvm/test/Transforms/InstCombine/subtract-of-one-hand-of-select.ll index cfe35f06bd11..6efed5da7602 100644 --- a/llvm/test/Transforms/InstCombine/subtract-of-one-hand-of-select.ll +++ b/llvm/test/Transforms/InstCombine/subtract-of-one-hand-of-select.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S < %s -instcombine | FileCheck %s +; RUN: opt -S < %s -passes=instcombine | FileCheck %s ; Fold ; sub (select %Cond, %TrueVal, %FalseVal), %Op1 diff --git a/llvm/test/Transforms/InstCombine/swifterror-argument-bitcast-fold.ll b/llvm/test/Transforms/InstCombine/swifterror-argument-bitcast-fold.ll index 22a98f382578..3e7e9f2e1287 100644 --- a/llvm/test/Transforms/InstCombine/swifterror-argument-bitcast-fold.ll +++ b/llvm/test/Transforms/InstCombine/swifterror-argument-bitcast-fold.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S %s | FileCheck %s +; RUN: opt -passes=instcombine -S %s | FileCheck %s ; The swifterror value can only be loaded, stored or used as swifterror ; argument. Make sure we do not try to turn the function bitcast into an diff --git a/llvm/test/Transforms/InstCombine/switch-constant-expr.ll b/llvm/test/Transforms/InstCombine/switch-constant-expr.ll index c2ea83b2adbd..a4f1869262cd 100644 --- a/llvm/test/Transforms/InstCombine/switch-constant-expr.ll +++ b/llvm/test/Transforms/InstCombine/switch-constant-expr.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s @g = global i32 0 diff --git a/llvm/test/Transforms/InstCombine/switch-truncate-crash.ll b/llvm/test/Transforms/InstCombine/switch-truncate-crash.ll index cc3c1ff28ed2..625955aa7372 100644 --- a/llvm/test/Transforms/InstCombine/switch-truncate-crash.ll +++ b/llvm/test/Transforms/InstCombine/switch-truncate-crash.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine < %s +; RUN: opt -passes=instcombine < %s define void @test() { switch i32 0, label %out [i32 0, label %out] diff --git a/llvm/test/Transforms/InstCombine/tan-nofastmath.ll b/llvm/test/Transforms/InstCombine/tan-nofastmath.ll index 0fe7b2c1d522..514ff4e40d61 100644 --- a/llvm/test/Transforms/InstCombine/tan-nofastmath.ll +++ b/llvm/test/Transforms/InstCombine/tan-nofastmath.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define float @mytan(float %x) { entry: diff --git a/llvm/test/Transforms/InstCombine/tan.ll b/llvm/test/Transforms/InstCombine/tan.ll index 6ea116839fe9..d695ed8d0a2f 100644 --- a/llvm/test/Transforms/InstCombine/tan.ll +++ b/llvm/test/Transforms/InstCombine/tan.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define float @mytan(float %x) { %call = call fast float @atanf(float %x) diff --git a/llvm/test/Transforms/InstCombine/tbaa-store-to-load.ll b/llvm/test/Transforms/InstCombine/tbaa-store-to-load.ll index 696a1643a71b..922243e66ec2 100644 --- a/llvm/test/Transforms/InstCombine/tbaa-store-to-load.ll +++ b/llvm/test/Transforms/InstCombine/tbaa-store-to-load.ll @@ -1,4 +1,4 @@ -; RUN: opt -S -instcombine < %s 2>&1 | FileCheck %s +; RUN: opt -S -passes=instcombine < %s 2>&1 | FileCheck %s define i64 @f(i64* %p1, i64* %p2) { top: diff --git a/llvm/test/Transforms/InstCombine/tmp-alloca-bypass.ll b/llvm/test/Transforms/InstCombine/tmp-alloca-bypass.ll index 7fb531d7fa08..2d06ea0b492b 100644 --- a/llvm/test/Transforms/InstCombine/tmp-alloca-bypass.ll +++ b/llvm/test/Transforms/InstCombine/tmp-alloca-bypass.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; See https://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20210412/904154.html ; When replacing an allocation that is only modified by a memcpy/memmove from diff --git a/llvm/test/Transforms/InstCombine/toascii-1.ll b/llvm/test/Transforms/InstCombine/toascii-1.ll index f5e18983e122..0dad123ff228 100644 --- a/llvm/test/Transforms/InstCombine/toascii-1.ll +++ b/llvm/test/Transforms/InstCombine/toascii-1.ll @@ -1,6 +1,6 @@ ; Test that the toascii library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/token.ll b/llvm/test/Transforms/InstCombine/token.ll index d8393b34ed37..dda712e3850a 100644 --- a/llvm/test/Transforms/InstCombine/token.ll +++ b/llvm/test/Transforms/InstCombine/token.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-windows-msvc18.0.0" diff --git a/llvm/test/Transforms/InstCombine/trivial-dse-calls.ll b/llvm/test/Transforms/InstCombine/trivial-dse-calls.ll index 29755575ddd9..2c57ea07923a 100644 --- a/llvm/test/Transforms/InstCombine/trivial-dse-calls.ll +++ b/llvm/test/Transforms/InstCombine/trivial-dse-calls.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s declare void @llvm.lifetime.start.p0i8(i64 immarg, i8* nocapture) declare void @llvm.lifetime.end.p0i8(i64 immarg, i8* nocapture) diff --git a/llvm/test/Transforms/InstCombine/trunc-binop-ext.ll b/llvm/test/Transforms/InstCombine/trunc-binop-ext.ll index 570153163ab9..787df081eef2 100644 --- a/llvm/test/Transforms/InstCombine/trunc-binop-ext.ll +++ b/llvm/test/Transforms/InstCombine/trunc-binop-ext.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i16 @narrow_sext_and(i16 %x16, i32 %y32) { ; CHECK-LABEL: @narrow_sext_and( diff --git a/llvm/test/Transforms/InstCombine/trunc-demand.ll b/llvm/test/Transforms/InstCombine/trunc-demand.ll index e8df45b76a97..b20b3b49e904 100644 --- a/llvm/test/Transforms/InstCombine/trunc-demand.ll +++ b/llvm/test/Transforms/InstCombine/trunc-demand.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use6(i6) declare void @use8(i8) diff --git a/llvm/test/Transforms/InstCombine/trunc-extractelement-inseltpoison.ll b/llvm/test/Transforms/InstCombine/trunc-extractelement-inseltpoison.ll index 8ba868c9f017..6682e7f3a0d9 100644 --- a/llvm/test/Transforms/InstCombine/trunc-extractelement-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/trunc-extractelement-inseltpoison.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S -data-layout="e" | FileCheck %s --check-prefixes=ANY,LE -; RUN: opt < %s -instcombine -S -data-layout="E" | FileCheck %s --check-prefixes=ANY,BE +; RUN: opt < %s -passes=instcombine -S -data-layout="e" | FileCheck %s --check-prefixes=ANY,LE +; RUN: opt < %s -passes=instcombine -S -data-layout="E" | FileCheck %s --check-prefixes=ANY,BE define i32 @shrinkExtractElt_i64_to_i32_0(<3 x i64> %x) { ; LE-LABEL: @shrinkExtractElt_i64_to_i32_0( diff --git a/llvm/test/Transforms/InstCombine/trunc-extractelement.ll b/llvm/test/Transforms/InstCombine/trunc-extractelement.ll index df3b70277b23..38882de08a47 100644 --- a/llvm/test/Transforms/InstCombine/trunc-extractelement.ll +++ b/llvm/test/Transforms/InstCombine/trunc-extractelement.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S -data-layout="e" | FileCheck %s --check-prefixes=ANY,LE -; RUN: opt < %s -instcombine -S -data-layout="E" | FileCheck %s --check-prefixes=ANY,BE +; RUN: opt < %s -passes=instcombine -S -data-layout="e" | FileCheck %s --check-prefixes=ANY,LE +; RUN: opt < %s -passes=instcombine -S -data-layout="E" | FileCheck %s --check-prefixes=ANY,BE define i32 @shrinkExtractElt_i64_to_i32_0(<3 x i64> %x) { ; LE-LABEL: @shrinkExtractElt_i64_to_i32_0( diff --git a/llvm/test/Transforms/InstCombine/trunc-inseltpoison.ll b/llvm/test/Transforms/InstCombine/trunc-inseltpoison.ll index 00dd7bf1c9ae..647f63c55b31 100644 --- a/llvm/test/Transforms/InstCombine/trunc-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/trunc-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" ; Instcombine should be able to eliminate all of these ext casts. diff --git a/llvm/test/Transforms/InstCombine/trunc-load.ll b/llvm/test/Transforms/InstCombine/trunc-load.ll index b56e7959b75e..954c63bace5a 100644 --- a/llvm/test/Transforms/InstCombine/trunc-load.ll +++ b/llvm/test/Transforms/InstCombine/trunc-load.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S -data-layout="e-n16:32:64" | FileCheck %s -; RUN: opt < %s -instcombine -S -data-layout="E-n16:32:64" | FileCheck %s +; RUN: opt < %s -passes=instcombine -S -data-layout="e-n16:32:64" | FileCheck %s +; RUN: opt < %s -passes=instcombine -S -data-layout="E-n16:32:64" | FileCheck %s ; Don't narrow if it would lose information about the dereferenceable range of the pointer. diff --git a/llvm/test/Transforms/InstCombine/trunc-shift-trunc.ll b/llvm/test/Transforms/InstCombine/trunc-shift-trunc.ll index 269b4619974b..756f5dcf2b27 100644 --- a/llvm/test/Transforms/InstCombine/trunc-shift-trunc.ll +++ b/llvm/test/Transforms/InstCombine/trunc-shift-trunc.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" ; Perform the shift first and merge the truncs as long as all zero/sign diff --git a/llvm/test/Transforms/InstCombine/trunc.ll b/llvm/test/Transforms/InstCombine/trunc.ll index dffcd03f709a..313265adc4b7 100644 --- a/llvm/test/Transforms/InstCombine/trunc.ll +++ b/llvm/test/Transforms/InstCombine/trunc.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" ; Instcombine should be able to eliminate all of these ext casts. diff --git a/llvm/test/Transforms/InstCombine/truncating-saturate.ll b/llvm/test/Transforms/InstCombine/truncating-saturate.ll index 0446b21a33d3..6786824410da 100644 --- a/llvm/test/Transforms/InstCombine/truncating-saturate.ll +++ b/llvm/test/Transforms/InstCombine/truncating-saturate.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" declare void @use(i32) diff --git a/llvm/test/Transforms/InstCombine/type_pun-inseltpoison.ll b/llvm/test/Transforms/InstCombine/type_pun-inseltpoison.ll index 9263fad07361..665844b31494 100644 --- a/llvm/test/Transforms/InstCombine/type_pun-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/type_pun-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Ensure that type punning using a union of vector and same-sized array ; generates an extract instead of a shuffle with an uncommon vector size: diff --git a/llvm/test/Transforms/InstCombine/type_pun.ll b/llvm/test/Transforms/InstCombine/type_pun.ll index 1f1912eeb89a..6fc878aeae65 100644 --- a/llvm/test/Transforms/InstCombine/type_pun.ll +++ b/llvm/test/Transforms/InstCombine/type_pun.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Ensure that type punning using a union of vector and same-sized array ; generates an extract instead of a shuffle with an uncommon vector size: diff --git a/llvm/test/Transforms/InstCombine/uadd-with-overflow.ll b/llvm/test/Transforms/InstCombine/uadd-with-overflow.ll index b306cb619f8c..71f886edd7c6 100644 --- a/llvm/test/Transforms/InstCombine/uadd-with-overflow.ll +++ b/llvm/test/Transforms/InstCombine/uadd-with-overflow.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare { <2 x i32>, <2 x i1> } @llvm.uadd.with.overflow.v2i32(<2 x i32>, <2 x i32>) diff --git a/llvm/test/Transforms/InstCombine/uaddo.ll b/llvm/test/Transforms/InstCombine/uaddo.ll index be8e0e675882..a564aca9b5d7 100644 --- a/llvm/test/Transforms/InstCombine/uaddo.ll +++ b/llvm/test/Transforms/InstCombine/uaddo.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @uaddo_commute1(i32 %x, i32 %y, i32 %z) { ; CHECK-LABEL: @uaddo_commute1( diff --git a/llvm/test/Transforms/InstCombine/uaddo2.ll b/llvm/test/Transforms/InstCombine/uaddo2.ll index 2e3cac6a8cad..6edb24eaab21 100644 --- a/llvm/test/Transforms/InstCombine/uaddo2.ll +++ b/llvm/test/Transforms/InstCombine/uaddo2.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare { i64, i1 } @llvm.uadd.with.overflow.i64(i64, i64) declare { i8, i1 } @llvm.uadd.with.overflow.i8(i8, i8) diff --git a/llvm/test/Transforms/InstCombine/udiv-pow2-vscale-inseltpoison.ll b/llvm/test/Transforms/InstCombine/udiv-pow2-vscale-inseltpoison.ll index a01c53305f5e..b4a4a1be9f80 100644 --- a/llvm/test/Transforms/InstCombine/udiv-pow2-vscale-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/udiv-pow2-vscale-inseltpoison.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; This vscale udiv with a power-of-2 spalt on the rhs should not crash opt diff --git a/llvm/test/Transforms/InstCombine/udiv-pow2-vscale.ll b/llvm/test/Transforms/InstCombine/udiv-pow2-vscale.ll index f8f93150417c..1d9411df6c3d 100644 --- a/llvm/test/Transforms/InstCombine/udiv-pow2-vscale.ll +++ b/llvm/test/Transforms/InstCombine/udiv-pow2-vscale.ll @@ -1,4 +1,4 @@ -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; This vscale udiv with a power-of-2 spalt on the rhs should not crash opt diff --git a/llvm/test/Transforms/InstCombine/udiv-simplify.ll b/llvm/test/Transforms/InstCombine/udiv-simplify.ll index 96bc4798541f..673fe2fd89d8 100644 --- a/llvm/test/Transforms/InstCombine/udiv-simplify.ll +++ b/llvm/test/Transforms/InstCombine/udiv-simplify.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i64 @test1(i32 %x) nounwind { ; CHECK-LABEL: @test1( diff --git a/llvm/test/Transforms/InstCombine/udiv_select_to_select_shift.ll b/llvm/test/Transforms/InstCombine/udiv_select_to_select_shift.ll index 0996fd59a77f..fa545122278d 100644 --- a/llvm/test/Transforms/InstCombine/udiv_select_to_select_shift.ll +++ b/llvm/test/Transforms/InstCombine/udiv_select_to_select_shift.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Test that this transform works: ; udiv X, (Select Cond, C1, C2) --> Select Cond, (shr X, C1), (shr X, C2) diff --git a/llvm/test/Transforms/InstCombine/udivrem-change-width.ll b/llvm/test/Transforms/InstCombine/udivrem-change-width.ll index d96f9debadef..2eee0314cd9c 100644 --- a/llvm/test/Transforms/InstCombine/udivrem-change-width.ll +++ b/llvm/test/Transforms/InstCombine/udivrem-change-width.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "n8:32" diff --git a/llvm/test/Transforms/InstCombine/umax-icmp.ll b/llvm/test/Transforms/InstCombine/umax-icmp.ll index 91ed8594b997..2e6770b5a9bc 100644 --- a/llvm/test/Transforms/InstCombine/umax-icmp.ll +++ b/llvm/test/Transforms/InstCombine/umax-icmp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; If we have a umax feeding an unsigned or equality icmp that shares an ; operand with the umax, the compare should always be folded. diff --git a/llvm/test/Transforms/InstCombine/umin-icmp.ll b/llvm/test/Transforms/InstCombine/umin-icmp.ll index ef53d1635b22..64f2e3135829 100644 --- a/llvm/test/Transforms/InstCombine/umin-icmp.ll +++ b/llvm/test/Transforms/InstCombine/umin-icmp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; If we have a umin feeding an unsigned or equality icmp that shares an ; operand with the umin, the compare should always be folded. diff --git a/llvm/test/Transforms/InstCombine/umul-sign-check.ll b/llvm/test/Transforms/InstCombine/umul-sign-check.ll index 8fa659396f2e..e1eafa0b1612 100644 --- a/llvm/test/Transforms/InstCombine/umul-sign-check.ll +++ b/llvm/test/Transforms/InstCombine/umul-sign-check.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S %s | FileCheck %s +; RUN: opt -passes=instcombine -S %s | FileCheck %s ; Check that we simplify llvm.umul.with.overflow, if the overflow check is ; weakened by or (icmp ne %res, 0) %overflow. This is generated by code using diff --git a/llvm/test/Transforms/InstCombine/umulo.ll b/llvm/test/Transforms/InstCombine/umulo.ll index 3fb0b9443a90..8a5747da2520 100644 --- a/llvm/test/Transforms/InstCombine/umulo.ll +++ b/llvm/test/Transforms/InstCombine/umulo.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) declare { i8, i1 } @llvm.umul.with.overflow.i8(i8, i8) diff --git a/llvm/test/Transforms/InstCombine/unavailable-debug.ll b/llvm/test/Transforms/InstCombine/unavailable-debug.ll index e3f0d7cf22d9..bb615ebd3bc4 100644 --- a/llvm/test/Transforms/InstCombine/unavailable-debug.ll +++ b/llvm/test/Transforms/InstCombine/unavailable-debug.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Make sure to update the debug value after dead code elimination. ; CHECK: %call = call signext i8 @b(i32 6), !dbg !39 diff --git a/llvm/test/Transforms/InstCombine/unfold-masked-merge-with-const-mask-scalar.ll b/llvm/test/Transforms/InstCombine/unfold-masked-merge-with-const-mask-scalar.ll index b78b497135e8..b2309373bec3 100644 --- a/llvm/test/Transforms/InstCombine/unfold-masked-merge-with-const-mask-scalar.ll +++ b/llvm/test/Transforms/InstCombine/unfold-masked-merge-with-const-mask-scalar.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have a masked merge, in the form of: (M is constant) ; ((x ^ y) & M) ^ y diff --git a/llvm/test/Transforms/InstCombine/unfold-masked-merge-with-const-mask-vector.ll b/llvm/test/Transforms/InstCombine/unfold-masked-merge-with-const-mask-vector.ll index ef27891c1a80..da8803739c94 100644 --- a/llvm/test/Transforms/InstCombine/unfold-masked-merge-with-const-mask-vector.ll +++ b/llvm/test/Transforms/InstCombine/unfold-masked-merge-with-const-mask-vector.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; If we have a masked merge, in the form of: (M is constant) ; ((x ^ y) & M) ^ y diff --git a/llvm/test/Transforms/InstCombine/unordered-fcmp-select.ll b/llvm/test/Transforms/InstCombine/unordered-fcmp-select.ll index d2e1518cda1c..fd3df3b17a56 100644 --- a/llvm/test/Transforms/InstCombine/unordered-fcmp-select.ll +++ b/llvm/test/Transforms/InstCombine/unordered-fcmp-select.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s define float @select_max_ugt(float %a, float %b) { ; CHECK-LABEL: define {{[^@]+}}@select_max_ugt( diff --git a/llvm/test/Transforms/InstCombine/unpack-fca.ll b/llvm/test/Transforms/InstCombine/unpack-fca.ll index 34b43a5145c2..afe51c0cebf0 100644 --- a/llvm/test/Transforms/InstCombine/unpack-fca.ll +++ b/llvm/test/Transforms/InstCombine/unpack-fca.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s target datalayout = "e-i64:64-f80:128-n8:16:32:64" target triple = "x86_64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/unreachable-dbg-info-modified.ll b/llvm/test/Transforms/InstCombine/unreachable-dbg-info-modified.ll index 01c99733301e..c0fedc624eae 100644 --- a/llvm/test/Transforms/InstCombine/unreachable-dbg-info-modified.ll +++ b/llvm/test/Transforms/InstCombine/unreachable-dbg-info-modified.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; When removing the llvm.dbg.value intrinsic in the unreachable block ; InstCombine would incorrectly return a false Modified status. diff --git a/llvm/test/Transforms/InstCombine/unrecognized_three-way-comparison.ll b/llvm/test/Transforms/InstCombine/unrecognized_three-way-comparison.ll index 14e0b5573946..84d9e3ca7496 100644 --- a/llvm/test/Transforms/InstCombine/unrecognized_three-way-comparison.ll +++ b/llvm/test/Transforms/InstCombine/unrecognized_three-way-comparison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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:128:128" diff --git a/llvm/test/Transforms/InstCombine/unsigned-add-lack-of-overflow-check-via-add.ll b/llvm/test/Transforms/InstCombine/unsigned-add-lack-of-overflow-check-via-add.ll index 47fcabcf6ba7..c5be9a7b769c 100644 --- a/llvm/test/Transforms/InstCombine/unsigned-add-lack-of-overflow-check-via-add.ll +++ b/llvm/test/Transforms/InstCombine/unsigned-add-lack-of-overflow-check-via-add.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Should fold ; (%x + %y) u>= %x diff --git a/llvm/test/Transforms/InstCombine/unsigned-add-lack-of-overflow-check-via-xor.ll b/llvm/test/Transforms/InstCombine/unsigned-add-lack-of-overflow-check-via-xor.ll index 71ebd74dda44..1b41f609705e 100644 --- a/llvm/test/Transforms/InstCombine/unsigned-add-lack-of-overflow-check-via-xor.ll +++ b/llvm/test/Transforms/InstCombine/unsigned-add-lack-of-overflow-check-via-xor.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Should fold ; (%y ^ -1) u>= %x diff --git a/llvm/test/Transforms/InstCombine/unsigned-add-lack-of-overflow-check.ll b/llvm/test/Transforms/InstCombine/unsigned-add-lack-of-overflow-check.ll index e76fcbad61c8..6dde54b17c9e 100644 --- a/llvm/test/Transforms/InstCombine/unsigned-add-lack-of-overflow-check.ll +++ b/llvm/test/Transforms/InstCombine/unsigned-add-lack-of-overflow-check.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Should fold ; (%x + %y) u>= %x diff --git a/llvm/test/Transforms/InstCombine/unsigned-add-overflow-check-via-add.ll b/llvm/test/Transforms/InstCombine/unsigned-add-overflow-check-via-add.ll index 86eeea93fc15..23b89b7c1e65 100644 --- a/llvm/test/Transforms/InstCombine/unsigned-add-overflow-check-via-add.ll +++ b/llvm/test/Transforms/InstCombine/unsigned-add-overflow-check-via-add.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Should fold ; (%x + %y) u< %x diff --git a/llvm/test/Transforms/InstCombine/unsigned-add-overflow-check-via-xor.ll b/llvm/test/Transforms/InstCombine/unsigned-add-overflow-check-via-xor.ll index f6b2edbb3a9a..646bd635807a 100644 --- a/llvm/test/Transforms/InstCombine/unsigned-add-overflow-check-via-xor.ll +++ b/llvm/test/Transforms/InstCombine/unsigned-add-overflow-check-via-xor.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Should fold ; (%y ^ -1) u< %x diff --git a/llvm/test/Transforms/InstCombine/unsigned-add-overflow-check.ll b/llvm/test/Transforms/InstCombine/unsigned-add-overflow-check.ll index 152ed89c6f37..3533c6a54a22 100644 --- a/llvm/test/Transforms/InstCombine/unsigned-add-overflow-check.ll +++ b/llvm/test/Transforms/InstCombine/unsigned-add-overflow-check.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Should fold ; (%x + %y) u< %x diff --git a/llvm/test/Transforms/InstCombine/unsigned-mul-lack-of-overflow-check-via-mul-udiv.ll b/llvm/test/Transforms/InstCombine/unsigned-mul-lack-of-overflow-check-via-mul-udiv.ll index 0024ad0530e7..da5ebe909d22 100644 --- a/llvm/test/Transforms/InstCombine/unsigned-mul-lack-of-overflow-check-via-mul-udiv.ll +++ b/llvm/test/Transforms/InstCombine/unsigned-mul-lack-of-overflow-check-via-mul-udiv.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Fold ; ((%x * %y) u/ %x) == %y diff --git a/llvm/test/Transforms/InstCombine/unsigned-mul-lack-of-overflow-check-via-udiv-of-allones.ll b/llvm/test/Transforms/InstCombine/unsigned-mul-lack-of-overflow-check-via-udiv-of-allones.ll index 38e1b10bc3ea..103711b7a098 100644 --- a/llvm/test/Transforms/InstCombine/unsigned-mul-lack-of-overflow-check-via-udiv-of-allones.ll +++ b/llvm/test/Transforms/InstCombine/unsigned-mul-lack-of-overflow-check-via-udiv-of-allones.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Fold ; (-1 u/ %x) u>= %y diff --git a/llvm/test/Transforms/InstCombine/unsigned-mul-overflow-check-via-mul-udiv.ll b/llvm/test/Transforms/InstCombine/unsigned-mul-overflow-check-via-mul-udiv.ll index 8f9a8461d717..2b883544f413 100644 --- a/llvm/test/Transforms/InstCombine/unsigned-mul-overflow-check-via-mul-udiv.ll +++ b/llvm/test/Transforms/InstCombine/unsigned-mul-overflow-check-via-mul-udiv.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Fold ; ((%x * %y) u/ %x) != %y diff --git a/llvm/test/Transforms/InstCombine/unsigned-mul-overflow-check-via-udiv-of-allones.ll b/llvm/test/Transforms/InstCombine/unsigned-mul-overflow-check-via-udiv-of-allones.ll index 668a44a7c27f..eca94db5ffd4 100644 --- a/llvm/test/Transforms/InstCombine/unsigned-mul-overflow-check-via-udiv-of-allones.ll +++ b/llvm/test/Transforms/InstCombine/unsigned-mul-overflow-check-via-udiv-of-allones.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Fold ; (-1 u/ %x) u< %y diff --git a/llvm/test/Transforms/InstCombine/unsigned-sub-lack-of-overflow-check.ll b/llvm/test/Transforms/InstCombine/unsigned-sub-lack-of-overflow-check.ll index 4f7961995a5f..35b3fa3d4089 100644 --- a/llvm/test/Transforms/InstCombine/unsigned-sub-lack-of-overflow-check.ll +++ b/llvm/test/Transforms/InstCombine/unsigned-sub-lack-of-overflow-check.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Fold ; (%x - %y) u<= %x diff --git a/llvm/test/Transforms/InstCombine/unsigned-sub-overflow-check.ll b/llvm/test/Transforms/InstCombine/unsigned-sub-overflow-check.ll index c27421cece01..ddab069077f9 100644 --- a/llvm/test/Transforms/InstCombine/unsigned-sub-overflow-check.ll +++ b/llvm/test/Transforms/InstCombine/unsigned-sub-overflow-check.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Fold ; (%x - %y) u> %x diff --git a/llvm/test/Transforms/InstCombine/unsigned_saturated_sub.ll b/llvm/test/Transforms/InstCombine/unsigned_saturated_sub.ll index 60da66b7a388..2b440c0e390a 100644 --- a/llvm/test/Transforms/InstCombine/unsigned_saturated_sub.ll +++ b/llvm/test/Transforms/InstCombine/unsigned_saturated_sub.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s ; Canonicalization of unsigned saturated subtraction idioms to ; usub.sat() intrinsics is tested here. diff --git a/llvm/test/Transforms/InstCombine/urem-simplify-bug.ll b/llvm/test/Transforms/InstCombine/urem-simplify-bug.ll index 4f18f3598540..b824c7d00940 100644 --- a/llvm/test/Transforms/InstCombine/urem-simplify-bug.ll +++ b/llvm/test/Transforms/InstCombine/urem-simplify-bug.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s @.str = internal constant [5 x i8] c"foo\0A\00" @.str1 = internal constant [5 x i8] c"bar\0A\00" diff --git a/llvm/test/Transforms/InstCombine/urem-via-udiv-mul-sub.ll b/llvm/test/Transforms/InstCombine/urem-via-udiv-mul-sub.ll index 5c80525b5458..fb2201c8619d 100644 --- a/llvm/test/Transforms/InstCombine/urem-via-udiv-mul-sub.ll +++ b/llvm/test/Transforms/InstCombine/urem-via-udiv-mul-sub.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Fold ; x - ((x / y) * y) diff --git a/llvm/test/Transforms/InstCombine/usub-overflow-known-by-implied-cond.ll b/llvm/test/Transforms/InstCombine/usub-overflow-known-by-implied-cond.ll index 40d65b4f8c21..3e8a16fd4ba1 100644 --- a/llvm/test/Transforms/InstCombine/usub-overflow-known-by-implied-cond.ll +++ b/llvm/test/Transforms/InstCombine/usub-overflow-known-by-implied-cond.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S %s | FileCheck %s +; RUN: opt -passes=instcombine -S %s | FileCheck %s declare { i32, i1 } @llvm.usub.with.overflow.i32(i32, i32) diff --git a/llvm/test/Transforms/InstCombine/usubo.ll b/llvm/test/Transforms/InstCombine/usubo.ll index 38ab25c500c3..dc21a4f55064 100644 --- a/llvm/test/Transforms/InstCombine/usubo.ll +++ b/llvm/test/Transforms/InstCombine/usubo.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare { i64, i1 } @llvm.usub.with.overflow.i64(i64, i64) declare { i8, i1 } @llvm.usub.with.overflow.i8(i8, i8) diff --git a/llvm/test/Transforms/InstCombine/vararg.ll b/llvm/test/Transforms/InstCombine/vararg.ll index dd605fcc5c41..f0f6595db71e 100644 --- a/llvm/test/Transforms/InstCombine/vararg.ll +++ b/llvm/test/Transforms/InstCombine/vararg.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -instcombine-infinite-loop-threshold=3 -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -instcombine-infinite-loop-threshold=3 -S | FileCheck %s %struct.__va_list = type { i8*, i8*, i8*, i32, i32 } diff --git a/llvm/test/Transforms/InstCombine/variable-signext-of-variable-high-bit-extraction.ll b/llvm/test/Transforms/InstCombine/variable-signext-of-variable-high-bit-extraction.ll index 1c135182e55f..358e86a12b26 100644 --- a/llvm/test/Transforms/InstCombine/variable-signext-of-variable-high-bit-extraction.ll +++ b/llvm/test/Transforms/InstCombine/variable-signext-of-variable-high-bit-extraction.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare void @use16(i16) declare void @use32(i32) diff --git a/llvm/test/Transforms/InstCombine/vec-binop-select-inseltpoison.ll b/llvm/test/Transforms/InstCombine/vec-binop-select-inseltpoison.ll index 24835757fb9a..c8b92635d406 100644 --- a/llvm/test/Transforms/InstCombine/vec-binop-select-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/vec-binop-select-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Non-canonical mask diff --git a/llvm/test/Transforms/InstCombine/vec-binop-select.ll b/llvm/test/Transforms/InstCombine/vec-binop-select.ll index 2bd78683cfa2..f8b81afc3902 100644 --- a/llvm/test/Transforms/InstCombine/vec-binop-select.ll +++ b/llvm/test/Transforms/InstCombine/vec-binop-select.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Non-canonical mask diff --git a/llvm/test/Transforms/InstCombine/vec_demanded_elts-inseltpoison.ll b/llvm/test/Transforms/InstCombine/vec_demanded_elts-inseltpoison.ll index 1c0cb17c62cf..463e46e6782c 100644 --- a/llvm/test/Transforms/InstCombine/vec_demanded_elts-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/vec_demanded_elts-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" define i32 @test2(float %f) { diff --git a/llvm/test/Transforms/InstCombine/vec_demanded_elts.ll b/llvm/test/Transforms/InstCombine/vec_demanded_elts.ll index 17b3bdf979e4..0e3645788e4a 100644 --- a/llvm/test/Transforms/InstCombine/vec_demanded_elts.ll +++ b/llvm/test/Transforms/InstCombine/vec_demanded_elts.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" define i32 @test2(float %f) { diff --git a/llvm/test/Transforms/InstCombine/vec_extract_2elts.ll b/llvm/test/Transforms/InstCombine/vec_extract_2elts.ll index 00a6efa9877f..302d0525cb71 100644 --- a/llvm/test/Transforms/InstCombine/vec_extract_2elts.ll +++ b/llvm/test/Transforms/InstCombine/vec_extract_2elts.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define void @test(<4 x i32> %v, i64 *%r1, i64 *%r2) { ; CHECK-LABEL: @test( diff --git a/llvm/test/Transforms/InstCombine/vec_extract_var_elt-inseltpoison.ll b/llvm/test/Transforms/InstCombine/vec_extract_var_elt-inseltpoison.ll index 48b2513a00d7..73f43b7d3926 100644 --- a/llvm/test/Transforms/InstCombine/vec_extract_var_elt-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/vec_extract_var_elt-inseltpoison.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define void @test (float %b, <8 x float> * %p) { ; CHECK: extractelement diff --git a/llvm/test/Transforms/InstCombine/vec_extract_var_elt.ll b/llvm/test/Transforms/InstCombine/vec_extract_var_elt.ll index 5c0610ff48bb..95cd06b546ce 100644 --- a/llvm/test/Transforms/InstCombine/vec_extract_var_elt.ll +++ b/llvm/test/Transforms/InstCombine/vec_extract_var_elt.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define void @test (float %b, <8 x float> * %p) { ; CHECK: extractelement diff --git a/llvm/test/Transforms/InstCombine/vec_gep_scalar_arg-inseltpoison.ll b/llvm/test/Transforms/InstCombine/vec_gep_scalar_arg-inseltpoison.ll index 5a940b162dec..d7a302d0c60a 100644 --- a/llvm/test/Transforms/InstCombine/vec_gep_scalar_arg-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/vec_gep_scalar_arg-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s define <4 x i16*> @PR41270([4 x i16]* %x) { ; CHECK-LABEL: @PR41270( diff --git a/llvm/test/Transforms/InstCombine/vec_gep_scalar_arg.ll b/llvm/test/Transforms/InstCombine/vec_gep_scalar_arg.ll index 7f66fc0c9688..b4b61d3dfe6a 100644 --- a/llvm/test/Transforms/InstCombine/vec_gep_scalar_arg.ll +++ b/llvm/test/Transforms/InstCombine/vec_gep_scalar_arg.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s define <4 x i16*> @PR41270([4 x i16]* %x) { ; CHECK-LABEL: @PR41270( diff --git a/llvm/test/Transforms/InstCombine/vec_phi_extract-inseltpoison.ll b/llvm/test/Transforms/InstCombine/vec_phi_extract-inseltpoison.ll index f2c46e434033..df990b3c4cd2 100644 --- a/llvm/test/Transforms/InstCombine/vec_phi_extract-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/vec_phi_extract-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define void @f(i64 %val, i32 %limit, i32 *%ptr) { ; CHECK-LABEL: @f( diff --git a/llvm/test/Transforms/InstCombine/vec_phi_extract.ll b/llvm/test/Transforms/InstCombine/vec_phi_extract.ll index 2a88cdd9889c..39b0e3d07b30 100644 --- a/llvm/test/Transforms/InstCombine/vec_phi_extract.ll +++ b/llvm/test/Transforms/InstCombine/vec_phi_extract.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define void @f(i64 %val, i32 %limit, i32 *%ptr) { ; CHECK-LABEL: @f( diff --git a/llvm/test/Transforms/InstCombine/vec_sext.ll b/llvm/test/Transforms/InstCombine/vec_sext.ll index 93107e38365e..8b029a7caa37 100644 --- a/llvm/test/Transforms/InstCombine/vec_sext.ll +++ b/llvm/test/Transforms/InstCombine/vec_sext.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define <4 x i32> @vec_select(<4 x i32> %a, <4 x i32> %b) { ; CHECK-LABEL: @vec_select( diff --git a/llvm/test/Transforms/InstCombine/vec_shuffle-inseltpoison.ll b/llvm/test/Transforms/InstCombine/vec_shuffle-inseltpoison.ll index d4a1a363eac6..fe57994e3770 100644 --- a/llvm/test/Transforms/InstCombine/vec_shuffle-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/vec_shuffle-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define <4 x float> @test1(<4 x float> %v1) { ; CHECK-LABEL: @test1( diff --git a/llvm/test/Transforms/InstCombine/vec_shuffle.ll b/llvm/test/Transforms/InstCombine/vec_shuffle.ll index 71d02da325b2..239aa58c1313 100644 --- a/llvm/test/Transforms/InstCombine/vec_shuffle.ll +++ b/llvm/test/Transforms/InstCombine/vec_shuffle.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define <4 x float> @test1(<4 x float> %v1) { ; CHECK-LABEL: @test1( diff --git a/llvm/test/Transforms/InstCombine/vec_udiv_to_shift.ll b/llvm/test/Transforms/InstCombine/vec_udiv_to_shift.ll index 2f9a0ef3e90b..116d53105011 100644 --- a/llvm/test/Transforms/InstCombine/vec_udiv_to_shift.ll +++ b/llvm/test/Transforms/InstCombine/vec_udiv_to_shift.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define <8 x i16> @udiv_vec8x16(<8 x i16> %var) { entry: diff --git a/llvm/test/Transforms/InstCombine/vector-casts-inseltpoison.ll b/llvm/test/Transforms/InstCombine/vector-casts-inseltpoison.ll index 4c2425374b7f..b24fe0aecf5f 100644 --- a/llvm/test/Transforms/InstCombine/vector-casts-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/vector-casts-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Can't get smaller than this. diff --git a/llvm/test/Transforms/InstCombine/vector-casts.ll b/llvm/test/Transforms/InstCombine/vector-casts.ll index 177e187556b6..e76e250d11ab 100644 --- a/llvm/test/Transforms/InstCombine/vector-casts.ll +++ b/llvm/test/Transforms/InstCombine/vector-casts.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Can't get smaller than this. diff --git a/llvm/test/Transforms/InstCombine/vector-concat-binop-inseltpoison.ll b/llvm/test/Transforms/InstCombine/vector-concat-binop-inseltpoison.ll index 83a4f7a4a5e5..350b921c7192 100644 --- a/llvm/test/Transforms/InstCombine/vector-concat-binop-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/vector-concat-binop-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine %s | FileCheck %s +; RUN: opt -S -passes=instcombine %s | FileCheck %s define <4 x i8> @add(<2 x i8> %a, <2 x i8> %b, <2 x i8> %c, <2 x i8> %d) { ; CHECK-LABEL: @add( diff --git a/llvm/test/Transforms/InstCombine/vector-concat-binop.ll b/llvm/test/Transforms/InstCombine/vector-concat-binop.ll index c2b0f0c21455..2d097e783c4c 100644 --- a/llvm/test/Transforms/InstCombine/vector-concat-binop.ll +++ b/llvm/test/Transforms/InstCombine/vector-concat-binop.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine %s | FileCheck %s +; RUN: opt -S -passes=instcombine %s | FileCheck %s define <4 x i8> @add(<2 x i8> %a, <2 x i8> %b, <2 x i8> %c, <2 x i8> %d) { ; CHECK-LABEL: @add( diff --git a/llvm/test/Transforms/InstCombine/vector-logical-reductions.ll b/llvm/test/Transforms/InstCombine/vector-logical-reductions.ll index f8127765a5ba..2a8719ee6e5e 100644 --- a/llvm/test/Transforms/InstCombine/vector-logical-reductions.ll +++ b/llvm/test/Transforms/InstCombine/vector-logical-reductions.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i1 @reduction_logical_or(<4 x i1> %x) { ; CHECK-LABEL: @reduction_logical_or( diff --git a/llvm/test/Transforms/InstCombine/vector-mul.ll b/llvm/test/Transforms/InstCombine/vector-mul.ll index d9809281edbd..4640e19011b0 100644 --- a/llvm/test/Transforms/InstCombine/vector-mul.ll +++ b/llvm/test/Transforms/InstCombine/vector-mul.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Check that instcombine rewrites multiply by a vector ; of known constant power-of-2 elements with vector shift. diff --git a/llvm/test/Transforms/InstCombine/vector-reductions.ll b/llvm/test/Transforms/InstCombine/vector-reductions.ll index 02551c630c8a..b5422ee9b482 100644 --- a/llvm/test/Transforms/InstCombine/vector-reductions.ll +++ b/llvm/test/Transforms/InstCombine/vector-reductions.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare float @llvm.vector.reduce.fadd.f32.v4f32(float, <4 x float>) declare float @llvm.vector.reduce.fadd.f32.v8f32(float, <8 x float>) diff --git a/llvm/test/Transforms/InstCombine/vector-reverse.ll b/llvm/test/Transforms/InstCombine/vector-reverse.ll index a1fd9d86cba8..309c91249b52 100644 --- a/llvm/test/Transforms/InstCombine/vector-reverse.ll +++ b/llvm/test/Transforms/InstCombine/vector-reverse.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Test that the reverse is eliminated if the output and all the inputs ; of the instruction are calls to reverse. diff --git a/llvm/test/Transforms/InstCombine/vector-type.ll b/llvm/test/Transforms/InstCombine/vector-type.ll index 59a4bdd19e70..d5ca9c12d8fa 100644 --- a/llvm/test/Transforms/InstCombine/vector-type.ll +++ b/llvm/test/Transforms/InstCombine/vector-type.ll @@ -1,7 +1,7 @@ ; The code in InstCombiner::FoldSelectOpOp was calling ; Type::getVectorNumElements without checking first if the type was a vector. -; RUN: opt < %s -instcombine -S +; RUN: opt < %s -passes=instcombine -S define i32 @vselect1(i32 %a.coerce, i32 %b.coerce, i32 %c.coerce) { entry: diff --git a/llvm/test/Transforms/InstCombine/vector-udiv.ll b/llvm/test/Transforms/InstCombine/vector-udiv.ll index e8e5f067101a..c3468e95ba3d 100644 --- a/llvm/test/Transforms/InstCombine/vector-udiv.ll +++ b/llvm/test/Transforms/InstCombine/vector-udiv.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define <4 x i32> @test_v4i32_splatconst_pow2(<4 x i32> %a0) { ; CHECK-LABEL: @test_v4i32_splatconst_pow2( diff --git a/llvm/test/Transforms/InstCombine/vector-urem.ll b/llvm/test/Transforms/InstCombine/vector-urem.ll index 619fad8f6199..b6116c17b4c2 100644 --- a/llvm/test/Transforms/InstCombine/vector-urem.ll +++ b/llvm/test/Transforms/InstCombine/vector-urem.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define <4 x i32> @test_v4i32_splatconst_pow2(<4 x i32> %a0) { ; CHECK-LABEL: @test_v4i32_splatconst_pow2( diff --git a/llvm/test/Transforms/InstCombine/vector-xor.ll b/llvm/test/Transforms/InstCombine/vector-xor.ll index 61ced0262e3a..5dfabc942ed7 100644 --- a/llvm/test/Transforms/InstCombine/vector-xor.ll +++ b/llvm/test/Transforms/InstCombine/vector-xor.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; (A&B)^(A&C) -> A&(B^C) etc diff --git a/llvm/test/Transforms/InstCombine/vector_gep1-inseltpoison.ll b/llvm/test/Transforms/InstCombine/vector_gep1-inseltpoison.ll index 014e6e96b2ac..cfa4f35dab23 100644 --- a/llvm/test/Transforms/InstCombine/vector_gep1-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/vector_gep1-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" diff --git a/llvm/test/Transforms/InstCombine/vector_gep1.ll b/llvm/test/Transforms/InstCombine/vector_gep1.ll index bd1df0b98ffd..b5139873eaec 100644 --- a/llvm/test/Transforms/InstCombine/vector_gep1.ll +++ b/llvm/test/Transforms/InstCombine/vector_gep1.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" diff --git a/llvm/test/Transforms/InstCombine/vector_gep2.ll b/llvm/test/Transforms/InstCombine/vector_gep2.ll index dcbcf0c4000e..bdda3578871b 100644 --- a/llvm/test/Transforms/InstCombine/vector_gep2.ll +++ b/llvm/test/Transforms/InstCombine/vector_gep2.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" diff --git a/llvm/test/Transforms/InstCombine/vector_insertelt_shuffle-inseltpoison.ll b/llvm/test/Transforms/InstCombine/vector_insertelt_shuffle-inseltpoison.ll index 1cd6456ee46c..c7b6a722ddc3 100644 --- a/llvm/test/Transforms/InstCombine/vector_insertelt_shuffle-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/vector_insertelt_shuffle-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; insertelements should fold to shuffle define <4 x float> @foo(<4 x float> %x) { diff --git a/llvm/test/Transforms/InstCombine/vector_insertelt_shuffle.ll b/llvm/test/Transforms/InstCombine/vector_insertelt_shuffle.ll index 2a71e103c5c9..f745a4036421 100644 --- a/llvm/test/Transforms/InstCombine/vector_insertelt_shuffle.ll +++ b/llvm/test/Transforms/InstCombine/vector_insertelt_shuffle.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; insertelements should fold to shuffle define <4 x float> @foo(<4 x float> %x) { diff --git a/llvm/test/Transforms/InstCombine/volatile_load_cast.ll b/llvm/test/Transforms/InstCombine/volatile_load_cast.ll index 7eb0a5427c92..123371ed4fb3 100644 --- a/llvm/test/Transforms/InstCombine/volatile_load_cast.ll +++ b/llvm/test/Transforms/InstCombine/volatile_load_cast.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; Ensure that volatile loads followed by a bitcast don't get transformed into a ; volatile load of the bitcast-target type. This is unlikely to provide much in diff --git a/llvm/test/Transforms/InstCombine/volatile_store.ll b/llvm/test/Transforms/InstCombine/volatile_store.ll index 105ec83056d6..5fa211ff856c 100644 --- a/llvm/test/Transforms/InstCombine/volatile_store.ll +++ b/llvm/test/Transforms/InstCombine/volatile_store.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s @x = weak global i32 0 diff --git a/llvm/test/Transforms/InstCombine/vscale_cmp.ll b/llvm/test/Transforms/InstCombine/vscale_cmp.ll index c0d99e42e304..68224458ee0e 100644 --- a/llvm/test/Transforms/InstCombine/vscale_cmp.ll +++ b/llvm/test/Transforms/InstCombine/vscale_cmp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define @sge( %x) { ; CHECK-LABEL: @sge( diff --git a/llvm/test/Transforms/InstCombine/vscale_extractelement-inseltpoison.ll b/llvm/test/Transforms/InstCombine/vscale_extractelement-inseltpoison.ll index 9bf25d32d749..7338e06fbe60 100644 --- a/llvm/test/Transforms/InstCombine/vscale_extractelement-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/vscale_extractelement-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @extractelement_in_range( %a) { ; CHECK-LABEL: @extractelement_in_range( diff --git a/llvm/test/Transforms/InstCombine/vscale_extractelement.ll b/llvm/test/Transforms/InstCombine/vscale_extractelement.ll index 18d47c18b602..2aad970acf52 100644 --- a/llvm/test/Transforms/InstCombine/vscale_extractelement.ll +++ b/llvm/test/Transforms/InstCombine/vscale_extractelement.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @extractelement_in_range( %a) { ; CHECK-LABEL: @extractelement_in_range( diff --git a/llvm/test/Transforms/InstCombine/vscale_gep.ll b/llvm/test/Transforms/InstCombine/vscale_gep.ll index 65bede711c42..b5d06a095bc1 100644 --- a/llvm/test/Transforms/InstCombine/vscale_gep.ll +++ b/llvm/test/Transforms/InstCombine/vscale_gep.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; This test is used to verify we are not crashing at Assertion `CastInst::castIsValid(opc, C, Ty) && "Invalid constantexpr cast!". define @gep_index_type_is_scalable(i8* %p) { diff --git a/llvm/test/Transforms/InstCombine/vscale_insertelement-inseltpoison.ll b/llvm/test/Transforms/InstCombine/vscale_insertelement-inseltpoison.ll index 576250b78888..73e762f22a38 100644 --- a/llvm/test/Transforms/InstCombine/vscale_insertelement-inseltpoison.ll +++ b/llvm/test/Transforms/InstCombine/vscale_insertelement-inseltpoison.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; This test checks that bitcast is moved after insertelement when both vector and scalar are ; bitcast from the same element type. diff --git a/llvm/test/Transforms/InstCombine/vscale_insertelement.ll b/llvm/test/Transforms/InstCombine/vscale_insertelement.ll index 662d45b2ae28..d7386a5da4ba 100644 --- a/llvm/test/Transforms/InstCombine/vscale_insertelement.ll +++ b/llvm/test/Transforms/InstCombine/vscale_insertelement.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -S -instcombine < %s | FileCheck %s +; RUN: opt -S -passes=instcombine < %s | FileCheck %s ; This test checks that bitcast is moved after insertelement when both vector and scalar are ; bitcast from the same element type. diff --git a/llvm/test/Transforms/InstCombine/vscale_sext_and_zext.ll b/llvm/test/Transforms/InstCombine/vscale_sext_and_zext.ll index b97a81159673..aa224c11ae2f 100644 --- a/llvm/test/Transforms/InstCombine/vscale_sext_and_zext.ll +++ b/llvm/test/Transforms/InstCombine/vscale_sext_and_zext.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; ; Sign-extend diff --git a/llvm/test/Transforms/InstCombine/vscale_trunc.ll b/llvm/test/Transforms/InstCombine/vscale_trunc.ll index c3cec9638a30..626917f75306 100644 --- a/llvm/test/Transforms/InstCombine/vscale_trunc.ll +++ b/llvm/test/Transforms/InstCombine/vscale_trunc.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i8 @vscale_trunc_i32toi8() vscale_range(1, 255) { ; CHECK-LABEL: @vscale_trunc_i32toi8( diff --git a/llvm/test/Transforms/InstCombine/wcslen-1.ll b/llvm/test/Transforms/InstCombine/wcslen-1.ll index 5610681681f2..d40e1552338a 100644 --- a/llvm/test/Transforms/InstCombine/wcslen-1.ll +++ b/llvm/test/Transforms/InstCombine/wcslen-1.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the wcslen library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Transforms/InstCombine/wcslen-2.ll b/llvm/test/Transforms/InstCombine/wcslen-2.ll index 15f1fdbb1ad4..5737f79884b9 100644 --- a/llvm/test/Transforms/InstCombine/wcslen-2.ll +++ b/llvm/test/Transforms/InstCombine/wcslen-2.ll @@ -1,6 +1,6 @@ ; Test that the wcslen library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Transforms/InstCombine/wcslen-3.ll b/llvm/test/Transforms/InstCombine/wcslen-3.ll index 9fd94752c81e..b1546f5f03c8 100644 --- a/llvm/test/Transforms/InstCombine/wcslen-3.ll +++ b/llvm/test/Transforms/InstCombine/wcslen-3.ll @@ -1,7 +1,7 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; Test that the wcslen library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Transforms/InstCombine/wcslen-4.ll b/llvm/test/Transforms/InstCombine/wcslen-4.ll index 07832288965d..e8f86b21e133 100644 --- a/llvm/test/Transforms/InstCombine/wcslen-4.ll +++ b/llvm/test/Transforms/InstCombine/wcslen-4.ll @@ -1,6 +1,6 @@ ; Test that the wcslen library call simplifier works correctly. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Transforms/InstCombine/weak-symbols.ll b/llvm/test/Transforms/InstCombine/weak-symbols.ll index 3f92e64d2ec0..d9abb2d843b1 100644 --- a/llvm/test/Transforms/InstCombine/weak-symbols.ll +++ b/llvm/test/Transforms/InstCombine/weak-symbols.ll @@ -1,7 +1,7 @@ ; PR4738 - Test that the library call simplifier doesn't assume anything about ; weak symbols. ; -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s @real_init = weak_odr constant [2 x i8] c"y\00" @fake_init = weak constant [2 x i8] c"y\00" diff --git a/llvm/test/Transforms/InstCombine/widenable-conditions.ll b/llvm/test/Transforms/InstCombine/widenable-conditions.ll index 6fb847a069f7..df00fba1c49e 100644 --- a/llvm/test/Transforms/InstCombine/widenable-conditions.ll +++ b/llvm/test/Transforms/InstCombine/widenable-conditions.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/llvm/test/Transforms/InstCombine/with_overflow.ll b/llvm/test/Transforms/InstCombine/with_overflow.ll index bff6ce8bc847..df5d40ab326d 100644 --- a/llvm/test/Transforms/InstCombine/with_overflow.ll +++ b/llvm/test/Transforms/InstCombine/with_overflow.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -instcombine -S < %s | FileCheck %s +; RUN: opt -passes=instcombine -S < %s | FileCheck %s declare { i8, i1 } @llvm.uadd.with.overflow.i8(i8, i8) nounwind readnone declare { i8, i1 } @llvm.sadd.with.overflow.i8(i8, i8) nounwind readnone diff --git a/llvm/test/Transforms/InstCombine/xor-ashr.ll b/llvm/test/Transforms/InstCombine/xor-ashr.ll index a4da030ac6c5..5673906f4b11 100644 --- a/llvm/test/Transforms/InstCombine/xor-ashr.ll +++ b/llvm/test/Transforms/InstCombine/xor-ashr.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -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" declare void @use16(i16) diff --git a/llvm/test/Transforms/InstCombine/xor-icmps.ll b/llvm/test/Transforms/InstCombine/xor-icmps.ll index 7f0a8d8cd2a0..1f4c25e47edc 100644 --- a/llvm/test/Transforms/InstCombine/xor-icmps.ll +++ b/llvm/test/Transforms/InstCombine/xor-icmps.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i1 @eq_zero(i4 %x, i4 %y) { ; CHECK-LABEL: @eq_zero( diff --git a/llvm/test/Transforms/InstCombine/xor-of-icmps-with-extra-uses.ll b/llvm/test/Transforms/InstCombine/xor-of-icmps-with-extra-uses.ll index fef919678742..3f47ea355c93 100644 --- a/llvm/test/Transforms/InstCombine/xor-of-icmps-with-extra-uses.ll +++ b/llvm/test/Transforms/InstCombine/xor-of-icmps-with-extra-uses.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -instcombine-infinite-loop-threshold=2 -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -instcombine-infinite-loop-threshold=2 -S | FileCheck %s ; These xor-of-icmps could be replaced with and-of-icmps, but %cond0 has extra ; uses, so we don't consider it, even though some cases are freely invertible. diff --git a/llvm/test/Transforms/InstCombine/xor-undef.ll b/llvm/test/Transforms/InstCombine/xor-undef.ll index cf72955b66b3..a27286f88315 100644 --- a/llvm/test/Transforms/InstCombine/xor-undef.ll +++ b/llvm/test/Transforms/InstCombine/xor-undef.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | grep zeroinitializer +; RUN: opt < %s -passes=instcombine -S | grep zeroinitializer define <2 x i64> @f() { %tmp = xor <2 x i64> undef, undef diff --git a/llvm/test/Transforms/InstCombine/xor.ll b/llvm/test/Transforms/InstCombine/xor.ll index d1499a1fd4ae..b0b9d4a1f94d 100644 --- a/llvm/test/Transforms/InstCombine/xor.ll +++ b/llvm/test/Transforms/InstCombine/xor.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s @G1 = global i32 0 @G2 = global i32 0 diff --git a/llvm/test/Transforms/InstCombine/xor2.ll b/llvm/test/Transforms/InstCombine/xor2.ll index a8056803dd0e..b8807a2ec965 100644 --- a/llvm/test/Transforms/InstCombine/xor2.ll +++ b/llvm/test/Transforms/InstCombine/xor2.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; PR1253 define i1 @test0(i32 %A) { diff --git a/llvm/test/Transforms/InstCombine/zero-point-zero-add.ll b/llvm/test/Transforms/InstCombine/zero-point-zero-add.ll index a23db75525e9..997418e3e9c4 100644 --- a/llvm/test/Transforms/InstCombine/zero-point-zero-add.ll +++ b/llvm/test/Transforms/InstCombine/zero-point-zero-add.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare double @fabs(double) readonly diff --git a/llvm/test/Transforms/InstCombine/zeroext-and-reduce.ll b/llvm/test/Transforms/InstCombine/zeroext-and-reduce.ll index 74bb731311b2..e64959a4a783 100644 --- a/llvm/test/Transforms/InstCombine/zeroext-and-reduce.ll +++ b/llvm/test/Transforms/InstCombine/zeroext-and-reduce.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i32 @test1(i8 %X) { ; CHECK-LABEL: @test1( diff --git a/llvm/test/Transforms/InstCombine/zext-bool-add-sub.ll b/llvm/test/Transforms/InstCombine/zext-bool-add-sub.ll index 7ad0655dcbe8..7fed952a7ff7 100644 --- a/llvm/test/Transforms/InstCombine/zext-bool-add-sub.ll +++ b/llvm/test/Transforms/InstCombine/zext-bool-add-sub.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; rdar://11748024 diff --git a/llvm/test/Transforms/InstCombine/zext-ctlz-trunc-to-ctlz-add.ll b/llvm/test/Transforms/InstCombine/zext-ctlz-trunc-to-ctlz-add.ll index cc833a4bea45..f63db744e455 100644 --- a/llvm/test/Transforms/InstCombine/zext-ctlz-trunc-to-ctlz-add.ll +++ b/llvm/test/Transforms/InstCombine/zext-ctlz-trunc-to-ctlz-add.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s declare i3 @llvm.ctlz.i3 (i3 , i1) declare i32 @llvm.ctlz.i32 (i32, i1) diff --git a/llvm/test/Transforms/InstCombine/zext-fold.ll b/llvm/test/Transforms/InstCombine/zext-fold.ll index 12e49b3f946f..c567f6abf036 100644 --- a/llvm/test/Transforms/InstCombine/zext-fold.ll +++ b/llvm/test/Transforms/InstCombine/zext-fold.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s ; PR1570 diff --git a/llvm/test/Transforms/InstCombine/zext-or-icmp.ll b/llvm/test/Transforms/InstCombine/zext-or-icmp.ll index 68d1e8addd35..e3e6cea5c122 100644 --- a/llvm/test/Transforms/InstCombine/zext-or-icmp.ll +++ b/llvm/test/Transforms/InstCombine/zext-or-icmp.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i8 @zext_or_icmp_icmp(i8 %a, i8 %b) { ; CHECK-LABEL: @zext_or_icmp_icmp( diff --git a/llvm/test/Transforms/InstCombine/zext-phi.ll b/llvm/test/Transforms/InstCombine/zext-phi.ll index 5e352415c747..5a403eb1c117 100644 --- a/llvm/test/Transforms/InstCombine/zext-phi.ll +++ b/llvm/test/Transforms/InstCombine/zext-phi.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s target datalayout = "e-m:e-i64:64-n8:16:32:64" diff --git a/llvm/test/Transforms/InstCombine/zext.ll b/llvm/test/Transforms/InstCombine/zext.ll index be605b82e756..c99219e1e901 100644 --- a/llvm/test/Transforms/InstCombine/zext.ll +++ b/llvm/test/Transforms/InstCombine/zext.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt < %s -instcombine -S | FileCheck %s +; RUN: opt < %s -passes=instcombine -S | FileCheck %s define i64 @test_sext_zext(i16 %A) { ; CHECK-LABEL: @test_sext_zext( -- GitLab