[PATCH] D143293: AMDGPU: Use module flag to get code object version at IR level folow-up

Changpeng Fang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 3 13:54:15 PST 2023


cfang created this revision.
cfang added reviewers: arsenm, bcahoon.
Herald added subscribers: kosarev, foad, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
cfang requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

This is part of the leftover work for https://reviews.llvm.org/D143138.

In this work, we pass code object version as an argument to initialize target ID.


https://reviews.llvm.org/D143293

Files:
  llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
  llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
  llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
  llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
  llvm/test/CodeGen/AMDGPU/directive-amdgcn-target-v3.ll
  llvm/test/CodeGen/AMDGPU/directive-amdgcn-target.ll
  llvm/test/CodeGen/AMDGPU/elf-notes.ll
  llvm/test/CodeGen/AMDGPU/tid-code-object-v2-backwards-compatibility.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143293.494724.patch
Type: text/x-patch
Size: 40781 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230203/ab01e03d/attachment.bin>


More information about the llvm-commits mailing list