[PATCH] D115637: [LegalizeVectorOps] typo fix
ChenZheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 13 16:31:46 PST 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG8c107bee702f: [LegalizeVectorOps] fix a typo (authored by shchenz).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115637/new/
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.394083.patch
Type: text/x-patch
Size: 572 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211214/3b4f2f12/attachment.bin>
More information about the llvm-commits
mailing list