Update for clang tests for D14568
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
Why isn't this just part of D14568?
It's in the other repository.
From: James Molloy [mailto:james@jamesmolloy.co.uk]
Sent: 11 November 2015 12:42
To: reviews+D14570+public+1de1f7f06e3d3585@reviews.llvm.org; Artyom Skrobov; renato.golin@linaro.org; joerg@netbsd.org; Bernard Ogden
Cc: kanheim@a-bix.com; cfe-commits@lists.llvm.org
Subject: Re: [PATCH] D14570: Handle ARMv6KZ naming
Hi Artyom,
Why isn't this just part of D14568?
Cheers,
James
The specific CPU was only chosen to match what the backend supported at the time. As long as the feature set is identical, it doesn't really matter.
The feature set isn't quite identical; default ARMv6 CPU for non-NetBSD targets is "arm1136jf-s", which differs from "arm1176jzf-s" by not having the HasV6KOps and FeatureTrustZone backend features.
I don't understand why NetBSD is special in this respect; but anyway, my patch preserves its special handling.
Wow, this is tricky: the code change is in LLVM, and test change in clang :(. However, this does seem to preserve the features.
This is a dependent change so be careful about commit ordering.
The problem is that Clang is the most important user of this library, which also has other users in LLVM. We just need to make sure that Clang is doing the right thing, and that the intentions are recorded on the right places. In this case, it's Clang. :)