[PATCH] D109228: [AMDGPU][GlobalISel] Legalize G_MUL for non-standard types
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 3 07:23:29 PDT 2021
foad added a comment.
Seems reasonable to me. I guess the alternative is to remove this restriction from LegalizerHelper::narrowScalarMul:
if (DstSize % NarrowSize != 0 || SrcSize % NarrowSize != 0)
return UnableToLegalize;
but that would be more work and the generated code would be the same.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109228/new/
https://reviews.llvm.org/D109228
More information about the llvm-commits
mailing list