[all-commits] [llvm/llvm-project] 3c76e5: [amdgpu][nfc] Remove dead code associated with LDS...

Jon Chesterfield via All-commits all-commits at lists.llvm.org
Wed Apr 5 14:24:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c76e5f0c868fc027c5d057b774e327eef3e40c7
      https://github.com/llvm/llvm-project/commit/3c76e5f0c868fc027c5d057b774e327eef3e40c7
  Author: Jon Chesterfield <jonathanchesterfield at gmail.com>
  Date:   2023-04-05 (Wed, 05 Apr 2023)

  Changed paths:
    M llvm/include/llvm/IR/ReplaceConstant.h
    M llvm/lib/IR/ReplaceConstant.cpp
    M llvm/lib/Target/AMDGPU/AMDGPU.h
    R llvm/lib/Target/AMDGPU/AMDGPUReplaceLDSUseWithPointer.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/lib/Target/AMDGPU/CMakeLists.txt
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.h
    R llvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-call-diamond-shape.ll
    R llvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-call-selected_functions.ll
    R llvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-call-to-declare-only-func.ll
    R llvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-ignore-global-scope-use.ll
    R llvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-ignore-inline-asm-call.ll
    R llvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-ignore-kernel-only-used-lds.ll
    R llvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-ignore-not-reachable-lds.ll
    R llvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-ignore-small-lds.ll
    R llvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-indirect-call-diamond-shape.ll
    R llvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-indirect-call-selected_functions.ll
    R llvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-indirect-call-signature-match.ll
    R llvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-use-multiple-lds.ll
    R llvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-use-same-lds.ll
    R llvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-use-within-const-expr1.ll
    R llvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-use-within-const-expr2.ll
    R llvm/test/CodeGen/AMDGPU/replace-lds-by-ptr-use-within-phi-inst.ll
    M llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn

  Log Message:
  -----------
  [amdgpu][nfc] Remove dead code associated with LDS lowering

Pass disabled since approximately D104962 for miscompiling openmp

The functions under ReplaceConstant miscompile phis as noted in D112717 and
have no users in tree other than the disabled pass. It seems likely it has no
users out of tree.

Deletes the test cases associated with the disabled pass as well.

Reviewed By: rampitec

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




More information about the All-commits mailing list