Allow non-constant divisors in affine mod, floordiv, ceildiv.
The requirement that divisor>0 is not enforced here outside of the constant case, but how to enforce it? If I understand correctly, it is UB and while it is nice to be able to deterministically intercept UB, that isn't always feasible. Hopefully, keeping the existing enforcement in the constant case is enough. Differential Revision: https://reviews.llvm.org/D140079
parent
428f3640
Please register or sign in to comment