[PATCH] D21193: [cpu-detection] Return amdfam10 for all subtypes. Address Bug 28067.

Eric Christopher via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 9 14:21:48 PDT 2016


echristo added a comment.

So, we already have support for barcelona, etc in the x86 backend. Perhaps we should just update the callers to remove the amdfam10- from the prefix in order to pass things down further? Take it as an alias to the cpu? Should it just return "barcelona" instead? (Will that end up causing incompatibility problems in compiler-rt? Might if we're not compatible that way).

-eric


http://reviews.llvm.org/D21193





More information about the llvm-commits mailing list