diff --git a/lgc/patch/PatchEntryPointMutate.cpp b/lgc/patch/PatchEntryPointMutate.cpp index 977f3c4e90..b48913c152 100644 --- a/lgc/patch/PatchEntryPointMutate.cpp +++ b/lgc/patch/PatchEntryPointMutate.cpp @@ -676,7 +676,8 @@ bool PatchEntryPointMutate::lowerCpsOps(Function *func, ShaderInputs *shaderInpu #endif builder.CreateUnreachable(); - auto funcName = func->getName(); + auto *doc = m_pipelineState->getPalMetadata()->getDocument(); + auto funcName = doc->getNode(func->getName(), /*copy=*/true); // Lower cps stack operations stackLowering->lowerCpsStackOps(*func, m_funcCpsStackMap[func]); diff --git a/llpc/test/shaderdb/ray_tracing/PipelineRays_Continufy.pipe b/llpc/test/shaderdb/ray_tracing/PipelineRays_Continufy.pipe index 028d36d099..f6c094478b 100644 --- a/llpc/test/shaderdb/ray_tracing/PipelineRays_Continufy.pipe +++ b/llpc/test/shaderdb/ray_tracing/PipelineRays_Continufy.pipe @@ -4,7 +4,6 @@ ; TODO: Change this to ISA / assembly output checks once the LLVM backend has settled ; RUN: amdllpc -gfxip 11.0 -emit-llvm -o - %s | FileCheck -check-prefixes=CHECK %s -; REQUIRES: do-not-run-me ; CHECK-LABEL: @_amdgpu_cs_main( ; CHECK: call void {{.*}} @llvm.amdgcn.cs.chain.