[PATCH] D100633: [AMDGPU] Remove error check for indirect calls and add missing queue-ptr

Madhur Amilkanthwar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 19 12:04:26 PDT 2021


madhur13490 added inline comments.


================
Comment at: llvm/test/CodeGen/AMDGPU/simple-indirect-call.ll:42-44
+    %fptr = alloca void()*, addrspace(5)
+    %fptr.cast = addrspacecast void()* addrspace(5)* %fptr to void()**
+    store void()* @indirect, void()** %fptr.cast
----------------
arsenm wrote:
> Why bother with the alloca/addrspacecast? This ends up getting optimized to LDS anyway
specifically denote typical sequence of instructions generated by frontend 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100633/new/

https://reviews.llvm.org/D100633



More information about the llvm-commits mailing list