[PATCH] D20988: [cpu-detection] Substantial refactor of Host CPU detection code (x86)

Alina Sbirlea via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 6 11:35:26 PDT 2016


asbirlea added a comment.

I'll go ahead and check this in for now, as a good clean-up for the host detection code. Further improvements are welcome!

The builtins are already supported in clang; it makes sense to add the runtime support. 
While I tend to agree that a new interface would be nice, I think for the time being the old interface should be supported. I'll add you on the next patch to compiler-rt to keep a log of this; perhaps it encourages those interested in designing a new interface.


http://reviews.llvm.org/D20988





More information about the llvm-commits mailing list