[PATCH] Adds Cortex-A53 and Cortex-A57 subtargets.

Eric Christopher echristo at gmail.com
Thu Mar 6 09:22:08 PST 2014

On Thu, Mar 6, 2014 at 7:13 AM, Dave Estes <cestes at codeaurora.org> wrote:
>> Hi Dave,
>> The error on Darwin is:
>> Assertion failed: (TM.getSubtarget<AArch64Subtarget>().isTargetELF() &&
>> "unknown subtarget type"), function createTLOF, file
>> /s/sched/lib/Target/AArch64/AArch64ISelLowering.cpp, line 35.
>> Since AArch64 doesn't appear to be supported on Darwin, you'll have to add
>> a triple, just like the other AArch64 test cases:
>> -mtriple=aarch64-none-linux-gnu
>> Thanks,
>> -Andy
> Thank a bunch, Andy!
> Just so I understand, the builder was called
> clang-x86_64-darwin11-nobootstrap-RAincremental, but that darwin referred to
> the target and not the host. I spend some time trying to figure out where
> the builder was configuring, but I couldn't find it.

By default it'll refer to both. Testcases without triples are assumed
to be "native" and if they just have an architecture listed then <that
arch>-"native os" is what it'll default to.

> Thanks again, Andy. I'm just glad this wasn't some elaborate rite of passage
> for new submitters. LOL

About as bad as it gets :)


More information about the llvm-commits mailing list