[PATCH] D76789: [AMDGPU] Preserve original symbol during attribute propagation

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 25 12:59:38 PDT 2020


arsenm added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp:282
-    F.setVisibility(GlobalValue::DefaultVisibility);
-    F.setLinkage(GlobalValue::InternalLinkage);
   }
----------------
The linkage wasn't set before for anonymous functions? That should get a test?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76789/new/

https://reviews.llvm.org/D76789





More information about the llvm-commits mailing list