[AArch64] -mcpu=native CPU detection for Cavium processors
authorJoel Jones <joelkevinjones@gmail.com>
Fri, 5 Oct 2018 22:23:21 +0000 (22:23 +0000)
committerJoel Jones <joelkevinjones@gmail.com>
Fri, 5 Oct 2018 22:23:21 +0000 (22:23 +0000)
commit0a6c000c1687d70d849f15a6d51f0dad7680359f
tree735ab30a3532713c913a74405e81b4da699fd5af
parent227f25420a4058fc2af63a795eed929e0c4bfef3
[AArch64] -mcpu=native CPU detection for Cavium processors

This small patch updates the CPU detection for Cavium processors when
-mcpu=native is passed on compile-line.

Patch by Stefan Teleman
Differential Revision: https://reviews.llvm.org/D51939

llvm-svn: 343897
llvm/lib/Support/Host.cpp
llvm/unittests/Support/Host.cpp