Skip to content

Commit 53d7ceb

Browse files
authored
Merge pull request dotnet#16351 from fiigii/fixcont
Remove an incorrect assertion in containment analysis
2 parents 712c0d1 + 41cbabf commit 53d7ceb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/jit/lowerxarch.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -2353,10 +2353,6 @@ bool Lowering::IsContainableHWIntrinsicOp(GenTreeHWIntrinsic* containingNode, Ge
23532353
return false;
23542354
}
23552355

2356-
// For containable nodes, the base type of the original node and the base type of the contained node
2357-
// should be the same. This helps ensure we aren't reading too many or too few bits.
2358-
assert(!isContainable || (containingNode->gtSIMDBaseType == node->AsHWIntrinsic()->gtSIMDBaseType));
2359-
23602356
return isContainable;
23612357
}
23622358

0 commit comments

Comments
 (0)