[PATCH] D38601: Enable amdfam15,amdfam15h, and amdfam10h support

2017-10-05 Thread Erich Keane via Phabricator via cfe-commits
erichkeane abandoned this revision. erichkeane added a comment. Talking to Craig, this is just wrong for these features. Attribute-target does some funky things in order to make this work, so I'll just bring those 'hacks' into my other patch. https://reviews.llvm.org/D38601 ___

[PATCH] D38601: Enable amdfam15,amdfam15h, and amdfam10h support

2017-10-05 Thread Erich Keane via Phabricator via cfe-commits
erichkeane created this revision. buildin_cpu_is already supports amdfam10h and amdfam15h, the 'sans-h' version to the check and enable it. Addtionally, add amdfam15 as an alias for bdver1, like amdfam10 is for barcelona. https://reviews.llvm.org/D38601 Files: lib/Basic/Targets/X86.cpp tes