HomePhabricator

[InlineCost] Find repeated loads in the callee

Description

[InlineCost] Find repeated loads in the callee

SROA analysis of InlineCost can figure out that some stores can be removed
after inlining and then the repeated loads clobbered by these stores are also
free. This patch finds these clobbered loads and adjust the inline cost
accordingly.

Differential Revision: https://reviews.llvm.org/D33946

Details

Committed
haichengDec 15 2017, 6:34 AM
Differential Revision
D33946: [InlineCost] Find identical loads in the callee
Parents
rL320813: ObjectFileELF: Add support for compressed sections
Branches
Unknown
Tags
Unknown