AMDGPUPropagateAttributes can swap names while cloning a function.
Only do it if original symbol was not externally visible.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp | ||
---|---|---|
282 | The linkage wasn't set before for anonymous functions? That should get a test? |
Comment Actions
Added test for anonymous function.
Fixed FileCheck prefixes.
llvm/lib/Target/AMDGPU/AMDGPUPropagateAttributes.cpp | ||
---|---|---|
282 | It is universally set now on every clone as we do not mess with the original function name anymore. |
The linkage wasn't set before for anonymous functions? That should get a test?