[PATCH] Set "thumbv6k" CPU subtype to ARM_V6

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 11 10:56:31 PDT 2015


> Why is armv6 the only case where we need to specify this explicitly?

It may not be :(. I only stumbled onto this because clang spits out "thumbv6k", expecting the cpu subtype to be armv6.

> Do the other cases all default to something sane?

I think we default to CPU_SUBTYPE_ARM_V7K when we don't know the specific ARM architecture name passed in, which seems sane.

vedant


More information about the llvm-commits mailing list