This patch implements d16 support for image load, image store and image sample intrinsics.
It depends on the following patch that is pending reviews:
The LIT tests are still under development and will be ready soon.
cfang on Nov 10 2017, 11:13 AM.Authored by
We did not add new intrinsics. We just add support for new data types. In IntrinsicsAMDGCN.td, we have already defined
In other wordm llvm.amdgcn.image.load.v4f16 (for example) has already been declared in IntrinsicsAMDGCN.td. And this patch just needs to actually define (implement) it.
NOTE: We may define more instructions than necessary for the "PACKED", but I would appreciate suggestions to get rid of them.
Don't know why I didn't received a message after I updated the patch. So ping here with the updating message: