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

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 19 12:00:05 PDT 2021


arsenm accepted this revision.
arsenm added inline comments.
This revision is now accepted and ready to land.


================
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
----------------
Why bother with the alloca/addrspacecast? This ends up getting optimized to LDS anyway


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