[llvm] Simplify `(a % b) lt/ge (b-1)` into `(a % b) eq/ne (b-1)` (PR #72504)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 6 03:48:39 PST 2023


dtcxzyw wrote:

> Should we add tests with constant scalars only (use integer constants, and splat vectors)? for example:

Yeah, you should use `@llvm.assume` in Alive2 proof and use constants in tests.


https://github.com/llvm/llvm-project/pull/72504


More information about the llvm-commits mailing list