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.
2 parents f0a7e8a + cfd312a commit e35b59cCopy full SHA for e35b59c
lib/Backend/Inline.cpp
@@ -2215,7 +2215,7 @@ Inline::InlineBuiltInFunction(
2215
StackSym * sym = argInstr->GetSrc1()->GetStackSym();
2216
if (!sym->m_isSingleDef || !sym->m_instrDef->GetSrc1() || !sym->m_instrDef->GetSrc1()->IsConstOpnd())
2217
{
2218
- if (!sym->IsFromByteCodeConstantTable())
+ if (!sym->IsFromByteCodeConstantTable() && sym->GetByteCodeRegSlot() != callInstrDst->GetStackSym()->GetByteCodeRegSlot())
2219
2220
byteCodeUsesInstr->Set(argInstr->GetSrc1());
2221
}
0 commit comments