[clang] [llvm] [AMDGPU] Introduce GFX9/10.1/10.3/11 Generic Targets (PR #76955)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 6 03:33:59 PST 2024
================
@@ -156,6 +156,12 @@ void AMDGPUAsmPrinter::emitFunctionBodyStart() {
const GCNSubtarget &STM = MF->getSubtarget<GCNSubtarget>();
const Function &F = MF->getFunction();
+ // TODO: We're checking this late, would be nice to check it earlier.
+ if (STM.requiresCodeObjectV6() && CodeObjectVersion < AMDGPU::AMDHSA_COV6)
----------------
arsenm wrote:
Braces
https://github.com/llvm/llvm-project/pull/76955
More information about the cfe-commits
mailing list