[PATCH] D76950: HIP: Link correct denormal mode library

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 27 13:10:14 PDT 2020


arsenm created this revision.
arsenm added a reviewer: yaxunl.
Herald added a subscriber: wdng.
arsenm added parent revisions: D59321: AMDGPU: Teach toolchain to link rocm device libs, D76862: HIP: Ensure new denormal mode attributes are set.

This wasn't respecting the flush mode based on the default, and also
wasn't correctly handling the explicit
-fno-cuda-flush-denormals-to-zero overriding the mode.


https://reviews.llvm.org/D76950

Files:
  clang/lib/Driver/ToolChains/HIP.cpp
  clang/test/Driver/hip-device-libs.hip

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76950.253203.patch
Type: text/x-patch
Size: 5963 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200327/00dba074/attachment-0001.bin>


More information about the cfe-commits mailing list