XCore make test checks more concise

Robert Lytton robert at xmos.com
Fri Aug 16 04:36:43 PDT 2013


Hi Rafael,

Here is the amended patch.
I've moved IL checks into test/CodeGen/xcore-abi.c.
Also built at -O0, amending CHECK statements to be less brittle. 

Robert

________________________________________
From: Rafael EspĂ­ndola [rafael.espindola at gmail.com]
Sent: 16 August 2013 00:53
To: Robert Lytton
Cc: cfe-commits at cs.uiuc.edu
Subject: Re: XCore make test checks more concise

On 15 August 2013 11:29, Robert Lytton <robert at xmos.com> wrote:
> (http://clang.llvm.org/docs/DriverInternals.html)
> Now I get it!
>
> So test should be:
> // RUN: %clang -target xcore %s -### -o %t.o 2>&1 | FileCheck  %s
> // CHECK: "-momit-leaf-frame-pointer"
> // CHECK: "-fno-signed-char"
> // CHECK: "-fno-common"

Yes.

> I'm a bit bothered that there is no "-fomit-frame-pointer".
> Should I see this too?

It is mdisable-fp-elim in the cc1 level.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PatchTest
Type: application/octet-stream
Size: 2430 bytes
Desc: PatchTest
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130816/edf5356e/attachment.obj>


More information about the cfe-commits mailing list