This patch enables use of smaller 16-bit division instead of 64-bit for positive numbers less than 65536.
This is profitable for some tests since on Silvermont 64-bit division is quite slow.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Hi Alexey,
Could you update the test case to check that the lowering is actually correct, not just that we are/aren’t generating the related instruction?
Thanks,
-Quentin