topperc wrote: I put up https://github.com/llvm/llvm-project/pull/189286 to improve the chunk method for divisor 67. It's probably better than the magic method for UREM. I'm not sure about UDIV. https://github.com/llvm/llvm-project/pull/154968