repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
Misc
/
ffp-contract.c
blob
0d26905d4ef2bfa2d5ee4738a2e63be0166f2ec4
1
// RUN: %clang_cc1 -O3 -ffp-contract=fast -triple=aarch64-apple-darwin \
2
// RUN: -S -o - %s | FileCheck --check-prefix=CHECK-FMADD %s
3
// REQUIRES: aarch64-registered-target
4
5
float
fma_test1
(
float
a
,
float
b
,
float
c
) {
6
// CHECK-FMADD: fmadd
7
float
x
=
a
*
b
;
8
float
y
=
x
+
c
;
9
return
y
;
10
}