[llvm] [BPF] Use mul for certain div/mod operations (PR #110712)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 1 13:12:57 PDT 2024
yonghong-song wrote:
For
> you mean to lower sdiv into udiv plus conditionals ?
This is my original proposal. But after discussing with @4ast, looks like using mul etc. has better performance and that is why we did this by utilizing LLVM existing features. If interested, udiv+conditional approach can be experimented later.
https://github.com/llvm/llvm-project/pull/110712
More information about the llvm-commits
mailing list