[PATCH] D139002: [AMDGPU] Remove todo about vector types
Sebastian Neubauer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 30 05:13:33 PST 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG53efce306497: [AMDGPU] Remove todo about vector types (authored by sebastian-ne).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139002/new/
https://reviews.llvm.org/D139002
Files:
llvm/lib/Target/AMDGPU/MIMGInstructions.td
Index: llvm/lib/Target/AMDGPU/MIMGInstructions.td
===================================================================
--- llvm/lib/Target/AMDGPU/MIMGInstructions.td
+++ llvm/lib/Target/AMDGPU/MIMGInstructions.td
@@ -1133,8 +1133,6 @@
class MIMG_IntersectRay_Helper<bit Is64, bit A16> {
int num_addrs = !if(Is64, !if(A16, 9, 12), !if(A16, 8, 11));
- // TODO: MIMGAddrSize will choose VReg_512 which is a 16 register tuple,
- // when we only need 9, 11 or 12 depending on A16 field and ptr size.
RegisterClass RegClass = MIMGAddrSize<num_addrs, 0>.RegClass;
int VAddrDwords = !srl(RegClass.Size, 5);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139002.478906.patch
Type: text/x-patch
Size: 614 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221130/987497f7/attachment.bin>
More information about the llvm-commits
mailing list