[PATCH] D74710: AMDGPU/GlobalISel: Manually select G_BUILD_VECTOR_TRUNC
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 17 06:26:47 PST 2020
arsenm created this revision.
arsenm added reviewers: kerbowa, nhaehnle, foad.
Herald added subscribers: hiraditya, t-tye, tpr, dstuttard, rovka, yaxunl, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.
We have patterns for s_pack* selection, but they assume the inputs are
a build_vector with 16-bit inputs, not a truncating build
vector. Since there's still outstanding work for how to handle
mismatched result and source element vector operations, and since I'm
trying a different packed vector strategy than SelectionDAG, just
manually select this for now.
https://reviews.llvm.org/D74710
Files:
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-build-vector-trunc.v2s16.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74710.244959.patch
Type: text/x-patch
Size: 11026 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200217/0e95f5c7/attachment.bin>
More information about the llvm-commits
mailing list