r212871 - Require an x86 registered target for this test by splitting it out

Artyom Skrobov Artyom.Skrobov at arm.com
Thu Jul 17 03:51:47 PDT 2014


Renato, unfortunately --driver-mode=cl doesn't seem to accept -march...

$ clang --driver-mode=cl /Zs /WX -m32 -m64 -msse3 -msse4.1 -mavx -mno-avx -march:ia32 -### -- 2>&1 tools/clang/test/Driver/cl-x86-flags.c
clang-3.5: error: unknown argument: '-march:ia32'

I don't see any easy way to fix this test unfortunately.

Should we just remove it for the time being?


-----Original Message-----
From: Renato Golin [mailto:renato.golin at linaro.org] 
Sent: 16 July 2014 18:37
To: Artyom Skrobov
Cc: Reid Kleckner; Clang Commits
Subject: Re: r212871 - Require an x86 registered target for this test by splitting it out

On 15 July 2014 14:53, Artyom Skrobov <Artyom.Skrobov at arm.com> wrote:
> Just to let you know, your new test case still fails when x86 backend is
> enabled but not set as the default.

This is also failing on CMake builds on ARM. I think -march:ia32
should suffice on that line, or, if the test is check the defaults,
move that line only to x86 specific area.

--renato








More information about the cfe-commits mailing list