1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/test/Transforms/CodeExtractor
Ehud Katz a45c842965 [CodeExtractor] Fix extraction of a value used only by intrinsics outside of region
We should only skip `lifetime` and `dbg` intrinsics when searching for users.
Other intrinsics are legit users that can't be ignored.

Without this fix, the testcase would result in an invalid IR. `memcpy`
will have a reference to the, now, external value (local to the
extracted loop function).

Fix PR42194

Differential Revision: https://reviews.llvm.org/D78749
2020-04-25 11:44:47 +03: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
cost_meta.ll
cost.ll
extract-assume.ll
ExtractedFnEntryCount.ll
inline_eh_1.ll
inline_eh.ll
live_shrink_gep.ll
live_shrink_hoist.ll
live_shrink_multiple.ll
live_shrink_unsafe.ll [CodeExtractor] Fix typo in check label to fix issue reported on D77354 2020-04-08 14:59:15 +01:00
live_shrink.ll
LoopExtractor_alloca.ll [CodeExtractor] Fix extraction of a value used only by intrinsics outside of region 2020-04-25 11:44:47 +03:00
LoopExtractor_crash.ll
LoopExtractor_infinite.ll
LoopExtractor_min_wrapper.ll
LoopExtractor.ll
MultipleExitBranchProb.ll
PartialInlineAlloca2.ll
PartialInlineAlloca4.ll
PartialInlineAlloca5.ll
PartialInlineAlloca.ll
PartialInlineAnd.ll
PartialInlineAndOr.ll
PartialInlineAttributes.ll
PartialInlineCallRef.ll
PartialInlineDebug.ll
PartialInlineEntryPHICost.ll
PartialInlineEntryUpdate.ll
PartialInlineHighCost.ll
PartialInlineInvokeProducesOutVal.ll
PartialInlineLiveAcross.ll [llvm] Fix missing FileCheck directive colons 2020-04-06 09:59:08 -06:00
PartialInlineNoInline.ll
PartialInlineNoLiveOut.ll [llvm] Fix missing FileCheck directive colons 2020-04-06 09:59:08 -06:00
PartialInlineNotViable.ll
PartialInlineOptRemark.ll
PartialInlineOr.ll
PartialInlineOrAnd.ll
PartialInlineORECrash.ll
PartialInlinePGOMultiRegion.ll
PartialInlinePGORegion.ll
PartialInlineVarArg.ll
PartialInlineVarArgsDebug.ll
SingleCondition.ll
unreachable-block.ll