[llvm] [LV] Don't predicate divs with invariant divisor when folding tail (PR #98904)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 24 15:53:19 PDT 2024


https://github.com/ayalz approved this pull request.

This LGTM, thanks!

Perhaps worth leaving behind TODOs and/or opening tickets for

- folding CM.isPredicatedInst() into Legal.isMaskRequired()
- X86 cost-model issue with vector versus scalar udiv
- expand the AddRec SCEV of pointers for wide loads/stores instead of processing their existing GEP computation

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


More information about the llvm-commits mailing list