[all-commits] [llvm/llvm-project] 763132: [AMDGPU] Fix ieee mode default value

Sebastian Neubauer via All-commits all-commits at lists.llvm.org
Wed Nov 4 03:27:08 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 76313288cd7dcd583e1f074f7165ebd54a930b93
      https://github.com/llvm/llvm-project/commit/76313288cd7dcd583e1f074f7165ebd54a930b93
  Author: Sebastian Neubauer <sebastian.neubauer at amd.com>
  Date:   2020-11-04 (Wed, 04 Nov 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
    M llvm/test/CodeGen/AMDGPU/amdgcn-ieee.ll
    M llvm/test/CodeGen/AMDGPU/amdpal-msgpack-default.ll
    M llvm/test/CodeGen/AMDGPU/amdpal-msgpack-denormal.ll
    M llvm/test/CodeGen/AMDGPU/amdpal-msgpack-dx10-clamp.ll

  Log Message:
  -----------
  [AMDGPU] Fix ieee mode default value

Previously, the default value for ieee mode was
- on for compute kernels and compute shaders,
- off for all shaders except compute shaders.

This commit changes the default to be
- on for compute kernels,
- off for shaders.

This aligns the default value with the settings that are actually in
use.  To my knowledge, all users of shader calling conventions (mesa and
llpc) disable the ieee mode by default.

Differential Revision: https://reviews.llvm.org/D89388


  Commit: 1124bf4ab7777448b994fa399022f1a8822c8295
      https://github.com/llvm/llvm-project/commit/1124bf4ab7777448b994fa399022f1a8822c8295
  Author: Sebastian Neubauer <sebastian.neubauer at amd.com>
  Date:   2020-11-04 (Wed, 04 Nov 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
    M llvm/lib/Target/AMDGPU/CMakeLists.txt
    M llvm/lib/Target/AMDGPU/SIDefines.h
    A llvm/lib/Target/AMDGPU/SIProgramInfo.cpp
    M llvm/lib/Target/AMDGPU/SIProgramInfo.h
    M llvm/test/CodeGen/AMDGPU/amdpal-msgpack-default.ll
    M llvm/test/CodeGen/AMDGPU/amdpal-msgpack-denormal.ll
    M llvm/test/CodeGen/AMDGPU/amdpal-msgpack-dx10-clamp.ll
    M llvm/test/CodeGen/AMDGPU/amdpal-msgpack-ieee.ll

  Log Message:
  -----------
  [AMDGPU] Set rsrc1 flags for graphics shaders

Before they were only set for compute kernels and compute shaders but
not for other shaders.

Differential Revision: https://reviews.llvm.org/D89399


Compare: https://github.com/llvm/llvm-project/compare/985a5d970aa9...1124bf4ab777


More information about the All-commits mailing list