[PATCH] D61493: AMDGPU/MC: Add .amdgpu_lds directive
Nicolai Hähnle via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 16 16:37:30 PDT 2019
nhaehnle updated this revision to Diff 204974.
nhaehnle added a comment.
Herald added subscribers: MaskRay, jakehehrlich, arichardson, emaste.
Herald added a reviewer: espindola.
Herald added a reviewer: alexshap.
Herald added a reviewer: rupprecht.
Herald added a reviewer: jhenderson.
Significant update to this patch to make .amdgpu_lds work more
like common symbols:
- the assembler directive syntax is the same as .comm
- LDS symbols have a normal type but reside in the processor-specific SHN_AMDGPU_LDS section
- alignment is encoded like for common symbols
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61493/new/
https://reviews.llvm.org/D61493
Files:
docs/AMDGPUUsage.rst
include/llvm/BinaryFormat/ELF.h
include/llvm/MC/MCSymbol.h
lib/MC/ELFObjectWriter.cpp
lib/ObjectYAML/ELFYAML.cpp
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
test/MC/AMDGPU/elf-lds-error.s
test/MC/AMDGPU/elf-lds.s
tools/llvm-objcopy/ELF/Object.cpp
tools/llvm-objcopy/ELF/Object.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61493.204974.patch
Type: text/x-patch
Size: 16820 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190616/d76817df/attachment.bin>
More information about the llvm-commits
mailing list