[PATCH] D110930: [SelectionDAG] Fix typo in VPLoadStoreSDNode
Roger Ferrer Ibanez via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 1 06:12:09 PDT 2021
rogfer01 created this revision.
rogfer01 added reviewers: frasercrmck, simoll, hussainjk.
Herald added a subscriber: ecnelises.
rogfer01 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
There is no code that uses this base class yet, hence the typo went unnoticed.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D110930
Files:
llvm/include/llvm/CodeGen/SelectionDAGNodes.h
Index: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
===================================================================
--- llvm/include/llvm/CodeGen/SelectionDAGNodes.h
+++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -2354,7 +2354,7 @@
// Mask is a vector of i1 elements;
// the type of EVL is TLI.getVPExplicitVectorLengthTy().
const SDValue &getOffset() const {
- return getOperand(getOpcode() == ISD::MLOAD ? 2 : 3);
+ return getOperand(getOpcode() == ISD::VP_LOAD ? 2 : 3);
}
const SDValue &getBasePtr() const {
return getOperand(getOpcode() == ISD::VP_LOAD ? 1 : 2);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110930.376496.patch
Type: text/x-patch
Size: 605 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211001/0fe888f1/attachment.bin>
More information about the llvm-commits
mailing list