Sign in
cobalt
/
cobalt
/
cc19caab3101a025a2ae4db11601ed3496c7d730
/
.
/
third_party
/
llvm-project
/
clang
/
test
/
CodeGen
/
ffp-contract-option.c
blob: 52b7507959402ead45a1b91ac8cc5bf875fdf456 [
file
] [
log
] [
blame
]
// 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
;
}