HomePhabricator

[InlineCost] Find repeated loads in the callee

Authored by haicheng on Dec 15 2017, 6:34 AM.

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

llvm-svn: 320814

Details

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