llvm-mirror/test/Transforms/LoopUnroll
Roman Lebedev b6a0e78067 [Value][InstCombine] Fix one-use checks in PHI-of-op -> Op-of-PHI[s] transforms to be one-user checks
As FIXME said, they really should be checking for a single user,
not use, so let's do that. It is not *that* unusual to have
the same value as incoming value in a PHI node, not unlike
how a PHI may have the same incoming basic block more than once.

There isn't a nice way to do that, Value::users() isn't uniqified,
and Value only tracks it's uses, not Users, so the check is
potentially costly since it does indeed potentially involes
traversing the entire use list of a value.
2020-08-26 20:20:41 +03:00
..
AArch64
AMDGPU [AMDGPU][LoopUnroll] Increase BB size to analyze for complete unroll. 2020-08-20 10:41:47 +03:00
ARM [LoopUnroll] Adjust CostKind query 2020-08-12 12:56:09 +01:00
Hexagon
PowerPC
X86
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
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 [test][LoopUnroll] Cleanup FullUnroll.ll 2020-08-14 16:05:04 -07:00
high-cost-trip-count-computation.ll
ignore-annotation-intrinsic-cost.ll
invalidate_right_loop.ll
loop-remarks-with-hotness.ll
loop-remarks.ll
nonlatchcondbr.ll
not-rotated.ll
opt-levels.ll
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
peel-loop-inner.ll
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
pr10813.ll
pr11361.ll
pr14167.ll Re-land "[PowerPC] Remove QPX/A2Q BGQ/BGP CNK support" 2020-07-28 14:00:11 +00:00
pr18861.ll
pr27157.ll
pr28132.ll
pr31718.ll
pr33437.ll
pr45939-peel-count-and-complete-unroll.ll
rebuild_lcssa.ll
revisit.ll [NewPM][PassInstrument] Add PrintPass callback to StandardInstrumentations 2020-07-30 10:07:57 -07:00
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 [Value][InstCombine] Fix one-use checks in PHI-of-op -> Op-of-PHI[s] transforms to be one-user checks 2020-08-26 20:20:41 +03:00
runtime-loop-non-exiting-latch.ll
runtime-loop.ll
runtime-multiexit-heuristic.ll
runtime-small-upperbound.ll [NFC] run update test script 2020-08-17 13:54:28 +01:00
runtime-unroll-remainder.ll
scevunroll.ll
shifted-tripcount.ll
tripcount-overflow.ll
unloop.ll
unroll-cleanup.ll
unroll-cleanuppad.ll
unroll-count.ll
unroll-header-exiting-with-phis.ll
unroll-heuristics-pgo.ll
unroll-loop-invalidation.ll [NewPM] Don't print 'Invalidating all non-preserved analyses' 2020-07-30 19:40:29 -07:00
unroll-maxcount.ll
unroll-opt-attribute.ll
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