1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/lib/Transforms/Utils
David Stenberg ce5974df13 [InstCombine] Fix incorrect Modified status
When removing instructions from unreachable blocks, and only debug info
intrinsics were removed, InstCombine could incorrectly return a false
Modified status.

This is fixed by making removeAllNonTerminatorAndEHPadInstructions()
also return how many debug info intrinsics that were removed, and take
that into account.

This was caught using the check introduced by D80916.

Reviewed By: majnemer

Differential Revision: https://reviews.llvm.org/D85839
2020-08-13 15:10:41 +02:00
..
AddDiscriminators.cpp
AMDGPUEmitPrintf.cpp
ASanStackFrameLayout.cpp
AssumeBundleBuilder.cpp [NFC] Remove unused GetUnderlyingObject paramenter 2020-07-31 02:10:03 -07:00
BasicBlockUtils.cpp
BreakCriticalEdges.cpp
BuildLibCalls.cpp [BuildLibCalls] Add noundef to standard I/O functions 2020-08-10 10:58:25 +09:00
BypassSlowDivision.cpp
CallGraphUpdater.cpp
CallPromotionUtils.cpp
CanonicalizeAliases.cpp
CanonicalizeFreezeInLoops.cpp
CloneFunction.cpp [Reduce] Argument reduction: do deal with function declarations 2020-07-26 01:31:56 +03:00
CloneModule.cpp
CMakeLists.txt [Loop Peeling] Separate the Loop Peeling Utilities from the Loop Unrolling Utilities 2020-07-31 18:31:58 +00:00
CodeExtractor.cpp IR: Define byref parameter attribute 2020-07-20 10:23:09 -04:00
CodeMoverUtils.cpp
CtorUtils.cpp
Debugify.cpp Revert rG5dd566b7c7b78bd- "PassManager.h - remove unnecessary Function.h/Module.h includes. NFCI." 2020-07-24 13:02:33 +01:00
DemoteRegToStack.cpp Revert rG5dd566b7c7b78bd- "PassManager.h - remove unnecessary Function.h/Module.h includes. NFCI." 2020-07-24 13:02:33 +01:00
EntryExitInstrumenter.cpp
EscapeEnumerator.cpp
Evaluator.cpp
FixIrreducible.cpp
FlattenCFG.cpp
FunctionComparator.cpp
FunctionImportUtils.cpp
GlobalStatus.cpp
GuardUtils.cpp
ImportedFunctionsInliningStatistics.cpp
InjectTLIMappings.cpp
InlineFunction.cpp [NFC] Remove unused GetUnderlyingObject paramenter 2020-07-31 02:10:03 -07:00
InstructionNamer.cpp
IntegerDivision.cpp
LCSSA.cpp [LCSSA] Provide option for caller to clean up unused PHIs. 2020-08-01 20:43:19 +01:00
LibCallsShrinkWrap.cpp
LLVMBuild.txt
Local.cpp [InstCombine] Fix incorrect Modified status 2020-08-13 15:10:41 +02:00
LoopPeel.cpp [Loop Peeling] Separate the Loop Peeling Utilities from the Loop Unrolling Utilities 2020-07-31 18:31:58 +00:00
LoopRotationUtils.cpp
LoopSimplify.cpp [LoopSimplify] Use SmallPtrSet and range for loops more. NFCI. 2020-07-20 15:00:59 +02:00
LoopUnroll.cpp [Loop Peeling] Separate the Loop Peeling Utilities from the Loop Unrolling Utilities 2020-07-31 18:31:58 +00:00
LoopUnrollAndJam.cpp [NFC][LoopUnrollAndJam] Use BasicBlock::replacePhiUsesWith instead of 2020-08-11 15:35:14 +00:00
LoopUnrollRuntime.cpp
LoopUtils.cpp [NFC] GetUnderlyingObject -> getUnderlyingObject 2020-07-30 21:08:24 -07:00
LoopVersioning.cpp Fix layering violation Transforms/Utils -> Scalar 2020-08-03 11:53:23 -07:00
LowerInvoke.cpp
LowerMemIntrinsics.cpp
LowerSwitch.cpp Revert rG5dd566b7c7b78bd- "PassManager.h - remove unnecessary Function.h/Module.h includes. NFCI." 2020-07-24 13:02:33 +01:00
MatrixUtils.cpp [Matrix] Add TileInfo abstraction for tiled matrix code-gen. 2020-07-20 18:49:08 +01:00
Mem2Reg.cpp
MetaRenamer.cpp
MisExpect.cpp
ModuleUtils.cpp
NameAnonGlobals.cpp
PredicateInfo.cpp [PredicateInfo][SCCP] Remove assertion (PR46814) 2020-07-23 19:36:51 +02:00
PromoteMemoryToRegister.cpp [SROA][Mem2Reg] Use efficient droppable use API (after D83976) 2020-07-28 17:41:01 -05:00
SanitizerStats.cpp
ScalarEvolutionExpander.cpp [SCEVExpander] Add helper to clean up instrs inserted while expanding. 2020-08-11 09:30:31 +01:00
SimplifyCFG.cpp [SimplifyCFG] Fix invoke->call fold w/ multiple invokes in presence of lifetime intrinsics 2020-08-08 20:00:28 +03:00
SimplifyIndVar.cpp
SimplifyLibCalls.cpp SimplifyLibCalls - remove unnecessary header and forward declaration. NFC. 2020-07-25 12:58:39 +01:00
SizeOpts.cpp Reland D84057 [PGO][PGSO] Remove a temporary flag used for gradual rollout. 2020-07-22 20:57:25 -07:00
SplitModule.cpp
SSAUpdater.cpp
SSAUpdaterBulk.cpp
StripGCRelocates.cpp
StripNonLineTableDebugInfo.cpp
SymbolRewriter.cpp
UnifyFunctionExitNodes.cpp
UnifyLoopExits.cpp
UniqueInternalLinkageNames.cpp
Utils.cpp
ValueMapper.cpp
VNCoercion.cpp [NFC] Remove unused GetUnderlyingObject paramenter 2020-07-31 02:10:03 -07:00