forked from OSchip/llvm-project
Change -ffp-contract=fast test to run on Aarch64
(I don't have powerpc enabled in my build and I am changing how -ffp-contract=fast works.) llvm-svn: 298468
This commit is contained in:
parent
13bdbfb622
commit
3087c96348
|
@ -1,8 +1,8 @@
|
|||
// RUN: %clang_cc1 -O3 -ffp-contract=fast -triple=powerpc-apple-darwin10 -S -o - %s | FileCheck %s
|
||||
// REQUIRES: powerpc-registered-target
|
||||
// RUN: %clang_cc1 -O3 -ffp-contract=fast -triple=aarch64-apple-darwin -S -o - %s | FileCheck %s
|
||||
// REQUIRES: aarch64-registered-target
|
||||
|
||||
float fma_test1(float a, float b, float c) {
|
||||
// CHECK: fmadds
|
||||
// CHECK: fmadd
|
||||
float x = a * b;
|
||||
float y = x + c;
|
||||
return y;
|
||||
|
|
Loading…
Reference in New Issue