Skip to content

Commit 530e75d

Browse files
committed
Unblock late devirt as well
1 parent 5c15b23 commit 530e75d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/coreclr/jit/fginline.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -613,8 +613,7 @@ class SubstitutePlaceholdersAndDevirtualizeWalker : public GenTreeVisitor<Substi
613613
if (tree->OperIs(GT_CALL))
614614
{
615615
GenTreeCall* call = tree->AsCall();
616-
// TODO-CQ: Drop `call->gtCallType == CT_USER_FUNC` once we have GVM devirtualization
617-
bool tryLateDevirt = call->IsDevirtualizationCandidate(m_compiler) && (call->gtCallType == CT_USER_FUNC);
616+
bool tryLateDevirt = call->IsDevirtualizationCandidate(m_compiler);
618617

619618
#ifdef DEBUG
620619
tryLateDevirt = tryLateDevirt && (JitConfig.JitEnableLateDevirtualization() == 1);

0 commit comments

Comments
 (0)