[AMDGPU][GFX1013] Disabled image_msaa_load
I noticed that image_msaa_load is no longer supported on GFX1013. This is caused by changes in e8860bee283855b2e1ce7eefb085a86e9ae3262b.
An example of failed test:
image_msaa_load v255, v[1:4], s[8:15] dmask:0x0 dim:SQ_RSRC_IMG_2D_MSAA_ARRAY
Expected result:
0x39,0x00,0x00,0xf0,0x01,0xff,0x02,0x00
Actual output:
error: instruction not supported on this GPU
Due to the lack of information about this subtarget and poor test coverage I have no idea if this was intentional. Any comments about the issue are appreciated.
@perlfu @Sisyph @nhaehnle
@llvm/issue-subscribers-backend-amdgpu
I don't think it was intentional. Maybe we could just add a gfx1013 RUN line to some of the existing MC tests for gfx101[012]?
Also add @bcahoon, author of https://reviews.llvm.org/D103663.
Maybe we could just add a gfx1013 RUN line to some of the existing MC tests for gfx101[012]
Sure, thanks. If nobody mind I'll enable the instruction and add tests.
The image_msaa_load is valid for gfx1013.
JFYI, dmask:0x0 is illeagl.
Fixed by commit f8aba9995ad932582f1deb9f01353a98a3ff92e7.