llvm-project/llvm/test/Transforms
Bjorn Pettersson b280ee1dd7 [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC
Another step moving away from the deprecated syntax of specifying
pass pipeline in opt.

Differential Revision: https://reviews.llvm.org/D119080
2022-02-07 14:26:58 +01:00
..
ADCE [test] Update some test cases to use -passes when specifying the pipeline 2021-09-29 21:51:08 +02:00
AddDiscriminators [test] Update some test cases to use -passes when specifying the pipeline 2021-09-29 21:51:08 +02:00
AggressiveInstCombine [test] Update some test cases to use -passes when specifying the pipeline 2021-09-29 21:51:08 +02:00
AlignmentFromAssumptions [test] Update some test cases to use -passes when specifying the pipeline 2021-09-29 21:51:08 +02:00
ArgumentPromotion [ArgPromotion] Add test with bitcasts (NFC) 2022-02-02 14:46:27 +01:00
AtomicExpand
Attributor [Attributor] Introduce the `AA::isPotentiallyReachable` helper APIs 2022-02-01 01:40:45 -06:00
BDCE [test] Update some test cases to use -passes when specifying the pipeline 2021-09-29 21:51:08 +02:00
BlockExtractor
BranchFolding
CallSiteSplitting [llvm][test] rewrite callbr to use i rather than X constraint NFC 2022-01-11 11:31:08 -08:00
CalledValuePropagation [test] Update some test cases to use -passes when specifying the pipeline 2021-09-29 21:51:08 +02:00
CanonicalizeAliases
CanonicalizeFreezeInLoops [AArch64] Make -mcpu=generic schedule for an in-order core 2021-10-09 15:58:31 +01:00
CodeExtractor [PartialInline] Bail out on asm-goto/callbr 2022-01-19 10:57:57 -08:00
CodeGenPrepare [Statepoint] Update gc.statepoint calls in tests with elementtype (NFC) 2022-02-04 14:15:41 +01:00
ConstantHoisting [ConstantHoist] Remove check for notional overindexing 2022-01-19 11:32:10 +01:00
ConstantMerge [test] Use -passes syntax when specifying pipeline in some more tests 2021-11-27 09:52:55 +01:00
ConstraintElimination [ConstraintElimination] Add test with trivially false condition in and. 2022-02-05 14:17:08 +00:00
Coroutines Revert "[AlwaysInliner] Enable call site inlining to make flatten attribute working again (#53360)" 2022-01-25 23:13:46 +01:00
CorrelatedValuePropagation [LVI] Handle implication from icmp of trunc (PR51867) 2022-01-18 11:24:11 +01:00
CrossDSOCFI
DCE [test] Update some test cases to use -passes when specifying the pipeline 2021-09-29 21:51:08 +02:00
DFAJumpThreading [DFAJumpThreading] Determinator BB should precede switch-defining BB 2021-12-24 10:27:03 -05:00
DeadArgElim [test] Use opt -passes syntax in DeadArgElim lit tests. NFC 2022-01-17 18:14:36 +01:00
DeadStoreElimination [DSE] Add test with sret argument (NFC) 2022-01-26 14:25:31 +01:00
DivRemPairs
EarlyCSE [Statepoint] Update gc.statepoint calls in tests with elementtype (NFC) 2022-02-04 14:15:41 +01:00
EliminateAvailableExternally
EntryExitInstrumenter
ExpandMemCmp
FixIrreducible
Float2Int [NewPM][test] Strickly use -passes in some more lit tests 2021-10-20 17:06:47 +02:00
ForcedFunctionAttrs
FunctionAttrs [tests] Add coverage of writeonly attribute and operand bundle intersection 2022-01-18 12:08:14 -08:00
FunctionImport [Tests] Add elementtype attribute to indirect inline asm operands (NFC) 2022-01-06 14:23:51 +01:00
FunctionSpecialization [Function Specialisation] Fix use after free 2022-02-02 16:32:10 +00:00
GCOVProfiling
GVN [Statepoint] Update gc.statepoint calls in tests with elementtype (NFC) 2022-02-04 14:15:41 +01:00
GVNHoist
GVNSink
GlobalDCE [test] Use -passes syntax when specifying pipeline in some more tests 2021-11-27 09:52:55 +01:00
GlobalMerge
GlobalOpt [GlobalOpt] Don't replace alias with aliasee if either alias/aliasee may be preemptible 2022-02-01 10:41:16 -08:00
GlobalSplit
GuardWidening [test] Remove -loop-guard-widening legacy PM tests 2021-09-05 11:36:21 -07:00
HardwareLoops [ARM] Update test comments after D114018. NFC 2021-11-16 22:48:45 +00:00
HelloNew
HotColdSplit
IRCE [SCEVExpander] Drop poison generating flags when reusing instructions 2021-11-29 15:23:34 -08:00
IROutliner [IRSim][IROutliner] Allowing Intrinsic Calls to be Used in Similarity Matching and Outlined Regions 2022-01-28 13:52:21 -06:00
IndVarSimplify [SCEV] Use lshr in implications 2022-01-25 13:25:19 +07:00
IndirectBrExpand
InferAddressSpaces [InferAddressSpaces] Support assumed addrspaces from addrspace predicates. 2021-11-08 16:51:57 -05:00
InferFunctionAttrs [test] check strictest attributes possible for InferFunctionAttrs test 2022-02-03 08:39:15 -08:00
Inline [Inline][Cloning] Reliably remove unreachable blocks during cloning (PR53206) 2022-01-31 09:31:34 +01:00
InstCombine [NFC] Precommit test case for PR53357 2022-02-07 12:47:14 +08:00
InstMerge Reland "[LICM] Hoist LOAD without sinking the STORE" 2021-12-02 03:53:50 -08:00
InstNamer
InstSimplify [test] Use -passes=instsimplify instead of -instsimplify in a number of tests. NFC 2022-02-07 14:26:58 +01:00
InterleavedAccess [AArch64][SVE] Add FP types to the supported SVE structure load/stores vector type list 2021-11-08 22:29:08 +08:00
Internalize
JumpThreading [JumpThreading] Add a test for handling zero !prof branch_weights 2022-01-26 13:42:21 +07:00
LCSSA
LICM [Statepoint] Update gc.statepoint calls in tests with elementtype (NFC) 2022-02-04 14:15:41 +01:00
LoadStoreVectorizer [LSV] Vectorize loads of vectors by turning it into a larger vector 2022-01-26 11:38:41 +01:00
LoopBoundSplit [LoopBoundSplit] Handle the case in which exiting block is loop header 2021-10-08 09:13:41 +01:00
LoopDataPrefetch
LoopDeletion [LoopDeletion] Revert 3af8a11 and add test coverage for breakage 2022-01-17 11:44:03 -08:00
LoopDistribute [IRBuilder] Introduce folder using inst-simplify, use for Or fold. 2022-01-11 17:30:48 +00:00
LoopFlatten [LoopFlatten] Bail if we can't perform flattening after IV widening 2021-09-29 19:53:34 +01:00
LoopFusion
LoopIdiom [LoopIdiom] Keep TBAA when creating memcpy/memmove 2022-01-31 16:28:13 -05:00
LoopInstSimplify
LoopInterchange [LoopInterchange] Support loop interchange with floating point reductions 2022-02-06 17:04:47 -05:00
LoopLoadElim [LAA] Remove overeager assertion for aggregate types. 2022-01-04 15:20:35 +00:00
LoopPredication [SCEVExpander] Drop poison generating flags when reusing instructions 2021-11-29 15:23:34 -08:00
LoopReroll
LoopRotate [llvm][test] rewrite callbr to use i rather than X constraint NFC 2022-01-11 11:31:08 -08:00
LoopSimplify [test] Fixup tests with -analyze in llvm/test/Transforms 2021-09-04 16:45:51 -07:00
LoopSimplifyCFG
LoopStrengthReduce [LSR] Fix crash in Phi node with EHPad block 2022-01-14 18:53:18 -08:00
LoopTransformWarning
LoopUnroll [llvm][test] rewrite callbr to use i rather than X constraint NFC 2022-01-11 11:31:08 -08:00
LoopUnrollAndJam [LoopUnroll] Disable loop unroll when user explicitly asks for unroll-and-jam 2021-12-15 15:58:05 +00:00
LoopUnswitch [llvm][test] rewrite callbr to use i rather than X constraint NFC 2022-01-11 11:31:08 -08:00
LoopVectorize [LV] Remove `LoopVectorizationCostModel::useEmulatedMaskMemRefHack()` 2022-02-07 16:08:31 +03:00
LoopVersioning [IRBuilder] Migrate and-folding to value-based FoldAnd. 2022-01-20 10:22:21 +00:00
LoopVersioningLICM [opt] Directly translate -O# to -passes='default<O#>' 2021-10-18 16:48:10 -07:00
LowerAtomic
LowerConstantIntrinsics [LowerConstantIntrinsics] Fix heap-use-after-free bug in worklist 2021-09-21 11:33:07 +02:00
LowerExpectIntrinsic
LowerGuardIntrinsic
LowerInvoke
LowerMatrixIntrinsics [Matrix] Use ArrayType for allocas instead of VectorType. 2022-01-28 10:47:52 +00:00
LowerSwitch
LowerTypeTests [llvm][IR] Add no_cfi constant 2021-12-20 12:55:32 -08:00
LowerWidenableCondition
MakeGuardsExplicit
Mem2Reg [NFC][llvm] Inclusive language: reword uses of sanity test and check 2021-11-25 07:21:42 -05:00
MemCpyOpt [MemCpyOpt] Use helper for unwind check 2022-01-26 12:43:31 +01:00
MergeFunc [opt] Directly translate -O# to -passes='default<O#>' 2021-10-18 16:48:10 -07:00
MergeICmps [MergeICmps] Don't reorder unmerged comparisons 2021-09-21 21:22:12 +02:00
MetaRenamer [MetaRenamer] Add command line options to disable renaming name with specified prefixes 2021-12-09 18:45:06 +07:00
NameAnonGlobals
NaryReassociate [NARY-REASSOCIATE] Fix infinite recursion optimizing min\max 2021-10-20 14:23:03 +07:00
NewGVN [InstSimplify] fold 'xor X, poison' and 'div/rem X, poison' to poison 2022-01-30 10:46:54 +00:00
ObjCARC [ObjCARC] Require the function argument in the clang.arc.attachedcall bundle. 2022-01-28 12:41:45 -08:00
OpenMP [OpenMP] Emit remark on the captured call instead of the variable 2022-02-04 17:50:53 -05:00
PGOProfile Revert "[SimplifyCFG] Start redesigning `FoldTwoEntryPHINode()`." 2022-02-03 12:32:50 +03:00
PartialInlining
PartiallyInlineLibCalls [PartiallyInlineLibCalls] Don't crash when there's a writeonly attribute on the call 2022-01-05 12:16:26 +01:00
PhaseOrdering Split fast-basictest.ll according to passes responsible for optimizations 2022-02-04 12:20:10 +03:00
PlaceSafepoints
PreISelIntrinsicLowering [ObjC][ARC] Replace uses of ObjC intrinsics that are arguments of 2021-11-08 21:19:07 -08:00
PruneEH
Reassociate Split fast-basictest.ll according to passes responsible for optimizations 2022-02-04 12:20:10 +03:00
Reg2Mem [test] Update some test cases to use -passes when specifying the pipeline 2021-09-29 21:51:08 +02:00
RelLookupTableConverter/X86 [Passes] Fix relative lookup table converter pass 2021-12-12 04:40:17 +00:00
RewriteStatepointsForGC [Statepoint] Update gc.statepoint calls in tests with elementtype (NFC) 2022-02-04 14:15:41 +01:00
SCCP [ConstantFold] Remove unnecessary bounded index restriction 2022-01-04 15:23:09 +01:00
SLPVectorizer [tests] Add coverage for SLP reschedule event 2022-02-03 12:23:11 -08:00
SROA Clean up a test case. 2022-02-04 12:49:13 -08:00
SafeStack
SampleProfile Handle whitespace in symbol list 2022-01-18 14:34:40 -06:00
ScalarizeMaskedMemIntrin
Scalarizer [Scalarizer] Do not insert instructions between PHI nodes and debug intrinsics. 2021-11-02 09:53:59 -04:00
SeparateConstOffsetFromGEP SeparateConstOffsetFromGEP: Fix stack overflow in unreachable code 2021-09-14 19:49:38 -04:00
SimpleLoopUnswitch [llvm][test] rewrite callbr to use i rather than X constraint NFC 2022-01-11 11:31:08 -08:00
SimplifyCFG Reland [SimplifyCFG] `markAliveBlocks()`: recognize that normal dest of `invoke`d `noreturn` function is `unreachable` 2022-02-05 02:58:19 +03:00
Sink
SpeculativeExecution [NewPM][test] Use -passes syntax in SpeculativeExecution lit tests 2021-10-20 15:16:17 +02:00
StraightLineStrengthReduce
StripDeadPrototypes [NewPM][test] Strickly use -passes in some more lit tests 2021-10-20 17:06:47 +02:00
StripSymbols [NewPM][test] Strickly use -passes in some more lit tests 2021-10-20 17:06:47 +02:00
StructurizeCFG [StructurizeCFG] Clean up some boolean not instructions 2022-02-01 09:35:37 +00:00
SyntheticCountsPropagation
TailCallElim [test] Use -passes syntax when specifying pipeline in some more tests 2021-11-27 09:52:55 +01:00
ThinLTOBitcodeWriter [ThinLTO][MC] Use conditional assignments for promotion aliases 2021-12-10 12:21:37 -08:00
TypePromotion [NFC] TypePromotion test for AArch64 2022-02-03 13:49:30 +00:00
UnifyFunctionExitNodes
UnifyLoopExits
Util [Statepoint] Update gc.statepoint calls in tests with elementtype (NFC) 2022-02-04 14:15:41 +01:00
VectorCombine [VectorCombine] fold shuffle-of-binops with common operand 2021-10-21 12:37:54 -04:00
WholeProgramDevirt [LTO][WPD] Ignore unreachable function by analyzing IR. 2021-12-21 18:13:03 +00:00