[PATCH] D81076: [PowerPC] Custom lower rotl v1i128 to vector_shuffle.
Kai Luo via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 3 04:21:00 PDT 2020
lkail added inline comments.
Herald added a subscriber: wuzish.
================
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.cpp:9628
+ if (SHLAmt % 8 == 0) {
+ SmallVector<int, 16> Mask = {0, 1, 2, 3, 4, 5, 6, 7,
+ 8, 9, 10, 11, 12, 13, 14, 15};
----------------
Can we use `std::iota` and `std::rotate` to simplify such simulated rotation?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81076/new/
https://reviews.llvm.org/D81076
More information about the llvm-commits
mailing list