The isAmdCodeObjectV2 is a misleading name which actually checks whether the os
is amdhsa or mesa.
Also add a test to make sure we do not generate old kernel header for code
object v3.
Paths
| Differential D52897
AMDGPU: Rename isAmdCodeObjectV2 -> isAmdHsaOrMesa ClosedPublic Authored by kzhuravl on Oct 4 2018, 11:24 AM.
Details Summary The isAmdCodeObjectV2 is a misleading name which actually checks whether the os Also add a test to make sure we do not generate old kernel header for code
Diff Detail
Event TimelineHerald added subscribers: tpr, dstuttard, yaxunl and 3 others. · View Herald TranscriptOct 4 2018, 11:24 AM This revision is now accepted and ready to land.Oct 4 2018, 11:47 AM Closed by commit rL343813: AMDGPU: Rename isAmdCodeObjectV2 -> isAmdHsaOrMesa (authored by kzhuravl). · Explain WhyOct 4 2018, 2:04 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 168373 llvm/trunk/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
llvm/trunk/lib/Target/AMDGPU/AMDGPUSubtarget.h
llvm/trunk/lib/Target/AMDGPU/SIFrameLowering.cpp
llvm/trunk/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/trunk/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
llvm/trunk/test/CodeGen/AMDGPU/code-object-v3.ll
|