[llvm] [GlobaISel] Allow expanding of sdiv -> mul by constant (PR #146504)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 11 07:43:29 PDT 2025


jyli0116 wrote:

> This looks OK to me from what I can tell and everyone else isn't against it. I noticed that we didn't have a lot of tests for scalar sdiv that changed, only vector versions. Can we make sure there are some scalar tests?

That makes sense, I've added some tests for sdiv by constant for different scalar types

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


More information about the llvm-commits mailing list