llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[AMDGPU] Print `wait_exp:0` for VINTERP and `wait_vdst:0` for LDSDIR

Open DadSchoorse opened this issue 3 years ago • 2 comments

Currently, the disassembler outputs

v_interp_p10_f32 v11, v6, v0, v6                                                  ; CD00000B 041A0106

instead of

v_interp_p10_f32 v11, v6, v0, v6 wait_exp:0                                       ; CD00000B 041A0106

This hides that the instruction will wait for the exp counter, which can be misleading. LDSDIR's wait_vdst has a similar issue.

DadSchoorse avatar Sep 14 '23 14:09 DadSchoorse

@llvm/issue-subscribers-backend-amdgpu

Currently, the disassembler outputs
v_interp_p10_f32 v11, v6, v0, v6                                                  ; CD00000B 041A0106

instead of

v_interp_p10_f32 v11, v6, v0, v6 wait_exp:0                                       ; CD00000B 041A0106

This hides that the instruction will wait for the exp counter, which can be misleading. LDSDIR's wait_vdst has a similar issue.

llvmbot avatar Sep 15 '23 17:09 llvmbot

Yes, I am inclined to agree its more obvious what is happening if zero counters are always output for these. See #66610

perlfu avatar Sep 18 '23 04:09 perlfu