Revert "[Codegen] Both sides of '&&' are same; fixed"

This reverts commit edb42dccfa. Buildbot timeouts.
This commit is contained in:
Dávid Bolvanský 2019-11-02 19:02:33 +01:00
parent 4f2104c5ad
commit fe1a1d5aae
1 changed files with 1 additions and 1 deletions

View File

@ -479,7 +479,7 @@ bool TypeInfer::EnforceSmallerThan(TypeSetByHwMode &Small,
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);