Some target don't have div instruction or div is very expensive. For large
integer type, div is transformed to non-div instruction by expand-div-rem
pass. Transforming div to add in loop help to improve the performance.
Details
Details
- Reviewers
hliao craig.topper
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Does div here replace the original i?