[all-commits] [llvm/llvm-project] bc5616: AMDGPU: Simplify getAddressSpace calls

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Oct 31 07:53:11 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bc56166281ae025fcbe701bdb3a02b488bcedc09
      https://github.com/llvm/llvm-project/commit/bc56166281ae025fcbe701bdb3a02b488bcedc09
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2019-10-31 (Thu, 31 Oct 2019)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp

  Log Message:
  -----------
  AMDGPU: Simplify getAddressSpace calls

These can be directly taken from the GlobalValue instead of going
through the type.


  Commit: 1725f2884175ca618d29b06e35f5c6ebd618053d
      https://github.com/llvm/llvm-project/commit/1725f2884175ca618d29b06e35f5c6ebd618053d
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2019-10-31 (Thu, 31 Oct 2019)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.h

  Log Message:
  -----------
  DAG: Add new control for ISD::FMAD formation

For AMDGPU this depends on whether denormals are enabled in the
default FP mode for the function. Currently this is treated as a
subtarget feature, so FMAD is selectively legal based on that. I want
to move this out of the subtarget features so this can be controlled
with a denormal mode attribute. Additionally, this will allow folding
based on a future ftz fast math flag.


Compare: https://github.com/llvm/llvm-project/compare/57ee0435bd47...1725f2884175


More information about the All-commits mailing list