We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5331b4 commit 734fa7bCopy full SHA for 734fa7b
src/coreclr/jit/lowerxarch.cpp
@@ -7696,7 +7696,7 @@ void Lowering::ContainCheckCallOperands(GenTreeCall* call)
7696
}
7697
else
7698
#endif // TARGET_X86
7699
- if (ctrlExpr->isIndir())
+ if (ctrlExpr->isIndir() && IsSafeToContainMem(call, ctrlExpr))
7700
{
7701
// We may have cases where we have set a register target on the ctrlExpr, but if it
7702
// contained we must clear it.
0 commit comments