[PATCH] Fix host processor identification for Sandy Bridge

Aaron Ballman aaron at aaronballman.com
Mon Mar 11 07:55:13 PDT 2013


This patch addresses PR15351 by explicitly checking for AVX support
when getting the host processor information.  Not all Sandy Bridge
processors support AVX (such as the Pentium-based ones), so I am
checking explicitly for AVX support when deciding which processor to
report.

I'm not entirely certain of how to make a lit test for this though, so
suggestions are welcome.

Thanks!

~Aaron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SandyBridge.patch
Type: application/octet-stream
Size: 1529 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130311/6e3021d1/attachment.obj>


More information about the cfe-commits mailing list