[llvm] r209420 - Extend sys::getHostCPUFeatures to work on AArch64 platforms

Bradley Smith bradley.smith at arm.com
Fri May 23 03:02:47 PDT 2014


> Hi Bradley,
> 
> > +  enum {
> > +    HWCAP_AES   = 0x1,
> > +    HWCAP_PMULL = 0x2,
> > +    HWCAP_SHA1  = 0x4,
> > +    HWCAP_SHA2  = 0x8
> > +  };
> 
> I happened to try building LLVM on AArch64 this evening; it seems
> asm/hwcap.h gets included via some route and #defines these
> enumerators, so the build fails. With luck, the bot will pick it up
> soon too, but just in case...

Ah good catch, I hadn't considered this. I did also build this for AArch64 but I didn't spot it since these features names are only present in newer kernel headers which the toolchain I used doesn't have. This may also be a reason why the AArch64 buildbots aren't picking it up. I'll fix this up.

Regards,
Bradley Smith






More information about the llvm-commits mailing list