[PATCH] D57478: GlobalISel: Implement fewerElementsVector for shifts
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 30 14:49:39 PST 2019
arsenm created this revision.
arsenm added reviewers: dsanders, paquette, aemerson, volkan, aditya_nandakumar.
Herald added subscribers: Petar.Avramovic, tschuett, kristof.beyls, rovka, nhaehnle, wdng, jvesely.
Introduce a new function which handles instructions with multiple type
indices, but have the same number of vector elements.
Also legalize v2s16 shifts when applicable.
https://reviews.llvm.org/D57478
Files:
include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
test/CodeGen/AMDGPU/GlobalISel/legalize-ashr.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-lshr.mir
test/CodeGen/AMDGPU/GlobalISel/legalize-shl.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57478.184377.patch
Type: text/x-patch
Size: 106609 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190130/31d14c18/attachment.bin>
More information about the llvm-commits
mailing list