1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/lib/Transforms/Utils
Roman Lebedev bedf13b1a7 [SimplifyCFG] performBranchToCommonDestFolding(): require block-closed SSA form for bonus instructions (PR51125)
I can't seem to wrap my head around the proper fix here,
we should be fine without this requirement, iff we can form this form,
but the naive attempt (https://reviews.llvm.org/D106317) has failed.
So just to unblock the release, put up a restriction.

Fixes https://bugs.llvm.org/show_bug.cgi?id=51125

(cherry picked from commit 909cba969981032c5740774ca84a34b7f76b909b)
2021-09-10 09:02:26 -07:00
..
AddDiscriminators.cpp [SampleFDO] Place the discriminator flag variable into the used list. 2021-06-15 21:51:04 -07:00
AMDGPUEmitPrintf.cpp [NFC][OpaquePtr] Explicitly pass GEP source type to IRBuilder in more places 2021-06-01 13:13:37 -07:00
ASanStackFrameLayout.cpp
AssumeBundleBuilder.cpp [Attributes] Replace doesAttrKindHaveArgument() (NFC) 2021-07-12 21:57:26 +02:00
BasicBlockUtils.cpp [NFC][BasicBlockUtils] Refactor GetIfCondition() to return the branch, not it's condition 2021-07-24 00:18:26 +03:00
BreakCriticalEdges.cpp [SplitEdge] Update SplitCriticalEdge to return a nullptr only when the edge is not critical 2021-04-06 21:24:40 +00:00
BuildLibCalls.cpp Revert "[BuildLibCalls/SimplifyLibCalls] Fix attributes on created CallInst instructions." 2021-06-24 19:24:34 -07:00
BypassSlowDivision.cpp
CallGraphUpdater.cpp
CallPromotionUtils.cpp [OpaquePointers][CallPromotion] Don't look at pointee type for byval 2021-07-09 09:34:05 -07:00
CanonicalizeAliases.cpp
CanonicalizeFreezeInLoops.cpp
CloneFunction.cpp [Inline] Fix noalias addition on simplified instructions (PR50589) 2021-07-20 19:52:41 +02:00
CloneModule.cpp TransformUtils: Fix metadata handling in CloneModule (and improve CloneFunctionInto) 2021-02-15 11:56:00 -08:00
CMakeLists.txt [Remarks] Add analysis remarks for memset/memcpy/memmove lengths 2021-05-24 10:10:44 -07:00
CodeExtractor.cpp [IR] Add elementtype attribute 2021-07-15 18:04:26 +02:00
CodeMoverUtils.cpp
CtorUtils.cpp
Debugify.cpp Recommit: "[Debugify][Original DI] Test dbg var loc preservation"" 2021-05-21 02:04:29 -07:00
DemoteRegToStack.cpp
EntryExitInstrumenter.cpp [NFC][EntryExitInstrumenter] Mark Dominator Tree as preserved in legacy-PM too 2021-01-29 01:11:33 +03:00
EscapeEnumerator.cpp [ShadowStackGCLowering] Preserve Dominator Tree, if avaliable 2021-01-30 01:14:51 +03:00
Evaluator.cpp [GlobalOpt] Fix a miscompile when evaluating struct initializers. 2021-07-14 15:37:01 -07:00
FixIrreducible.cpp [Transforms/Utils] Use range-based for loops (NFC) 2021-02-07 09:49:36 -08:00
FlattenCFG.cpp [NFC][BasicBlockUtils] Refactor GetIfCondition() to return the branch, not it's condition 2021-07-24 00:18:26 +03:00
FunctionComparator.cpp
FunctionImportUtils.cpp [ThinLTO] Respect ClearDSOLocalOnDeclarations for unimported functions 2021-07-02 17:08:25 -07:00
GlobalStatus.cpp
GuardUtils.cpp [llvm] Construct SmallVector with iterator ranges (NFC) 2021-01-20 21:35:52 -08:00
HelloWorld.cpp [NewPM][HelloWorld] Move HelloWorld to Utils 2021-02-03 12:59:40 -08:00
InjectTLIMappings.cpp [NFC][Analysis] Change struct VecDesc to use ElementCount 2021-02-12 11:07:58 +00:00
InlineFunction.cpp [Local] Do not introduce a new llvm.trap before unreachable 2021-07-26 23:33:36 -05:00
InstructionNamer.cpp
IntegerDivision.cpp
LCSSA.cpp [NewPM] Don't mark AA analyses as preserved 2021-05-18 13:49:03 -07:00
LibCallsShrinkWrap.cpp [NewPM] Don't mark AA analyses as preserved 2021-05-18 13:49:03 -07:00
Local.cpp Strip undef implying attributes when moving calls 2021-07-27 10:57:05 -04:00
LoopPeel.cpp [NFC] One more use case for evaluatePredicate 2021-03-18 19:21:29 +07:00
LoopRotationUtils.cpp Fix some -Wunused-but-set-variable in -DLLVM_ENABLE_ASSERTIONS=off build 2021-06-04 23:34:43 -07:00
LoopSimplify.cpp [Local] Do not introduce a new llvm.trap before unreachable 2021-07-26 23:33:36 -05:00
LoopUnroll.cpp [Local] Do not introduce a new llvm.trap before unreachable 2021-07-26 23:33:36 -05:00
LoopUnrollAndJam.cpp [LoopUnroll] Push runtime unrolling decision up into tryToUnrollLoop() 2021-06-19 09:25:57 +02:00
LoopUnrollRuntime.cpp [LoopUnroll] Push runtime unrolling decision up into tryToUnrollLoop() 2021-06-19 09:25:57 +02:00
LoopUtils.cpp [Local] Do not introduce a new llvm.trap before unreachable 2021-07-26 23:33:36 -05:00
LoopVersioning.cpp [LoopVersion] Move an assert [nfc-ish] 2021-07-06 10:57:10 -07:00
LowerInvoke.cpp
LowerMemIntrinsics.cpp
LowerSwitch.cpp
MatrixUtils.cpp
Mem2Reg.cpp
MemoryOpRemark.cpp [NFC][OpaquePtr] Use GlobalValue::getValueType() more 2021-07-09 09:55:41 -07:00
MetaRenamer.cpp [Transforms/Utils] Use range-based for loops (NFC) 2021-02-07 09:49:36 -08:00
ModuleUtils.cpp [Transforms] Remove getOrCreateInitFunction (NFC) 2021-07-22 06:30:39 -07:00
NameAnonGlobals.cpp
PredicateInfo.cpp [PredicateInfo] Use Intrinsic::getDeclaration now that it handles unnamed types. 2021-08-04 16:51:33 -07:00
PromoteMemoryToRegister.cpp [Mem2Reg] Use poison for unreachable cases 2021-06-21 10:54:13 +02:00
RelLookupTableConverter.cpp [Passes] Add relative lookup table converter pass 2021-04-13 01:29:41 +00:00
SampleProfileLoaderBaseUtil.cpp [SampleFDO] Place the discriminator flag variable into the used list. 2021-06-15 21:51:04 -07:00
SanitizerStats.cpp
ScalarEvolutionExpander.cpp [DebugInfo][LoopStrengthReduction] SCEV-based salvaging for LSR 2021-08-05 10:34:33 +01:00
SCCPSolver.cpp Function Specialization Pass 2021-06-11 09:11:29 +01:00
SimplifyCFG.cpp [SimplifyCFG] performBranchToCommonDestFolding(): require block-closed SSA form for bonus instructions (PR51125) 2021-09-10 09:02:26 -07:00
SimplifyIndVar.cpp [IndVars] Don't widen pointers in WidenIV::getWideRecurrence 2021-07-11 17:04:50 -07:00
SimplifyLibCalls.cpp [SimplifyLibCalls] avoid crash on pointer math 2021-07-26 11:08:45 -04:00
SizeOpts.cpp Internalize some cl::opt global variables or move them under namespace llvm 2021-05-07 11:15:43 -07:00
SplitModule.cpp [LTO] Update splitCodeGen to take a reference to the module. (NFC) 2021-01-29 11:53:11 +00:00
SSAUpdater.cpp [Transforms/Utils] Use range-based for loops (NFC) 2021-02-02 22:52:47 -08:00
SSAUpdaterBulk.cpp
StripGCRelocates.cpp
StripNonLineTableDebugInfo.cpp
SymbolRewriter.cpp
UnifyFunctionExitNodes.cpp
UnifyLoopExits.cpp
Utils.cpp Revert "[Passes] Add relative lookup table converter pass" 2021-03-30 14:13:37 +02:00
ValueMapper.cpp [NFC][OpaquePtr] Use GlobalValue::getValueType() more 2021-07-09 09:55:41 -07:00
VNCoercion.cpp [GVN][NFC] Refactor analyzeLoadFromClobberingWrite 2021-04-01 08:35:35 +08:00