XCore target front end
Eli Friedman
eli.friedman at gmail.com
Fri Aug 9 21:42:05 PDT 2013
On Wed, Aug 7, 2013 at 10:33 AM, Robert Lytton <robert at xmos.com> wrote:
> Hi,
>
> I would like to commit the follow patch which adds support for the XCore
> target to clang.
> As I am relatively unfamiliar with clang I would not be surprised if there
> is additional work still need!
> I would be delighted if someone could verify I have not neglected anything
> or misunderstood the architecture in any way.
+void Clang::AddXCoreTargetArgs(const ArgList &Args,
+ ArgStringList &CmdArgs) const {
+ CmdArgs.push_back("-fno-common");
+}
This isn't right; if you want to default to -fno-common, you should
modify the existing OPT_fcommon handling.
+ // int getDwarfEHStackPointer(CodeGen::CodeGenModule &CGM) const {return 14;}
Why is this commented out?
You're missing tests for the driver changes.
Otherwise, looks fine.
-Eli
More information about the cfe-commits
mailing list