- Emit NT_AMD_AMDGPU_ISA
- Add assembler parsing for isa version directive
- If isa version directive does not match command line arguments, then return error
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D38748
AMDGPU: Add support for isa version note ClosedPublic Authored by kzhuravl on Oct 10 2017, 11:31 AM.
Details Summary
Diff Detail Event TimelineHerald added subscribers: dstuttard, yaxunl, nhaehnle and 2 others. · View Herald TranscriptOct 10 2017, 11:31 AM kzhuravl added a parent revision: D38747: AMDGPU/NFC: Move AMDGPU specific note types to ELF.h.Oct 10 2017, 11:39 AM This revision is now accepted and ready to land.Oct 13 2017, 5:01 PM Closed by commit rL315808: AMDGPU: Add support for isa version note (authored by kzhuravl). · Explain WhyOct 14 2017, 8:40 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 118436 lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
test/CodeGen/AMDGPU/elf-notes.ll
test/MC/AMDGPU/isa-version-hsa.s
test/MC/AMDGPU/isa-version-pal.s
test/MC/AMDGPU/isa-version-unk.s
|
I would expect the API for this to be to pass in the raw_ostream&