Do not drop the import of the whole function just because an asm statement in it has some missing symbolic names.
Thank you for the patch. There is an inline comment.
|5221 ↗||(On Diff #91351)|
In such cases, we should check that FromIdentifier is nullptr too (to detect cases where the result is nullptr due to import error). The check will be still present but will look like:
if (!ToII && S->getOutputIdentifier()) return nullptr;
The same below.