Disables image_sample_*_g16 instructions on architectures lacking g16 support. This patch fixes the issue 54672.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I believe the description of this change is incorrect. The bug 54762 is about disabling unsupported opcodes rather than improving error messages.
The change itself seems to work, but I want more experienced people to take a look. I'd contemplated using HasG16 feature instead of hardcoding isGFX10Plus.
Comment Actions
LGTM except for a minor typo
llvm/lib/Target/AMDGPU/MIMGInstructions.td | ||
---|---|---|
1086–1087 | This should be updated as well |
This should be updated as well