[PATCH] D61605: Fix a typo
Phabricator via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 6 18:07:32 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL360106: [TableGen] Fix a typo (authored by yanluo, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D61605?vs=198315&id=198383#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61605/new/
https://reviews.llvm.org/D61605
Files:
llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp
Index: llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp
===================================================================
--- llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp
+++ llvm/trunk/utils/TableGen/CodeGenDAGPatterns.cpp
@@ -479,7 +479,7 @@
TypeSetByHwMode::SetType &S = Small.get(M);
TypeSetByHwMode::SetType &B = Big.get(M);
- if (any_of(S, isIntegerOrPtr) && any_of(S, isIntegerOrPtr)) {
+ if (any_of(S, isIntegerOrPtr) && any_of(B, isIntegerOrPtr)) {
auto NotInt = [](MVT VT) { return !isIntegerOrPtr(VT); };
Changed |= berase_if(S, NotInt) |
berase_if(B, NotInt);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61605.198383.patch
Type: text/x-patch
Size: 628 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190507/ad51a0b3/attachment.bin>
More information about the llvm-commits
mailing list