Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 9a9096b

Browse files
Merge pull request #6287 from MichalStrehovsky/removeAssertOnMustExpand
Remove assert validating intrinsic expansion on mustExpand
2 parents 73df4f0 + f063377 commit 9a9096b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/jit/importer.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3382,13 +3382,6 @@ GenTreePtr Compiler::impIntrinsic(CORINFO_CLASS_HANDLE clsHnd,
33823382
{
33833383
NO_WAY("JIT must expand the intrinsic!");
33843384
}
3385-
else if ((retNode->gtFlags & GTF_CALL) != 0)
3386-
{
3387-
// If we must expand the intrinsic,
3388-
// retNode (the tree that corresponds to the intrinsic expansion) must be non-null,
3389-
// and the returned tree must not contain a call.
3390-
NO_WAY("JIT must not implement the intrinsic by a user call!");
3391-
}
33923385
}
33933386

33943387
return retNode;

0 commit comments

Comments
 (0)