[PATCH] D110930: [SelectionDAG] Fix typo in VPLoadStoreSDNode
Roger Ferrer Ibanez via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 12 01:37:52 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe2d5a380e043: [SelectionDAG] Fix typo in VPLoadStoreSDNode (authored by rogfer01).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110930/new/
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.378918.patch
Type: text/x-patch
Size: 605 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211012/eb052452/attachment.bin>
More information about the llvm-commits
mailing list