[llvm] [GISel][RISCV] Legalize `G_{U|S}DIVREM` (PR #93067)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Wed May 22 10:54:08 PDT 2024


dtcxzyw wrote:

> Is there any good reason why it always generates separate lib calls for div and rem rather than a single line call for divrem?

I just leave it as a to-do. It is unclear whether `DivRemPairsPass` always converts `div + rem` into `div + mul`.


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


More information about the llvm-commits mailing list