llvm-project/llvm/test/Transforms/LoopDistribute
Florian Hahn f0ef1ea6dd
[IRBuilder] Introduce folder using inst-simplify, use for Or fold.
Alternative to D116817.

This introduces a new value-based folding interface for Or (FoldOr),
which takes 2 values and returns an existing Value or a constant if the
Or can be simplified. Otherwise nullptr is returned. This replaces the
more restrictive CreateOr which takes 2 constants.

This is the used to implement a folder that uses InstructionSimplify.
The logic to simplify `Or` instructions is moved there. Subsequent
patches are going to transition other CreateXXX to the more general
FoldXXX interface.

Reviewed By: nikic, lebedev.ri

Differential Revision: https://reviews.llvm.org/D116935
2022-01-11 17:30:48 +00:00
..
basic-with-memchecks.ll [LoopUtils] Simplify addRuntimeCheck to return a single value. 2021-10-18 18:03:09 +01:00
basic.ll [test] Fixup tests with -analyze in llvm/test/Transforms 2021-09-04 16:45:51 -07:00
bounds-expansion-bug.ll
convergent-no-cross-partition-checks.ll
crash-in-memcheck-generation.ll
diagnostics-with-hotness.ll
diagnostics.ll
disable_nonforced.ll
disable_nonforced_enable.ll
followup.ll
metadata.ll
no-if-convert.ll
outside-use.ll
pointer-phi-in-loop.ll Recommit "[LAA] Support pointer phis in loop by analyzing each incoming pointer." 2021-09-14 11:19:12 +01:00
pr28443.ll
program-order.ll
scev-inserted-runtime-check.ll [IRBuilder] Introduce folder using inst-simplify, use for Or fold. 2022-01-11 17:30:48 +00:00
symbolic-stride.ll
uncomputable-backedge-taken-count.ll
unknown-bounds-for-memchecks.ll