mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 21:53:12 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user