[X86] When converting movs to pushes, don't assume MOVmi operand is an actual immediate
authorMichael Kuperstein <michael.m.kuperstein@intel.com>
Thu, 11 Dec 2014 11:26:16 +0000 (11:26 +0000)
committerMichael Kuperstein <michael.m.kuperstein@intel.com>
Thu, 11 Dec 2014 11:26:16 +0000 (11:26 +0000)
commit6ad268ca662a48f1f6c3355363baaab6d16e91a3
tree84048508e4454d1f3fcb4551f026333b15c1f84d
parent40c2ddeffe8fc586235e7d0a11f047502731ea97
[X86] When converting movs to pushes, don't assume MOVmi operand is an actual immediate

This should fix PR21878.

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