This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] GFX11 CodeGen support for MIMG instructions
ClosedPublic

Authored by foad on Jun 15 2022, 2:23 AM.

Details

Summary

This includes:

  • New llvm.amdgcn.image.msaa.load.* intrinsics
  • NSA changes, because MIMG-NSA is now limited to 3 dwords
  • Split CD forms of IMAGE_SAMPLE instructions out into separate test files since they are no longer supported in GFX11

Diff Detail

Event Timeline

foad created this revision.Jun 15 2022, 2:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 15 2022, 2:23 AM
foad requested review of this revision.Jun 15 2022, 2:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 15 2022, 2:23 AM
foad added a reviewer: Restricted Project.Jun 15 2022, 2:24 AM
foad added a reviewer: critson.

Any tests for intersect_ray?

foad updated this revision to Diff 437466.Jun 16 2022, 1:16 AM

Added intersect_ray tests.

foad added a comment.Jun 16 2022, 1:17 AM

Any tests for intersect_ray?

I have added them now. (I didn't bother before because there are no codegen changes in the patch specifically for GFX11 intersect_ray.)

This revision is now accepted and ready to land.Jun 16 2022, 10:12 AM
This revision was landed with ongoing or failed builds.Jun 16 2022, 10:32 AM
This revision was automatically updated to reflect the committed changes.