[PATCH] D94525: [SVE][CodeGen] Remove performMaskedGatherScatterCombine
David Sherwood via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 13 02:31:46 PST 2021
david-arm added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:4347
+ EVT NewIdxVT = IdxVT.changeVectorElementType(EltTy);
+ Index = DAG.getNode(ISD::SIGN_EXTEND, sdl, NewIdxVT, Index);
+ }
----------------
Do we want to switch between zero, sign or any extend depending upon what the target wants? I noticed in the original perform...Combine code we chose SIGN or ZERO extend based on the isIndexSigned() result - not sure if we still need something similar here or not.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94525/new/
https://reviews.llvm.org/D94525
More information about the llvm-commits
mailing list