[PATCH] D115637: [LegalizeVectorOps] typo fix
ChenZheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 13 07:09:11 PST 2021
shchenz created this revision.
shchenz added reviewers: craig.topper, RKSimon, spatel, jsji.
Herald added a subscriber: hiraditya.
shchenz requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This is a typo fix introduced in D72021 <https://reviews.llvm.org/D72021>. This is required by D115636 <https://reviews.llvm.org/D115636>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D115637
Files:
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
Index: llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
===================================================================
--- llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
+++ llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
@@ -281,7 +281,7 @@
std::pair<SDValue, SDValue> Tmp = ExpandLoad(Node);
AddLegalizedOperand(Op.getValue(0), Tmp.first);
AddLegalizedOperand(Op.getValue(1), Tmp.second);
- return Op.getResNo() ? Tmp.first : Tmp.second;
+ return Op.getResNo() ? Tmp.second : Tmp.first;
}
}
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115637.393885.patch
Type: text/x-patch
Size: 572 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211213/0cd59824/attachment.bin>
More information about the llvm-commits
mailing list