mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 21:06:06 +00:00

(I don't have powerpc enabled in my build and I am changing how -ffp-contract=fast works.) llvm-svn: 298468
10 lines
250 B
C
10 lines
250 B
C
// 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: fmadd
|
|
float x = a * b;
|
|
float y = x + c;
|
|
return y;
|
|
}
|