[llvm] [X86] Lower scalar integer div/rem to FP division (PR #216589)

Ankit Kumar Tiwari via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 20 10:03:37 PDT 2026


ankit-cybertron wrote:

> avoid for optsize/minsize code? while for vectors combineIntDivRem avoids a lot of scalarization code, scalars involve a lot of additional gpr->fpu->gpr traffic

 Added hasOptSize() to the scalar bailout, also added Test cases.

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


More information about the llvm-commits mailing list