width computation is missing for newly added MIMG
instruction class. Add it.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | ||
---|---|---|
400–401 | Do you need this bit? Does it work if you just use "vdata" for all MIMG instructions? |
llvm/test/CodeGen/AMDGPU/cluster_stores.ll | ||
---|---|---|
8–10 | I don't think this really adds any value to the test, unless you're going to check for specific numbers like "Width: 4" or similar? |
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | ||
---|---|---|
400–401 | I do not know much about MIMG instructions, I added it based on my experience of dealing with other instructions. If you confirm only "vdata" is needed, then, I will update it. | |
llvm/test/CodeGen/AMDGPU/cluster_stores.ll | ||
8–10 | I can do that by extracting width by dbg dump, and updating the same in the test. |
llvm/test/CodeGen/AMDGPU/cluster_stores.ll | ||
---|---|---|
8–10 | Morever, to clarify, my intension here was to test that Width is greather than 0 (should not be 0) |
Do you need this bit? Does it work if you just use "vdata" for all MIMG instructions?