Skip to content

Commit

Permalink
Fix ASAN errors in continufy mode (#2892)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhaehnle authored Jan 5, 2024
1 parent 183eaf2 commit bb50c5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lgc/patch/PatchEntryPointMutate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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]);

Expand Down
1 change: 0 additions & 1 deletion llpc/test/shaderdb/ray_tracing/PipelineRays_Continufy.pipe
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit bb50c5a

Please sign in to comment.