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)
commitc6d0b6c1032716082b2ea1814322abb81947ebdc
tree523c33209c9dc652e5214838f24060a07ebedf83
parentcc5bf00f1deef51a358a2326efd70743641ce911
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

llvm-svn: 316412
llvm/lib/Target/X86/X86CallFrameOptimization.cpp
llvm/lib/Target/X86/X86TargetMachine.cpp
llvm/test/CodeGen/X86/movtopush.mir [new file with mode: 0644]