Revert "[X86] Allow more call sequences to use push instructions for argument passing"
authorReid Kleckner <reid@kleckner.net>
Thu, 16 Jul 2015 01:30:00 +0000 (01:30 +0000)
committerReid Kleckner <reid@kleckner.net>
Thu, 16 Jul 2015 01:30:00 +0000 (01:30 +0000)
commit3cd5b05b14414805a274c697a486837b3a263e37
tree58dd9763d0efceb737e685a63189689b19ff3d01
parent7c898facbc5c707c77f25f7fd9b512a099af62a8
Revert "[X86] Allow more call sequences to use push instructions for argument passing"

It miscompiles some code and a reduced test case has been sent to the
author.

This reverts commit r240257.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242373 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86CallFrameOptimization.cpp
test/CodeGen/X86/movtopush.ll