This adds Intel's Knights Mill CPU to valid CPU names for the backend. For now its an alias of "knl", but ultimately we need to support AVX5124FMAPS and AVX5124VNNIW instruction sets for it.
Details
Details
Diff Detail
Diff Detail
Event Timeline
test/CodeGen/X86/cpus.ll | ||
---|---|---|
31 | This looks like it should have been added already. |
test/CodeGen/X86/cpus.ll | ||
---|---|---|
31 | Do you want me to commit it separately? |
test/CodeGen/X86/cpus.ll | ||
---|---|---|
31 | Yes please - it just looks like it was missed when KNL support was added? |
lib/Target/X86/X86.td | ||
---|---|---|
632 | Maybe worth creating a KNLFeatures feature stub and KnightsMillProc class? Also, possibly rephrase the TODO comment explaining what is actually missing? |
Comment Actions
LGTM with one minor
lib/Support/Host.cpp | ||
---|---|---|
342 | I assume you've checked this - I guess there's no way to test for it? |
I assume you've checked this - I guess there's no way to test for it?