[PATCH] D109379: Implementation of PPC lowering for vp_load/vp_store with no mask
Nemanja Ivanovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 10 11:03:33 PDT 2021
nemanjai added inline comments.
================
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.cpp:15242
+ SDLoc DL(N);
+ unsigned EltBytes = N->getValueType(0).getScalarSizeInBits() / 8;
+ SDValue ExtLength = DAG.getZExtOrTrunc(Length, DL, MVT::i64);
----------------
The semantics here are very different from what I assumed. I assumed one can load 5 byte elements of a `v16i8` vector by using the `v16i8` type and a length of 5. But we have to use a different type (i.e. `v5i8`)?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109379/new/
https://reviews.llvm.org/D109379
More information about the llvm-commits
mailing list