robinbishtt wrote: Thanks for the review @PiJoules! Added a comment explaining the `lrdivi(1L << 62, 3)` regression test case. I don't have commit access could you please merge this on my behalf once CI finishes? https://github.com/llvm/llvm-project/pull/241213