[PATCH] D99449: [GlobalISel] Implement lowering for G_ROTR and G_ROTL.
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 30 09:21:01 PDT 2021
aemerson added inline comments.
================
Comment at: llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h:351
LegalizeResult lowerFunnelShift(MachineInstr &MI);
+ LegalizeResult lowerRotateWithOppositeRotate(MachineInstr &MI);
+ LegalizeResult lowerRotate(MachineInstr &MI);
----------------
foad wrote:
> Nit: "opposite" is now the third word we're using for the same thing. The code calls it "reverse", and the equivalent funnel shift function (three lines up) calls it "inverse". Could we standardize on one? I'd vote for "reverse".
Sure, I'll change that before landing.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99449/new/
https://reviews.llvm.org/D99449
More information about the llvm-commits
mailing list