1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/Transforms/LoopUnroll
Jeroen Dobbelaere 76b232f00a [LoopUnroll] Use llvm.experimental.noalias.scope.decl for duplicating noalias metadata as needed
This is a fix for https://bugs.llvm.org/show_bug.cgi?id=39282. Compared to D90104, this version is based on part of the full restrict patched (D68484) and uses the `@llvm.experimental.noalias.scope.decl` intrinsic to track the location where !noalias and !alias.scope scopes have been introduced. This allows us to only duplicate the scopes that are really needed.

Notes:
- it also includes changes and tests from D90104

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D92887
2021-01-24 13:48:20 +01:00
..
AArch64 [LoopUnroll] add test for full unroll that is sensitive to cost-model; NFC 2020-11-20 08:15:46 -05:00
AMDGPU
ARM [ARM] Don't aggressively unroll vector remainder loops 2020-11-10 17:01:31 +00:00
Hexagon
PowerPC Precommit tests that have poison as shufflevector's placeholder 2020-12-29 17:09:31 +09:00
X86 Precommit tests that have poison as shufflevector's placeholder 2020-12-29 17:09:31 +09:00
2004-05-13-DontUnrollTooMuch.ll
2005-03-06-BadLoopInfoUpdate.ll
2006-08-24-MultiBlockLoop.ll
2007-04-16-PhiUpdate.ll
2007-05-05-UnrollMiscomp.ll
2007-05-09-UnknownTripCount.ll
2007-11-05-Crash.ll
2011-08-08-PhiUpdate.ll
2011-08-09-IVSimplify.ll
2011-08-09-PhiUpdate.ll
2011-10-01-NoopTrunc.ll
2012-04-09-unroll-indirectbr.ll [NFCI][SimplifyCFG] Mark all the SimplifyCFG tests that already don't invalidate DomTree as such 2020-12-17 01:03:49 +03:00
basic.ll
callbr.ll
complete_unroll_profitability_with_assume.ll
convergent.ll
debug-info.ll
disable_nonforced_count.ll
disable_nonforced_enable.ll
disable_nonforced_full.ll
disable_nonforced.ll
disable-full-unroll-by-opt.ll
disable-loop-unrolling_forced.ll
ephemeral.ll
epilog_const_phi.ll
followup.ll
full-unroll-bad-cost.ll
full-unroll-crashers.ll
full-unroll-heuristics-2.ll
full-unroll-heuristics-cmp.ll
full-unroll-heuristics-dce.ll
full-unroll-heuristics-geps.ll
full-unroll-heuristics-phi-prop.ll
full-unroll-heuristics.ll
full-unroll-keep-first-exit.ll
FullUnroll.ll
high-cost-trip-count-computation.ll
ignore-annotation-intrinsic-cost.ll
invalidate_right_loop.ll
loop-remarks-with-hotness.ll
loop-remarks.ll
noalias.ll [LoopUnroll] Use llvm.experimental.noalias.scope.decl for duplicating noalias metadata as needed 2021-01-24 13:48:20 +01:00
nonlatchcondbr.ll
not-rotated.ll
opt-levels.ll [NewPM] Run non-trivial loop unswitching under -O2/3/s/z 2021-01-12 11:04:40 -08:00
optsize-loop-size.ll
partial-unroll-const-bounds.ll
partial-unroll-dead-instructions.ll
partially-unroll-unconditional-latch.ll
peel-loop2.ll
peel-loop-conditions-pgo-1.ll
peel-loop-conditions-pgo-2.ll
peel-loop-conditions.ll Loop peeling: check that latch is conditional branch 2021-01-20 11:01:16 -05:00
peel-loop-inner.ll [SimplifyCFG] FoldBranchToCommonDest(): re-lift restrictions on liveout uses of bonus instructions 2021-01-23 01:29:05 +03:00
peel-loop-irreducible.ll
peel-loop-negative.ll
peel-loop-nests.ll
peel-loop-not-forced.ll
peel-loop-pgo-deopt-idom-2.ll
peel-loop-pgo-deopt-idom.ll
peel-loop-pgo-deopt.ll
peel-loop-pgo.ll
peel-loop-scev-invalidate.ll
peel-loop.ll [SimplifyCFG] TryToSimplifyUncondBranchFromEmptyBlock() already knows how to preserve DomTree 2020-12-17 01:03:49 +03:00
pr10813.ll
pr11361.ll
pr14167.ll
pr18861.ll
pr27157.ll
pr28132.ll
pr31718.ll
pr33437.ll
pr45939-peel-count-and-complete-unroll.ll
rebuild_lcssa.ll
revisit.ll
runtime-epilog-debuginfo.ll
runtime-li.ll
runtime-loop1.ll
runtime-loop2.ll
runtime-loop3.ll
runtime-loop4.ll
runtime-loop5.ll
runtime-loop-branchweight.ll
runtime-loop-multiexit-dom-verify.ll
runtime-loop-multiple-exits.ll
runtime-loop-non-exiting-latch.ll
runtime-loop.ll
runtime-multiexit-heuristic.ll
runtime-small-upperbound.ll
runtime-unroll-remainder.ll
scevunroll.ll
shifted-tripcount.ll
tripcount-overflow.ll
unloop.ll
unroll-after-peel.ll [LoopUnroll] Fix a crash 2021-01-11 10:19:26 +07:00
unroll-cleanup.ll
unroll-cleanuppad.ll
unroll-count.ll
unroll-header-exiting-with-phis.ll
unroll-heuristics-pgo.ll
unroll-loop-invalidation.ll
unroll-maxcount.ll
unroll-opt-attribute.ll [PGO][PGSO] Let unroll hints take precedence over PGSO. 2021-01-07 10:10:31 -08:00
unroll-pragmas-disabled.ll
unroll-pragmas.ll
unroll-preserve-scev-lcssa.ll
unroll-unconditional-latch.ll
update-loop-info-in-subloops.ll
wrong_assert_in_peeling.ll