It isn't obvious to me why these have to be features?
We know the cpu name, and as the not-failing tests show,
that is enough for X86Subtarget::isSLM()/X86Subtarget::isAtom().
Details
Details
- Reviewers
craig.topper RKSimon spatel
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I've no objections, but really I'd like to see the isAtom() and isSLM() methods removed entirely - both appear to have been added as perf regression hacks over the years, and then reused where proper feature flags should have been added instead.
Comment Actions
At least some of their uses are to pick CPU-specific cost model over the generic worst-case one.
I'm not sure if this is something that can be just dropped.
Don’t we also accept “bonnell”?