Skip to content

Commit fe1a1d5

Browse files
Revert "[Codegen] Both sides of '&&' are same; fixed"
This reverts commit edb42dc. Buildbot timeouts.
1 parent 4f2104c commit fe1a1d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/utils/TableGen/CodeGenDAGPatterns.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ bool TypeInfer::EnforceSmallerThan(TypeSetByHwMode &Small,
479479
TypeSetByHwMode::SetType &S = Small.get(M);
480480
TypeSetByHwMode::SetType &B = Big.get(M);
481481

482-
if (any_of(S, isIntegerOrPtr) && any_of(B, isIntegerOrPtr)) {
482+
if (any_of(S, isIntegerOrPtr) && any_of(S, isIntegerOrPtr)) {
483483
auto NotInt = [](MVT VT) { return !isIntegerOrPtr(VT); };
484484
Changed |= berase_if(S, NotInt) |
485485
berase_if(B, NotInt);

0 commit comments

Comments
 (0)