[PATCH] [ARM] Handle conflicts between -mfpu and -mfloat-abi options

Renato Golin renato.golin at linaro.org
Wed Oct 1 10:28:36 PDT 2014


>>! In D5460#23, @rmaprath wrote:
> AFAICS The architecture does not play a role in determining the floating point ABI / ops. The underlying platform sometimes infer floating point ABI / ops, and I have a test for that (DEFAULT-FP).

Not yet, but this might change in the future by a broken patch checking for "if (v8) ...".


> Do you want me to add tests for pre-v8 architectures anyways?

Yes, just add the same checks below:

    // CHECK-SOFT-FLOAT: "-target-feature" "-neon"

http://reviews.llvm.org/D5460






More information about the cfe-commits mailing list