[all-commits] [llvm/llvm-project] 6e00e3: [AMDGPU] Preserve original symbol during attribute...

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Wed Mar 25 15:26:42 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e00e3fcb082c3f19309ebc6f184ab326eec3328
      https://github.com/llvm/llvm-project/commit/6e00e3fcb082c3f19309ebc6f184ab326eec3328
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2020-03-25 (Wed, 25 Mar 2020)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/test/CodeGen/AMDGPU/propagate-attributes-clone.ll

  Log Message:
  -----------
  [AMDGPU] Preserve original symbol during attribute propagation

AMDGPUPropagateAttributes can swap names while cloning a function.
Only do it if original symbol was not externally visible.

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




More information about the All-commits mailing list