Fix a nasty miscompilation of 176.gcc on linux/x86 where we synthesized
authorChris Lattner <sabre@nondot.org>
Tue, 28 Oct 2008 05:49:35 +0000 (05:49 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 28 Oct 2008 05:49:35 +0000 (05:49 +0000)
commit4002a1b6f1cb7c7db7965bd281fb29664fd6c816
tree5a7bf8429810a521d763dda969ce626d9f382e3f
parentb3696d865e70c0153f82092d51999e5e55505427
Fix a nasty miscompilation of 176.gcc on linux/x86 where we synthesized
a memset using 16-byte XMM stores, but where the stack realignment code
didn't work.  Until it does (PR2962) disable use of xmm regs in memcpy
and memset formation for linux and other targets with insufficiently
aligned stacks.

This is part of PR2888

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58317 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/2008-10-27-StackRealignment.ll [new file with mode: 0644]