Failures in InlineFunction() are caught after D121722, but emitInlinedIntoBasedOnCost() should only be called when inlining is successful. This also removes an unnecessary call to shouldInline() which always returned InlineCost::getAlways().
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo