[PATCH] D139433: [amdgpu] Reimplement LDS lowering

Christudasan Devadasan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 14 08:34:12 PST 2022


cdevadas added inline comments.


================
Comment at: llvm/test/CodeGen/AMDGPU/addrspacecast-known-non-null.ll:28
 ; CHECK: s_mov_b64 s[{{[0-9]+}}:[[HIREG:[0-9]+]]], src_shared_base
-; CHECK: v_mov_b32_e32 v0, 0
 ; CHECK: v_mov_b32_e32 v1, s[[HIREG]]
----------------
Why this write to v0 is gone now?
The code looks broken without defining v0 before swappc is called.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139433



More information about the llvm-commits mailing list