OSDN Git Service

X86: Register the X86CallFrameOptimization pass
authorZvi Rackover <zvi.rackover@intel.com>
Tue, 24 Oct 2017 05:47:07 +0000 (05:47 +0000)
committerZvi Rackover <zvi.rackover@intel.com>
Tue, 24 Oct 2017 05:47:07 +0000 (05:47 +0000)
commit79daf1b5a65b059fe965d83a21da1b76d3ea692d
treef5f8006c22c944e08308e2a8fea7c3eb537cdb3a
parent965aad0dee88dcaef11b887d8f8cc905ca43cfab
X86: Register the X86CallFrameOptimization pass

Summary:
The motivation of this change is to enable .mir testing for this pass.
Added one test case to cover the functionality, this same case will be improved by
a future patch.

Reviewers: igorb, guyblank, DavidKreitzer

Reviewed By: guyblank, DavidKreitzer

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316412 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86CallFrameOptimization.cpp
lib/Target/X86/X86TargetMachine.cpp
test/CodeGen/X86/movtopush.mir [new file with mode: 0644]