[PATCH] D84519: [llvm-objdump][AMDGPU] Detect CPU string
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 17 10:40:15 PDT 2020
MaskRay added inline comments.
================
Comment at: llvm/lib/Object/ELFObjectFile.cpp:382
+
+ // Radeon HD 4000 Series (R700).
+ case ELF::EF_AMDGPU_MACH_R600_RV710:
----------------
Why is the comment not aligned with `case `?
================
Comment at: llvm/test/tools/llvm-objdump/ELF/AMDGPU/subtarget.ll:1
+define amdgpu_kernel void @test_kernel() {
+ ret void
----------------
In these binary utility directories, we usually place RUN/CHECK lines before the text.
================
Comment at: llvm/test/tools/llvm-objdump/ELF/AMDGPU/subtarget.ll:5
+
+; Test subtarget detection. Disassembly is only supported for GFX8 and beyond.
+;
----------------
In these binary utility directories, we use `;; ` for non-RUN-non-CHECK comments. The different comment marker makes comments stand out.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84519/new/
https://reviews.llvm.org/D84519
More information about the llvm-commits
mailing list