forked from OSchip/llvm-project
Revert "[Codegen] Both sides of '&&' are same; fixed"
This reverts commit edb42dccfa
. Buildbot timeouts.
This commit is contained in:
parent
4f2104c5ad
commit
fe1a1d5aae
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue