1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test/Transforms
Florian Hahn fca643847d [VPlan] Fix crash caused by not updating all users properly.
Users of VPValues are managed in a vector, so we need to be more
careful when iterating over users while updating them. For now, just
copy them.

Fixes 51798.

(cherry picked from commit 368af7558e55039e4e93c3eed68ce00da86e5e35)
2021-09-13 20:56:27 -07:00
..
ADCE
AddDiscriminators
AggressiveInstCombine
AlignmentFromAssumptions [AlignFromAssume] Bailout w/non-constant alignments (pr51680) 2021-09-01 17:36:37 -07:00
ArgumentPromotion
AtomicExpand [PowerPC] Add lit.local.cfg in AtomicExpand tests 2021-07-20 09:13:50 +00:00
Attributor [Attributor][FIX] Guard constant casts with type size checks 2021-08-16 11:36:30 -07:00
BDCE
BlockExtractor
BranchFolding
CalledValuePropagation
CallSiteSplitting
CanonicalizeAliases
CanonicalizeFreezeInLoops
CodeExtractor
CodeGenPrepare
ConstantHoisting
ConstantMerge
ConstraintElimination
Coroutines [Coroutine] Record the elided coroutines 2021-07-27 13:14:09 +08:00
CorrelatedValuePropagation
CrossDSOCFI
DCE
DeadArgElim [Attributes] Remove nonnull from UB-implying attributes 2021-07-25 18:07:31 +02:00
DeadStoreElimination Revert "[DSE] Transform memset + malloc --> calloc (PR25892)" 2021-07-23 11:51:59 +02:00
DFAJumpThreading Add jump-threading optimization for deterministic finite automata 2021-07-27 14:34:04 -04:00
DivRemPairs [DivRemPairs] make sure we have a valid CFG for hoisting division 2021-08-02 13:52:37 -07:00
EarlyCSE
EliminateAvailableExternally
EntryExitInstrumenter
ExpandMemCmp
FixIrreducible
Float2Int
ForcedFunctionAttrs
FunctionAttrs [LLVM IR] Allow volatile stores to trap. 2021-07-26 10:51:00 -07:00
FunctionImport
FunctionSpecialization
GCOVProfiling
GlobalDCE
GlobalMerge
GlobalOpt This patch extends the OptimizeGlobalAddressOfMalloc to handle the null check of global pointer variables. It is disabled with https://reviews.llvm.org/rGb7cd291c1542aee12c9e9fde6c411314a163a8ea. This PR is to reenable it while fixing the original problem reported. The fix is to set the store value correctly when creating store for the new created global init bool symbol. 2021-07-20 12:27:26 -04:00
GlobalSplit
GuardWidening
GVN [tests] Stablize tests for possible change in deref semantics 2021-07-14 13:05:43 -07:00
GVNHoist
GVNSink
HardwareLoops
HelloNew
HotColdSplit
IndirectBrExpand
IndVarSimplify
InferAddressSpaces [infer-address-spaces] Handle complex non-pointer constexpr arguments. 2021-07-19 12:15:52 -07:00
InferFunctionAttrs
Inline [Inliner] Make the CallPenalty configurable 2021-07-26 12:07:49 +01:00
InstCombine [InstCombine] avoid infinite loops from min/max canonicalization 2021-08-16 11:35:38 -07:00
InstMerge
InstNamer
InstSimplify [IR] Handle constant expressions in containsUndefinedElement() 2021-09-10 09:04:21 -07:00
InterleavedAccess
Internalize [IR] Rename comdat noduplicates to comdat nodeduplicate 2021-07-20 12:47:10 -07:00
IRCE
IROutliner
JumpThreading [tests] Stablize tests for possible change in deref semantics 2021-07-14 13:05:43 -07:00
LCSSA
LICM Strip undef implying attributes when moving calls 2021-07-27 10:57:05 -04:00
LoadStoreVectorizer
LoopBoundSplit
LoopDataPrefetch
LoopDeletion [IR] Consider non-willreturn as side effect (PR50511) 2021-07-26 16:35:14 +02:00
LoopDistribute
LoopFlatten [LoopFlatten] Use SCEV and Loop APIs to identify increment and trip count 2021-07-27 08:42:59 +01:00
LoopFusion
LoopIdiom [LoopIdiom] Don't transform loop into memmove when load from body has more than one use 2021-08-25 16:19:10 +02:00
LoopInstSimplify
LoopInterchange [LoopInterchange] Check lcssa phis in the inner latch in scenarios of multi-level nested loops 2021-07-16 11:59:20 -04:00
LoopLoadElim
LoopPredication
LoopReroll [SCEV] Fix unsound reasoning in howManyLessThans 2021-07-15 10:32:47 -07:00
LoopRotate
LoopSimplify
LoopSimplifyCFG
LoopStrengthReduce [DebugInfo][LSR] Avoid crashes on large integer inputs 2021-08-05 10:38:19 +01:00
LoopTransformWarning
LoopUnroll [SimplifyCFG] performBranchToCommonDestFolding(): require block-closed SSA form for bonus instructions (PR51125) 2021-09-10 09:02:26 -07:00
LoopUnrollAndJam
LoopUnswitch
LoopVectorize [VPlan] Fix crash caused by not updating all users properly. 2021-09-13 20:56:27 -07:00
LoopVersioning [LoopUtils] Fix incorrect RT check bounds of loop-invariant mem accesses 2021-07-19 19:38:24 +08:00
LoopVersioningLICM [LoopUtils] Fix incorrect RT check bounds of loop-invariant mem accesses 2021-07-19 19:38:24 +08:00
LowerAtomic
LowerConstantIntrinsics
LowerExpectIntrinsic
LowerGuardIntrinsic
LowerInvoke
LowerMatrixIntrinsics [Matrix] Fix shape for factored transpose 2021-07-27 11:36:13 -07:00
LowerSwitch
LowerTypeTests [ConstantFold] Get rid of special cases for sizeof etc. 2021-08-04 21:25:15 -07:00
LowerWidenableCondition
MakeGuardsExplicit
Mem2Reg
MemCpyOpt [MemCpyOpt] Fix a variety of scalable-type crashes 2021-09-09 16:21:27 -07:00
MergeFunc
MergeICmps [MergeICmps] Relax sinking check 2021-07-23 22:16:11 +02:00
MetaRenamer
NameAnonGlobals
NaryReassociate
NewGVN
ObjCARC [ObjCARC] Use objc_msgSend instead of llvm.objc.msgSend in tests 2021-07-15 22:21:22 +02:00
OpenMP [Attributor] Change function internalization to not replace uses in internalized callers 2021-08-04 16:35:01 -07:00
PartialInlining
PartiallyInlineLibCalls
PGOProfile [SimplifyCFG] Don't speculatively execute BB[s] if they are predictably not taken 2021-07-26 02:55:15 +03:00
PhaseOrdering [SimplifyCFG] performBranchToCommonDestFolding(): require block-closed SSA form for bonus instructions (PR51125) 2021-09-10 09:02:26 -07:00
PlaceSafepoints
PreISelIntrinsicLowering
PruneEH
Reassociate
Reg2Mem
RelLookupTableConverter/X86
RewriteStatepointsForGC [RS4GC] Use one DVCache for both inlineGetBaseAndOffset() and insertParsePoints() 2021-07-12 18:13:00 +07:00
SafeStack
SampleProfile [CSSPGO] Tweak ICP threshold in top-down inliner 2021-07-26 21:49:20 -07:00
ScalarizeMaskedMemIntrin
Scalarizer
SCCP [IR] Consider non-willreturn as side effect (PR50511) 2021-07-26 16:35:14 +02:00
SeparateConstOffsetFromGEP
SimpleLoopUnswitch Inform pass manager when child loops are deleted 2021-09-09 09:04:59 -07:00
SimplifyCFG [SimplifyCFG] performBranchToCommonDestFolding(): require block-closed SSA form for bonus instructions (PR51125) 2021-09-10 09:02:26 -07:00
Sink
SLPVectorizer [SLP]Fix costs calculations. 2021-07-26 07:14:03 -07:00
SpeculativeExecution
SROA [SROA] prevent crash on large memset length (PR50910) 2021-08-04 16:51:23 -07:00
StraightLineStrengthReduce
StripDeadPrototypes
StripSymbols
StructurizeCFG
SyntheticCountsPropagation
TailCallElim [Tests] Add missing willreturn attributes (NFC) 2021-07-24 17:17:48 +02:00
ThinLTOBitcodeWriter ThinLTO: Fix inline assembly references to static functions with CFI 2021-08-24 18:49:13 -07:00
TypePromotion/ARM
UnifyFunctionExitNodes
UnifyLoopExits
Util [PredicateInfo] Use Intrinsic::getDeclaration now that it handles unnamed types. 2021-08-04 16:51:33 -07:00
VectorCombine [NFC][VectorCombine] Load widening: add a few more negative tests 2021-07-21 15:21:37 +03:00
WholeProgramDevirt