[PATCH][ARM] Add support for krait cpu in llvm::sys::getHostCPUName()

Kai Nacke kai.nacke at redstar.de
Fri Dec 20 01:21:35 PST 2013


Hi Rentato!

On 20.12.2013 09:59, Renato Golin wrote:
> On 19 December 2013 20:16, Kai Nacke <kai.nacke at redstar.de
> <mailto:kai.nacke at redstar.de>> wrote:
>
>     recently support for krait cpu was added.
>     This patch extends llvm::sys::getHostCPUName() to return krait as
>     cpu for the APQ0864.
>
>
> Hi Kai,
>
> Patch looks good to me. Isn't there any tests that could be added?

I have the /proc/cpuinfo file available but I do not see a way to turn 
this into a test. The file name is hard coded in getHostCPUName().

Regards,
Kai

>
> cheers,
> --renato
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>





More information about the llvm-commits mailing list