diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2020-04-13 09:15:48 -0400 |
---|---|---|
committer | Matt Arsenault <arsenm2@gmail.com> | 2020-04-15 09:17:26 -0400 |
commit | 3a612450508b314b7a6f4db142d0c619031d760e (patch) | |
tree | 9435131217c543f4590c5200c98f6c02d7cac2fc /llvm/lib/Support/FileCheck.cpp | |
parent | 9289f34390daa07b60af07fdd0576ad52001e0a5 (diff) | |
download | llvm-3a612450508b314b7a6f4db142d0c619031d760e.zip llvm-3a612450508b314b7a6f4db142d0c619031d760e.tar.gz llvm-3a612450508b314b7a6f4db142d0c619031d760e.tar.bz2 |
clang/AMDGPU: Assume denormals are enabled for the default target.
Since the default logic was based on having fast denormal/fma
features, and the default target has no features, we assumed flushing
by default. This fixes incorrectly assuming flushing in builds for
"generic" IR libraries.
The handling for no specified --cuda-gpu-arch in HIP is kind of
broken. Somewhere else forces a default target of gfx803, which does
not enable denormal handling by default. We don't see this default
switching here, so you'll end up with a different denormal mode
depending on whether you explicitly requested gfx803, or used it by
default.
Diffstat (limited to 'llvm/lib/Support/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions