llvm-project/llvm/test/Transforms/CodeExtractor
Sean Fertile 18f17333dd [PartialInlining] Fix Crash from holding a reference to a destructed ORE.
The callback used to create an ORE for the legacy PI pass caches the allocated
object in a unique_ptr in the runOnModule function, and returns a reference to
that object. Under certian circumstances we can end up holding onto that
reference after the OREs destruction. Rather then allowing the new and legacy
passes to create ORE object in diffrent ways, create the ORE at the point of
use.

Differential Revision: https://reviews.llvm.org/D43219

llvm-svn: 330473
2018-04-20 19:56:26 +00:00
..
X86
2004-03-13-LoopExtractorCrash.ll
2004-03-14-DominanceProblem.ll
2004-03-14-NoSwitchSupport.ll
2004-03-17-MissedLiveIns.ll
2004-03-17-UpdatePHIsOutsideRegion.ll
2004-03-18-InvokeHandling.ll
2004-08-12-BlockExtractPHI.ll
2004-11-12-InvokeExtract.ll
BlockAddressReference.ll
BlockAddressSelfReference.ll Clean up a test case 2017-06-27 21:35:49 +00:00
ExtractedFnEntryCount.ll
MultipleExitBranchProb.ll
PartialInlineAlloca.ll
PartialInlineAlloca2.ll
PartialInlineAlloca4.ll
PartialInlineAlloca5.ll
PartialInlineAnd.ll
PartialInlineAndOr.ll
PartialInlineAttributes.ll [CodeExtractor] Use subset of function attributes for extracted function. 2018-01-07 11:22:25 +00:00
PartialInlineCallRef.ll
PartialInlineDebug.ll [CodeExtractor] Add debug locations for new call and branch instrs. 2017-12-08 21:49:03 +00:00
PartialInlineEntryUpdate.ll
PartialInlineHighCost.ll
PartialInlineLiveAcross.ll
PartialInlineNoInline.ll [PartialInliner] Skip call sites where inlining fails. 2017-11-03 11:29:00 +00:00
PartialInlineNoLiveOut.ll
PartialInlineNotViable.ll [PartialInlining] Use isInlineViable to detect constructs preventing inlining. 2018-03-10 14:53:44 +00:00
PartialInlineORECrash.ll [PartialInlining] Fix Crash from holding a reference to a destructed ORE. 2018-04-20 19:56:26 +00:00
PartialInlineOptRemark.ll
PartialInlineOr.ll
PartialInlineOrAnd.ll
PartialInlinePGOMultiRegion.ll - Removed unused lamba (IsReturnBlock) causing build bots to fail for r319398 2017-11-30 03:36:57 +00:00
PartialInlinePGORegion.ll - Removed unused lamba (IsReturnBlock) causing build bots to fail for r319398 2017-11-30 03:36:57 +00:00
PartialInlineVarArg.ll [PartialInliner] Update test (NFC). 2018-02-04 18:40:24 +00:00
PartialInlineVarArgsDebug.ll [InlineFunction] Set debug loc for call to forward varargs. 2017-12-09 14:25:33 +00:00
SingleCondition.ll
cost.ll
cost_meta.ll
live_shrink.ll
live_shrink_gep.ll
live_shrink_hoist.ll [CodeExtractor] Fix iterator invalidation in findOrCreateBlockForHoisting. 2017-11-01 09:48:12 +00:00
live_shrink_multiple.ll
live_shrink_unsafe.ll
unreachable-block.ll