[all-commits] [llvm/llvm-project] c9d65a: HIP: Ensure new denormal mode attributes are set

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Mar 31 15:00:45 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c9d65a48af1d7bbfed7e785613cc9d9acf71821b
      https://github.com/llvm/llvm-project/commit/c9d65a48af1d7bbfed7e785613cc9d9acf71821b
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-03-31 (Tue, 31 Mar 2020)

  Changed paths:
    M clang/lib/Driver/ToolChains/AMDGPU.cpp
    M clang/lib/Driver/ToolChains/AMDGPU.h
    M clang/lib/Driver/ToolChains/HIP.cpp
    M clang/lib/Driver/ToolChains/HIP.h
    M clang/test/Driver/cuda-flush-denormals-to-zero.cu

  Log Message:
  -----------
  HIP: Ensure new denormal mode attributes are set

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.




More information about the All-commits mailing list