llvm-project/llvm/test/Transforms
Vasileios Porpodas 76775bde8a [SLP][NFC] Added test to exercise the cause of a crash caused by reordering.
This is to support 0950d4060c.
External users that can affect reordering, with range == VL.size() but
non consecutive (like stores to A[0],A[0],A[3],A[3]) would escape the check
for consecutive accesses and would cause a crash.
2022-05-12 11:20:54 -07: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 [AggressiveInstCombine] Add `phi` nodes support to `TruncInstCombine` 2022-02-25 07:57:35 +03:00
AlignmentFromAssumptions [test] Update some test cases to use -passes when specifying the pipeline 2021-09-29 21:51:08 +02:00
ArgumentPromotion [ArgPromotion] Make a non-byval promotion attempt first 2022-05-12 16:44:52 +02:00
AtomicExpand [PowerPC] Adjust `MaxAtomicSizeInBitsSupported` on PPC64 2022-04-09 00:03:09 +00:00
Attributor [ArgPromotion][Attributor] Update min-legal-vector-width when do promotion 2022-05-02 14:13:05 +08: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 Implement inlining of strictfp functions 2022-03-31 19:15:52 +07:00
CodeGenPrepare Fix endless loop in optimizePhiConst with integer constant switch condition 2022-05-11 08:49:01 -07:00
ConstantHoisting [OpaquePtr][AArch64] Use elementtype on ldxr/stxr 2022-03-14 10:09:59 -07:00
ConstantMerge [test] Use -passes syntax when specifying pipeline in some more tests 2021-11-27 09:52:55 +01:00
ConstraintElimination [ConstraintElimination] Add extra tests for different overflows. 2022-05-11 21:20:42 +01:00
Coroutines [NFC] [Coroutines] Remove EnableReuseStorageInFrame option 2022-05-10 17:28:43 +08:00
CorrelatedValuePropagation [Transforms] Enhance CorrelatedValuePropagation to handle both values of select 2022-02-23 00:11:20 +04: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 [DeadArgElim] Re-apply: Set unused arguments for internal functions 2022-05-12 08:46:16 -07:00
DeadStoreElimination [test][DSE] Precommit test 2022-04-12 16:21:04 -07:00
DivRemPairs [DivRemPairs] make sure we have a valid CFG for hoisting division 2021-07-28 11:09:12 -04:00
EarlyCSE [EarlyCSE] Add tests demonstrating missed opportunitites 2022-04-26 11:58:16 -07:00
EliminateAvailableExternally
EntryExitInstrumenter [NewPM] Use parameterized syntax for a couple of more passes 2021-08-20 14:59:21 +02:00
ExpandMemCmp [ExpandMemCmp] Properly expand `bcmp` to an equality pattern. 2022-04-15 11:26:24 +02:00
FixIrreducible LowerSwitch: Avoid inserting NewDefault block 2022-04-14 13:30:56 +08:00
Float2Int [Float2Int] Make sure dependent ranges are calculated first (PR54669) 2022-04-04 10:18:39 +02:00
ForcedFunctionAttrs
FunctionAttrs [NFCI] Fixed missing colon in CHECK directives - part 2 2022-04-03 14:42:59 +02:00
FunctionImport [Tests] Add elementtype attribute to indirect inline asm operands (NFC) 2022-01-06 14:23:51 +01:00
FunctionSpecialization [FuncSpec] Conditional jump or move depends on uninitialised value(s). 2022-04-27 07:28:25 +01:00
GCOVProfiling [gcov][test] Change some legacy PM tests to new PM and remove others 2022-04-14 19:12:14 -07:00
GVN [GVN] Add test case for memdep invalidation bug. 2022-05-11 20:46:48 +01:00
GVNHoist [GVNHoist] drop debug location according to the debug info guide 2022-03-30 20:17:53 -07:00
GVNSink [GVNSink] Make GVNSink resistant against self referencing instructions (PR36954) 2022-05-10 16:06:12 +02:00
GlobalDCE [GlobalDCE] [VFE] Avoid dropping vfunc dependencies when an invalid vtable entry is present 2022-02-17 19:41:46 -08:00
GlobalMerge
GlobalOpt [GlobalOpt] Iterate over replaced values deterministically to constprop 2022-05-02 09:43:20 -07: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 [CodeExtractor] Preserve topological order for the return blocks. 2021-08-25 08:09:01 -07:00
IRCE [SCEVExpander] Drop poison generating flags when reusing instructions 2021-11-29 15:23:34 -08:00
IROutliner [IROutliner] Accomodate blocks containing PHINodes with one entry outside the region and others inside the region. 2022-05-07 17:11:21 -05:00
IndVarSimplify [IndVarSimplify] Regenerate test checks (NFC) 2022-05-11 12:20:53 +02:00
IndirectBrExpand
InferAddressSpaces [InferAddressSpaces] Check if AS are the same in isNoopPtrIntCastPair 2022-04-28 11:10:55 +08:00
InferFunctionAttrs BuildLibCalls: simplify switch statement slightly 2022-05-03 13:17:33 -04:00
Inline [Inliner] Preserve !prof metadata when converting call to invoke. 2022-05-09 15:08:09 -07:00
InstCombine [InstCombine] freeze operand in div+mul fold 2022-05-12 13:49:29 -04:00
InstMerge Reland "[LICM] Hoist LOAD without sinking the STORE" 2021-12-02 03:53:50 -08:00
InstNamer
InstSimplify [ConstantFold] Use getFltSemantics instead of manually checking the type 2022-05-05 15:52:19 +02: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 [IR] Rename `comdat noduplicates` to `comdat nodeduplicate` 2021-07-20 12:47:10 -07:00
JumpThreading [JumpThreading] Add a test for handling zero !prof branch_weights 2022-01-26 13:42:21 +07:00
LCSSA
LICM [LICM] Add test to exercise assertion from D123473. 2022-05-05 10:49:52 +01:00
LoadStoreVectorizer [AMDGPU][FIX] Proper load-store-vectorizer result with opaque pointers 2022-04-15 13:42:46 -05:00
LoopBoundSplit [LoopBoundSplit] Handle the case in which exiting block is loop header 2021-10-08 09:13:41 +01:00
LoopDataPrefetch [LoopDataPrefetch] Add missed LoopSimplify dependence for prefetch pass 2021-08-26 21:01:59 +08:00
LoopDeletion [InstSimplify] Handle unknown function context in pointer icmp fold (PR54615) 2022-05-10 11:48:43 +02:00
LoopDistribute Autogen a couple of predicated SCEV tests 2022-02-11 13:56:35 -08:00
LoopFlatten [LoopFlatten] Bail if we can't perform flattening after IV widening 2021-09-29 19:53:34 +01:00
LoopFusion [NFCI] Fixed missing colon in CHECK directives 2022-04-03 11:52:38 +02:00
LoopIdiom [NFCI] Regenerate LoopIdiomRecognize test checks 2022-04-04 00:21:26 +02:00
LoopInstSimplify [LoopInstSimplify] Ignore users in unreachable blocks. PR55072 2022-04-25 17:35:28 +07:00
LoopInterchange [LoopInterchange] Try to achieve the most optimal access pattern after interchange 2022-04-06 15:31:56 -04:00
LoopLoadElim [NFC][LAA] Match-up type sizes for possible extensions, based on actual bit-size rather than rounded-up byte size. 2022-04-22 23:16:20 -07:00
LoopPredication [SCEVExpander] Drop poison generating flags when reusing instructions 2021-11-29 15:23:34 -08:00
LoopReroll [SCEV] Fix unsound reasoning in howManyLessThans 2021-07-15 10:32:47 -07:00
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 [LoopSimplifyCFG] Check predecessors of exits before marking them dead. 2022-03-18 08:54:44 +00:00
LoopStrengthReduce [X86] Autogen a few tests for ease of update [nfc] 2022-05-03 08:28:44 -07:00
LoopTransformWarning
LoopUnroll [LoopUnroll] Always respect user unroll pragma 2022-04-11 14:33:24 -04:00
LoopUnrollAndJam [LoopUnroll] Disable loop unroll when user explicitly asks for unroll-and-jam 2021-12-15 15:58:05 +00:00
LoopVectorize [VPlan] VPInterleaveRecipe only uses first lane if op not stored. 2022-05-11 11:24:56 +01: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 [builtin_object_size] Basic support for posix_memalign 2022-04-08 09:31:11 +02:00
LowerExpectIntrinsic
LowerGlobalDestructors Reland "Lower `@llvm.global_dtors` using `__cxa_atexit` on MachO" 2022-03-23 18:36:55 -07:00
LowerGuardIntrinsic
LowerInvoke
LowerMatrixIntrinsics Reapply "[Intrinsics] Add `nocallback` to the default intrinsic attributes" 2022-03-25 09:36:50 -05:00
LowerSwitch LowerSwitch: Avoid inserting NewDefault block 2022-04-14 13:30:56 +08:00
LowerTypeTests [llvm][IR] Add no_cfi constant 2021-12-20 12:55:32 -08:00
LowerWidenableCondition
MakeGuardsExplicit
Mem2Reg [Mem2Reg] Check that load type matches alloca type 2022-02-08 17:16:15 +01:00
MemCpyOpt [MemCpyOpt] Work around PR54682 2022-04-04 10:19:51 +02:00
MergeFunc [opt] Directly translate -O# to -passes='default<O#>' 2021-10-18 16:48:10 -07:00
MergeICmps Reapply [MergeICmps] Don't require GEP 2022-03-04 11:39:11 +01:00
MetaRenamer [TLI] Check that malloc argument has type size_t 2022-03-14 17:22:24 +01:00
NameAnonGlobals
NaryReassociate [NARY-REASSOCIATE] Fix infinite recursion optimizing min\max 2021-10-20 14:23:03 +07:00
NewGVN [GVN][NewGVN] Regenerate no_speculative_loads_with_asan.ll tests 2022-04-27 10:45:39 +01:00
ObjCARC Reapply "[Intrinsics] Add `nocallback` to the default intrinsic attributes" 2022-03-25 09:36:50 -05:00
OpenMP [Attributor] CGSCC pass should not recompute results outside the SCC (reapply) 2022-04-17 12:48:49 -05:00
PGOProfile [CHR] Skip region containing llvm.coro.id 2022-04-27 10:27:25 -07:00
PartialInlining
PartiallyInlineLibCalls [PartiallyInlineLibCalls] Don't partially inline a musttail libcall. 2022-04-05 22:30:50 +03:00
PhaseOrdering [SLP]Improve reductions analysis and emission, part 1. 2022-05-02 12:03:58 -07:00
PlaceSafepoints
PreISelIntrinsicLowering [ObjC][ARC] Replace uses of ObjC intrinsics that are arguments of 2021-11-08 21:19:07 -08:00
PruneEH [NewPM] Consistently use 'simplifycfg' rather than 'simplify-cfg' 2021-07-09 09:47:03 +02:00
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 [RelLookupTableConverter] Ensure that GV, GEP and load types match 2022-02-17 12:05:05 +01:00
RewriteStatepointsForGC [RS4GC] Add support for 'freeze' instruction to findBaseDefiningValue 2022-05-06 20:46:29 +07:00
SCCP [CompileTime] [Passes] Avoid computing unnecessary analyses. NFC 2022-04-29 10:00:06 -04:00
SLPVectorizer [SLP][NFC] Added test to exercise the cause of a crash caused by reordering. 2022-05-12 11:20:54 -07:00
SROA [NFC] Rename Instrinsic to Intrinsic 2022-04-25 18:13:23 +01:00
SafeStack [safestack] Support safestack in stack size diagnostics 2022-04-20 18:29:40 +00:00
SampleProfile [NFCI] Fixed missing colon in CHECK directives 2022-04-03 11:52:38 +02:00
ScalarizeMaskedMemIntrin
Scalarizer [LV][SLP] Mark fptosi_sat as vectorizable 2022-05-03 09:32:34 +01:00
SeparateConstOffsetFromGEP [CodeGen] Remove unneeded regex escaping in FileCheck patterns. NFC. 2022-02-18 16:10:56 +00:00
SimpleLoopUnswitch Recommit "[SimpleLoopUnswitch] Collect either logical ANDs/ORs but not both." 2022-05-09 13:49:12 +01:00
SimplifyCFG [SimplifyCFG] Avoid shifting by a too large exponent. 2022-04-29 15:19:06 +01:00
Sink [Sink] Don't sink non-willreturn calls (PR51188) 2022-04-07 16:35:05 +02:00
SpeculativeExecution [NewPM][test] Use -passes syntax in SpeculativeExecution lit tests 2021-10-20 15:16:17 +02:00
StraightLineStrengthReduce [CodeGen] Remove unneeded regex escaping in FileCheck patterns. NFC. 2022-02-18 16:10:56 +00:00
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 LowerSwitch: Avoid inserting NewDefault block 2022-04-14 13:30:56 +08:00
SyntheticCountsPropagation
TailCallElim [IR] Define "ptrauth" operand bundle. 2022-02-14 11:27:35 -08:00
ThinLTOBitcodeWriter [ThinLTO][MC] Use conditional assignments for promotion aliases 2021-12-10 12:21:37 -08:00
TypePromotion [TypePromotion] Promote undef by converting to 0. 2022-05-12 09:09:24 -07:00
UnifyFunctionExitNodes
UnifyLoopExits LowerSwitch: Avoid inserting NewDefault block 2022-04-14 13:30:56 +08:00
Util [Debugify] Limit number of processed functions for original mode 2022-04-21 13:58:17 +02:00
VectorCombine [VectorCombine] Attempt to fold select shuffles from reductions 2022-05-08 10:32:41 +01:00
WholeProgramDevirt [WPD] Add statistics 2022-04-05 18:48:23 -07:00