Make host ARM CPU feature detection independent of the vendor
authorTobias Grosser <grosser@fim.uni-passau.de>
Tue, 11 Jun 2013 21:45:01 +0000 (21:45 +0000)
committerTobias Grosser <grosser@fim.uni-passau.de>
Tue, 11 Jun 2013 21:45:01 +0000 (21:45 +0000)
commitbd9e549e218c1d47d3c7e44f668eae26418774bc
tree08b8f334a2ce14c9571a36d8a48635c6c6cb1a24
parentdd76f067f79320fbd7e0fa49762036fa93b724c4
Make host ARM CPU feature detection independent of the vendor

For ARM on linux we use /proc/cpuinfo to detect the host CPU's features.
Linux derives these values without ever looking at the vendor of the
specific CPU implementation. Hence, it adds little value, if we parse
the output of /proc/cpuinfo only for certain vendors.

This patch enables us to derive the correct feature flags e.g. for Qualcomm
CPUs.

llvm-svn: 183790
llvm/lib/Support/Host.cpp