1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00
llvm-mirror/test/Transforms
Michael Liao 45cca1d233 [fix-irreducible] Skip unreachable predecessors.
Summary:
- Skip unreachable predecessors during header detection in SCC. Those
  unreachable blocks would be generated in the switch lowering pass in
  the corner cases or other frontends. Even though they could be removed
  through the CFG simplification, we should skip them during header
  detection.

Reviewers: sameerds

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D83562
2020-07-11 10:08:44 -04:00
..
ADCE
AddDiscriminators
AggressiveInstCombine
AlignmentFromAssumptions Revert "[AssumeBundles] Use operand bundles to encode alignment assumptions" 2020-07-04 23:49:23 +03:00
ArgumentPromotion [BasicAA] Rename deprecated -basicaa to -basic-aa 2020-06-26 20:41:37 -07:00
AtomicExpand Handle part-word LL/SC in atomic expansion pass 2020-04-28 10:07:39 -05:00
Attributor [Attributor][NFC] Update tests after recent changes 2020-07-10 10:39:32 -05:00
BDCE [BDCE] SExt -> ZExt when no sign bits is used and instruction has multiple uses 2020-07-10 08:34:53 +01:00
BlockExtractor
BranchFolding
CalledValuePropagation
CallSiteSplitting BreakCriticalEdges for callbr indirect dests 2020-06-17 11:45:06 -07:00
CanonicalizeAliases
CanonicalizeFreezeInLoops [TargetPassConfig] Add CanonicalizeFreezeInLoops before LSR 2020-05-28 05:21:12 +09:00
CodeExtractor [CodeExtractor] Fix extraction of a value used only by intrinsics outside of region 2020-04-25 11:44:47 +03:00
CodeGenPrepare BypassSlowDivision: Fix dropping debug info 2020-06-18 17:27:19 -04:00
ConstantHoisting
ConstantMerge
ConstProp
Coroutines [Coroutines] Refactor sinkLifetimeStartMarkers 2020-07-09 18:23:28 +08:00
CorrelatedValuePropagation [LVI][CVP] Handle (x | y) < C style conditions 2020-07-01 20:43:24 +02:00
CrossDSOCFI
DCE Infer alignment of unmarked loads in IR/bitcode parsing. 2020-05-14 13:03:50 -07:00
DeadArgElim Preserve DbgLoc when DeadArgumentElimination rewrites a 'ret'. 2020-05-29 10:00:33 -07:00
DeadStoreElimination [DSE,MSSA] Eliminate stores by terminators (free,lifetime.end). 2020-07-08 08:59:46 +01:00
DivRemPairs [ValueTracking] Fix crash in isGuaranteedNotToBeUndefOrPoison when V is in an unreachable block 2020-05-13 10:16:47 +09:00
EarlyCSE [BasicAA] Rename deprecated -basicaa to -basic-aa 2020-06-26 20:41:37 -07:00
EliminateAvailableExternally
EntryExitInstrumenter
ExpandMemCmp
FixIrreducible [fix-irreducible] Skip unreachable predecessors. 2020-07-11 10:08:44 -04:00
Float2Int
ForcedFunctionAttrs
FunctionAttrs [BasicAA] Rename deprecated -basicaa to -basic-aa 2020-06-26 20:41:37 -07:00
FunctionImport
GCOVProfiling [gcov][test] Add mkdir -p %t && cd %t 2020-06-09 11:09:50 -07:00
GlobalDCE
GlobalMerge
GlobalOpt [GlobalOpt] Don't remove inalloca from musttail-called functions 2020-07-07 19:02:46 +02:00
GlobalSplit
GuardWidening
GVN [BasicAA] Rename -disable-basicaa to -disable-basic-aa to be consistent with the canonical name "basic-aa" 2020-06-26 20:55:44 -07:00
GVNHoist
GVNSink
HardwareLoops [HardwareLoops] llvm.loop.decrement.reg definition 2020-05-21 10:48:16 +01:00
HotColdSplit
IndirectBrExpand
IndVarSimplify [SCEV][IndVarSimplify] insert point should not be block front. 2020-07-09 21:56:57 -04:00
InferAddressSpaces [IR] Disable select ? C : undef -> C fold in ConstantFoldSelectInstruction unless we know C isn't poison. 2020-07-10 10:42:25 -07:00
InferFunctionAttrs
Inline [Inliner] Don't skip inlining alwaysinline in optnone functions 2020-07-07 12:54:55 -07:00
InstCombine [InstCombine] After merging store into successor, queue prev. store to be visited (PR46661) 2020-07-10 17:49:16 +03:00
InstMerge [BasicAA] Rename deprecated -basicaa to -basic-aa 2020-06-26 20:41:37 -07:00
InstNamer [InstNamer] use 'i' for Instructions, not 'tmp' 2020-06-01 11:11:14 -04:00
InstSimplify [InstSimplify] add tests for maxnum (PR46627); NFC 2020-07-10 20:20:38 -04:00
InterleavedAccess [Alignment] Fix misaligned interleaved loads 2020-05-27 12:12:22 +00:00
Internalize
IPConstantProp [SCCP] Move tests using only ipsccp from IPConstantProp to SCCP (NFC). 2020-07-09 17:16:15 +01:00
IRCE [NPM] Bail out when -foo and --passes=foo are both specified 2020-06-22 08:27:13 -07:00
JumpThreading [JumpThreading] Make test more robust (NFC) 2020-06-20 13:05:42 +02:00
LCSSA
LICM [BasicAA] Rename -disable-basicaa to -disable-basic-aa to be consistent with the canonical name "basic-aa" 2020-06-26 20:55:44 -07:00
LoadStoreVectorizer [BasicAA] Rename deprecated -basicaa to -basic-aa 2020-06-26 20:41:37 -07:00
LoopDataPrefetch
LoopDeletion [LoopDeletion] Emit a remark when a dead loop is deleted 2020-07-03 15:20:23 -07:00
LoopDistribute [BasicAA] Rename deprecated -basicaa to -basic-aa 2020-06-26 20:41:37 -07:00
LoopFusion [LoopFusion] Update second loop guard non loop successor phis incoming 2020-06-09 21:14:51 +00:00
LoopIdiom [BasicAA] Rename deprecated -basicaa to -basic-aa 2020-06-26 20:41:37 -07:00
LoopInstSimplify
LoopInterchange [BasicAA] Rename deprecated -basicaa to -basic-aa 2020-06-26 20:41:37 -07:00
LoopLoadElim [BasicAA] Rename deprecated -basicaa to -basic-aa 2020-06-26 20:41:37 -07:00
LoopPredication [BasicAA] Rename deprecated -basicaa to -basic-aa 2020-06-26 20:41:37 -07:00
LoopReroll [LoopReroll] Fix rerolling loop with use outside the loop 2020-05-13 13:03:03 +09:00
LoopRotate
LoopSimplify [BasicAA] Rename deprecated -basicaa to -basic-aa 2020-06-26 20:41:37 -07:00
LoopSimplifyCFG
LoopStrengthReduce [NewPM][LSR] Rename strength-reduce -> loop-reduce 2020-07-02 11:15:29 -07:00
LoopTransformWarning
LoopUnroll [NewPM][opt] Share -disable-loop-unrolling between pass managers 2020-07-08 08:50:56 -07:00
LoopUnrollAndJam [BasicAA] Rename deprecated -basicaa to -basic-aa 2020-06-26 20:41:37 -07:00
LoopUnswitch [BasicAA] Rename deprecated -basicaa to -basic-aa 2020-06-26 20:41:37 -07:00
LoopVectorize [LV] Pick vector loop body as insert point for SCEV expansion. 2020-07-10 10:37:12 +01:00
LoopVersioning [BasicAA] Rename deprecated -basicaa to -basic-aa 2020-06-26 20:41:37 -07:00
LoopVersioningLICM
LowerAtomic
LowerConstantIntrinsics LowerConstantIntrinsics: Fix missing test for byval behavior 2020-06-29 14:45:31 -04:00
LowerExpectIntrinsic Add support of __builtin_expect_with_probability 2020-06-22 10:21:28 -07:00
LowerGuardIntrinsic
LowerInvoke
LowerMatrixIntrinsics [yaml][clang-tidy] Fix multiline YAML serialization 2020-07-09 02:41:58 -07:00
LowerSwitch
LowerTypeTests
LowerWidenableCondition
MakeGuardsExplicit
Mem2Reg
MemCpyOpt [BasicAA] Rename deprecated -basicaa to -basic-aa 2020-06-26 20:41:37 -07:00
MergeFunc Infer alignment of unmarked loads in IR/bitcode parsing. 2020-05-14 13:03:50 -07:00
MergeICmps
MetaRenamer
NameAnonGlobals
NaryReassociate
NewGVN [NewPM] Add -basic-aa to pr33196.ll 2020-07-02 11:27:52 -07:00
ObjCARC [BasicAA] Rename -disable-basicaa to -disable-basic-aa to be consistent with the canonical name "basic-aa" 2020-06-26 20:55:44 -07:00
OpenMP [OpenMP] Replace function pointer uses in GPU state machine 2020-07-11 01:44:00 -05:00
PartiallyInlineLibCalls
PGOProfile [InstCombine] Always try to invert non-canonical predicate of an icmp 2020-07-04 18:12:04 +03:00
PhaseOrdering Revert "[AssumeBundles] Use operand bundles to encode alignment assumptions" 2020-07-04 23:49:23 +03:00
PlaceSafepoints
PreISelIntrinsicLowering Remove Passes dependency on CodeGen 2020-06-24 14:52:46 -07:00
PruneEH
Reassociate [BasicAA] Rename deprecated -basicaa to -basic-aa 2020-06-26 20:41:37 -07:00
Reg2Mem
RewriteStatepointsForGC [NPM] Bail out when -foo and --passes=foo are both specified 2020-06-22 08:27:13 -07:00
SafeStack [Instruction] Set metadata uses to undef on deletion 2020-05-21 15:58:12 -07:00
SampleProfile [SampleFDO] Enable sample-profile-top-down-load and sample-profile-merge-inlinee 2020-07-08 09:23:18 -07:00
ScalarizeMaskedMemIntrin [SVE] Scalarize fixed length masked loads and stores. 2020-07-09 10:47:04 +00:00
Scalarizer [Scalarizer] When gathering scattered scalar, don't replace it with itself 2020-07-07 17:03:53 +03:00
SCCP [SCCP] Move tests using only ipsccp from IPConstantProp to SCCP (NFC). 2020-07-09 17:16:15 +01:00
SeparateConstOffsetFromGEP Infer alignment of unmarked loads in IR/bitcode parsing. 2020-05-14 13:03:50 -07:00
SimpleLoopUnswitch [BasicAA] Rename deprecated -basicaa to -basic-aa 2020-06-26 20:41:37 -07:00
SimplifyCFG [InstSimplify] Handle not inserted instruction gracefully (PR46638) 2020-07-08 21:43:32 +02:00
Sink [BasicAA] Rename deprecated -basicaa to -basic-aa 2020-06-26 20:41:37 -07:00
SLPVectorizer SLP: honor requested max vector size merging PHIs 2020-07-08 08:06:15 -07:00
SpeculateAroundPHIs [NFC] Update tests 2020-05-05 15:28:40 +01:00
SpeculativeExecution SpeculativeExecution: Fix for logic change introduced in D81730. 2020-07-09 15:45:23 +03:00
SROA [SROA] convertValue(): we can have <N x iK*> to <M x iQ> cast 2020-06-25 00:58:54 +03:00
StraightLineStrengthReduce
StripDeadPrototypes
StripSymbols
StructurizeCFG [StructurizeCFG] Fix region nodes ordering 2020-06-01 12:50:35 +03:00
SyntheticCountsPropagation
TailCallElim [TRE] allow TRE for non-capturing calls. 2020-07-11 14:01:48 +03:00
ThinLTOBitcodeWriter
TypePromotion/ARM
UnifyLoopExits
UniqueInternalLinkageNames
Util [PredicateInfo] Add test for multiple branches on same condition (NFC) 2020-07-10 20:59:03 +02:00
VectorCombine/X86 [VectorCombine] try to form vector compare and binop to eliminate scalar ops 2020-06-29 10:38:52 -04:00
WholeProgramDevirt