[PATCH] D92219: [AMDGPU][GlobalISel] Avoid selecting S_PACK with constants
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 27 06:38:34 PST 2020
foad added a comment.
> Specific case from one of the tests:
>
> %5:sgpr(s16) = G_FCONSTANT half 0xH4000
> %7:sgpr(s32) = G_ANYEXT %5:sgpr(s16)
> %4:sreg_32(<2 x s16>) = G_BUILD_VECTOR_TRUNC %7:sgpr(s32), %7:sgpr(s32)
Perhaps there should be a combine that simplifies this to G_BUILD_VECTOR %5, %5.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92219/new/
https://reviews.llvm.org/D92219
More information about the llvm-commits
mailing list