[PATCH] D117482: AMDGPU: Don't clobber source register for V_SET_INACTIVE_*

Ruiling, Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 23 23:25:56 PST 2022


ruiling added a comment.

Ping. This is used to fix issue from real app. Can anyone take a close look?



================
Comment at: llvm/test/CodeGen/AMDGPU/set-inactive-wwm-overwrite.ll:19
 ; GCN-NEXT:    s_not_b32 exec_lo, exec_lo
 ; GCN-NEXT:    v_mov_b32_e32 v1, 0
 ; GCN-NEXT:    s_not_b32 exec_lo, exec_lo
----------------
The over-write to inactive lanes of v1 will cause the later `buffer_store_dword v0, v1` in bb `.end` write wrong value out.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117482



More information about the llvm-commits mailing list