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 168333 lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
lib/Target/AMDGPU/AMDGPUSubtarget.h
lib/Target/AMDGPU/SIFrameLowering.cpp
lib/Target/AMDGPU/SIISelLowering.cpp
lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
test/CodeGen/AMDGPU/code-object-v3.ll
|