[PATCH] D100725: GlobalISel: Help reduce operation width for instruction with two results.
Christudasan Devadasan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 18 07:15:32 PDT 2021
cdevadas created this revision.
cdevadas added reviewers: gargaroff, paquette, aemerson, arsenm.
Herald added subscribers: hiraditya, rovka.
cdevadas requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.
The function `reduceOperationWidth` helps to legalize a vector
operation either by narrowing its type or by scalarizing the
operation itself. It currently supports instructions with one result.
This patch, in addition, allows the same for instructions with two
results (for instance, G_SDIVREM).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D100725
Files:
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100725.338377.patch
Type: text/x-patch
Size: 4575 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210418/17328660/attachment.bin>
More information about the llvm-commits
mailing list