[PATCH] D126276: [LegalizeTypes][VP] Fix OpNo in WidenVecOp_VP_SCATTER
WangLian via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 24 00:38:56 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGbe84f91f87a7: [LegalizeTypes][VP] Fix OpNo in WidenVecOp_VP_SCATTER (authored by Jimerlife).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126276/new/
https://reviews.llvm.org/D126276
Files:
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
Index: llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
===================================================================
--- llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
+++ llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
@@ -5945,7 +5945,7 @@
Mask = GetWidenedMask(Mask, WideEC);
WideMemVT = EVT::getVectorVT(*DAG.getContext(),
VPSC->getMemoryVT().getScalarType(), WideEC);
- } else if (OpNo == 4) {
+ } else if (OpNo == 3) {
// Just widen the index. It's allowed to have extra elements.
Index = GetWidenedVector(Index);
} else
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126276.431602.patch
Type: text/x-patch
Size: 611 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220524/5af5a7bb/attachment.bin>
More information about the llvm-commits
mailing list