projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5350a48
)
Completely ignore strict FP model and denormal-fp-math interaction
author
Matt Arsenault
<Matthew.Arsenault@amd.com>
Wed, 12 Feb 2020 18:26:04 +0000
(13:26 -0500)
committer
Matt Arsenault
<arsenm2@gmail.com>
Wed, 12 Feb 2020 18:26:46 +0000
(13:26 -0500)
No behavior is going to make sense here until the default is IEEE.
clang/lib/Driver/ToolChains/Clang.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Driver/ToolChains/Clang.cpp
b/clang/lib/Driver/ToolChains/Clang.cpp
index
79a518c
..
e71fbae
100644
(file)
--- a/
clang/lib/Driver/ToolChains/Clang.cpp
+++ b/
clang/lib/Driver/ToolChains/Clang.cpp
@@
-2771,8
+2771,6
@@
static void RenderFloatingPointOptions(const ToolChain &TC, const Driver &D,
if (HonorINFs && HonorNaNs &&
!AssociativeMath && !ReciprocalMath &&
SignedZeros && TrappingMath && RoundingFPMath &&
- // FIXME: This should check for IEEE when it's the default.
- DenormalFPMath != llvm::DenormalMode::getInvalid() &&
FPContract.equals("off"))
// OK: Current Arg doesn't conflict with -ffp-model=strict
;