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
/
CodeGen
/
fast-math.c
blob
6ebd65a22c92be4b6961572bc5c812de2d64c41e
1
// RUN: %clang_cc1 -ffast-math -ffp-contract=fast -emit-llvm -o - %s | FileCheck %s
2
float
f0
,
f1
,
f2
;
3
4
void
foo
(
void
) {
5
// CHECK-LABEL: define {{.*}}void @foo()
6
7
// CHECK: fadd fast
8
f0
=
f1
+
f2
;
9
10
// CHECK: ret
11
}