-
llvm/lib/Transforms/Vectorize/ 1
LoopVectorizationPlanner.h
| | Authored by fhahn on Mar 11 2020, 4:05 AM. Event Timelinefhahn created this revision. Herald added a project: Restricted Project. fhahn added inline comments. fhahn retitled this revision from [LV] Allow large RT checks, if they are a fraction of the scalar cost (WIP) to [LV] Allow large RT checks, if they are a fraction of the scalar cost.. This revision is now accepted and ready to land. fhahn retitled this revision from [LV] Allow large RT checks, if they are a fraction of the scalar cost. to [LV] Create RT checks during planning, expose cost functions.. Herald added a project: Restricted Project. fhahn retitled this revision from [LV] Create RT checks during planning, expose cost functions. to [LV] Create RT checks once VF/IC are selected, track scalar cost.. This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Path | Size |
---|
| llvm/ | lib/ | Transforms/ | Vectorize/ |
| | | 10 lines | | 27 lines |
Commit | Tree | Parents | Author | Summary | Date |
---|
6327e0556610 | 218fb66da3aa | 6a6484c666ed | Florian Hahn | | Sep 7 2021, 4:16 AM |
|
Scalar cost is not VF depending so this doesn't look like the best place for it. Please take a look at https://reviews.llvm.org/D109678 where I propose to cache scalar cost inside code model. How do you like it? Will it work for you as well?