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.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D11945
[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 Event TimelineThis revision is now accepted and ready to land.Aug 11 2015, 9:10 AM Closed by commit rL244729: [X86] Allow x86 call frame optimization to fold more loads into pushes (authored by mkuper). · Explain WhyAug 12 2015, 3:15 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 31818 include/llvm/CodeGen/MachineInstr.h
lib/CodeGen/MachineInstr.cpp
lib/CodeGen/PeepholeOptimizer.cpp
lib/Target/X86/X86CallFrameOptimization.cpp
test/CodeGen/X86/movtopush.ll
|