This is an archive of the discontinued LLVM Phabricator instance.

[WIP] [FuncSpec] Handle Available Externally Linkage Function
Needs ReviewPublic

Authored by ChuanqiXu on Jul 30 2021, 12:47 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

This is the successive patch of D105966. With D105544, D105966 and this diff, they construct my prototype of ThinLTO for function specialization.

To make this work for 505.mcf_r, it requires that the function specialization handle the case that the argument is already constant, which would be handled by IPSCCP by the design of function specialization. We could discuss it later.

Diff Detail