[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)
commit11165674dc41c4c629365cce209096a249a8c95b
treedc63cf998472064106d3cd076cc50324631df7dd
parentcb06a36c9a5660567fcc97930a934a71eee672b8
[X86] When converting movs to pushes, don't assume MOVmi operand is an actual immediate

This should fix PR21878.

llvm-svn: 224010
llvm/lib/Target/X86/X86FrameLowering.cpp
llvm/test/CodeGen/X86/movtopush.ll