![]() 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 |
||
---|---|---|
.. | ||
basic-with-memchecks.ll | ||
basic.ll | ||
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 | ||
pr28443.ll | ||
program-order.ll | ||
scev-inserted-runtime-check.ll | ||
symbolic-stride.ll | ||
uncomputable-backedge-taken-count.ll | ||
unknown-bounds-for-memchecks.ll |