This is an archive of the discontinued LLVM Phabricator instance.

[X86] Allow x86 call frame optimization to fold more loads into pushes
ClosedPublic

Authored by mkuper on Aug 11 2015, 7:42 AM.

Details

Summary

This abstracts away the test for "when can we fold across a MachineInstruction" as a part of the MI interface, and uses the same test in the peephole optimizer and in callframe optimization.

Diff Detail

Repository
rL LLVM

Event Timeline

mkuper updated this revision to Diff 31818.Aug 11 2015, 7:42 AM
mkuper retitled this revision from to [X86] Allow x86 call frame optimization to fold more loads into pushes.
mkuper updated this object.
mkuper added a reviewer: rnk.
mkuper added a subscriber: llvm-commits.
rnk accepted this revision.Aug 11 2015, 9:10 AM
rnk edited edge metadata.

lgtm

This revision is now accepted and ready to land.Aug 11 2015, 9:10 AM
This revision was automatically updated to reflect the committed changes.