[PATCH] Add host feature detection for Qualcomm CPUs

Hi,

I would like to add host feature detection for Qualcomm CPUs. The implementation models
the feature detection for ARM CPUs. Is this OK to commit?

Thanks,
Tobi

0001-Add-host-CPU-feature-detection-for-Qualcomm-CPUs.patch (1.36 KB)

Hi Tobi,

[cc llvm-commits]

I don't understand why you need to replicate all that - why can't you just change:

if (Implementer == "0x41") // ARM Ltd.

To:

if (Implementer == "0x41" || Implementer == "0x31")

?

It looks like the feature strings will be the same - and in fact we grabbed them straight from the Linux kernel source which returns the same strings for ARM-like CPUs (QC or ARM).

Cheers,

James

0x51 you mean? I agree with James, should be just a matter of adding the
new case on the existing condition.

cheers,
--renato

Sure, LGTM

-Chris