[PATCH] D76862: HIP: Ensure new denormal mode attributes are set
Matt Arsenault via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 26 09:45:49 PDT 2020
arsenm created this revision.
arsenm added reviewers: yaxunl, gregrodgers.
Herald added subscribers: kerbowa, tpr, nhaehnle, wdng, jvesely.
Apparently HIPToolChain does not subclass from AMDGPUToolChain, so
this was not applying the new denormal attributes. I'm not sure why
this doesn't subclass. Just copy the implementation for now.
https://reviews.llvm.org/D76862
Files:
clang/lib/Driver/ToolChains/AMDGPU.cpp
clang/lib/Driver/ToolChains/AMDGPU.h
clang/lib/Driver/ToolChains/HIP.cpp
clang/lib/Driver/ToolChains/HIP.h
clang/test/Driver/cuda-flush-denormals-to-zero.cu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76862.252878.patch
Type: text/x-patch
Size: 7419 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200326/8ab49794/attachment-0001.bin>
More information about the cfe-commits
mailing list