[PATCH] D61632: Revert "[TableGen] Fix a typo"

Krasimir Georgiev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 7 04:37:41 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL360136: Revert "[TableGen] Fix a typo" (authored by krasimir, committed by ).

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61632/new/

https://reviews.llvm.org/D61632

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(B, isIntegerOrPtr)) {
+    if (any_of(S, isIntegerOrPtr) && any_of(S, 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: D61632.198435.patch
Type: text/x-patch
Size: 628 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190507/00ff33ff/attachment.bin>


More information about the llvm-commits mailing list