llvm-project/llvm/test/Analysis/ValueTracking
Alexander Shaposhnikov 2ebfda2417 [InstCombine] Improve folding of mul + icmp
This diff adds folds for patterns like X * A < B
where A, B are constants and "mul" has either "nsw" or "nuw".
(to address https://github.com/llvm/llvm-project/issues/56563).

Test plan:
1/ ninja check-llvm check-clang
2/ Bootstrapped LLVM/Clang pass tests

Differential revision: https://reviews.llvm.org/D130039
2022-07-22 22:08:53 +00:00
..
aarch64.irg.ll
assume-queries-counter.ll
assume.ll
deref-abstract-gc.ll
deref-bitcast-of-gep.ll
dereferenceable-and-aligned.ll
func-ptr-lsb.ll
gep-negative-issue.ll [test] Modify some tests to remove implicit -basic-aa in legacy PM RUN lines 2022-03-08 14:35:06 -08:00
get-pointer-base-with-const-off.ll
invariant.group.ll
known-bits-from-operator-constexpr.ll
known-bits-from-range-md.ll
known-non-equal.ll
known-nonnull-at.ll
known-power-of-two-urem.ll [InstCombine] Improve folding of mul + icmp 2022-07-22 22:08:53 +00:00
known-power-of-two.ll
knownzero-addrspacecast.ll
knownzero-shift.ll
memory-dereferenceable.ll
monotonic-phi.ll
non-negative-phi-bits.ll
numsignbits-from-assume.ll
pr23011.ll
select-pattern.ll
shift-recurrence-knownbits.ll
signbits-extract-elt.ll