Extend image intrinsics to support data types of V1F32 and V2F32.
TODO: we should define a mapping table to change the opcode for data type of V2F32 but just one channel is active,
even though such case should be very rare.
Paths
| Differential D26472
AMDGPU/SI: Support data types other than V4f32 in image intrinsics ClosedPublic Authored by cfang on Nov 9 2016, 2:02 PM.
Details Summary Extend image intrinsics to support data types of V1F32 and V2F32. TODO: we should define a mapping table to change the opcode for data type of V2F32 but just one channel is active,
Diff Detail Event TimelineThis revision is now accepted and ready to land.Nov 11 2016, 12:17 PM Closed by commit rL286860: AMDGPU/SI: Support data types other than V4f32 in image intrinsics (authored by chfang). · Explain WhyNov 14 2016, 10:43 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 77390 lib/Target/AMDGPU/MIMGInstructions.td
lib/Target/AMDGPU/SIISelLowering.cpp
test/CodeGen/AMDGPU/llvm.amdgcn.image.gather4.ll
test/CodeGen/AMDGPU/llvm.amdgcn.image.ll
test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.ll
|