[PATCH] D109594: [AMDGPU] Initialize LDS pointers after alloca, but before call.
    Jon Chesterfield via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Sep 13 03:37:51 PDT 2021
    
    
  
JonChesterfield added a comment.
I don't understand the precondition. Why after every alloca but before every call?
It seems like you want to introduce N stores to addrspace(3) globals, where each store needs to precede any loads from that global. I can see 'call' as a rough approximation for 'might load', but why is alloca involved at all?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109594/new/
https://reviews.llvm.org/D109594
    
    
More information about the llvm-commits
mailing list