Reland "Fix miscompile of MS inline assembly with stack realignment"
authorReid Kleckner <reid@kleckner.net>
Tue, 10 Dec 2013 18:27:32 +0000 (18:27 +0000)
committerReid Kleckner <reid@kleckner.net>
Tue, 10 Dec 2013 18:27:32 +0000 (18:27 +0000)
commit7c30637b0e3b487cc8db0ce24a3e844998cfc479
treef1812ffaac48c95b660de0f83e42b65d0ec7daf1
parent7af55ad434f654128451106ed9f7813ea74c8616
Reland "Fix miscompile of MS inline assembly with stack realignment"

This re-lands commit r196876, which was reverted in r196879.

The tests have been fixed to pass on platforms with a stack alignment
larger than 4.

Update to clang side tests will land shortly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196939 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineFrameInfo.h
include/llvm/CodeGen/MachineFunction.h
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
lib/MC/MCParser/AsmParser.cpp
lib/Target/X86/X86FrameLowering.cpp
lib/Target/X86/X86RegisterInfo.cpp
test/CodeGen/X86/inline-asm-stack-realign.ll [new file with mode: 0644]
test/CodeGen/X86/inline-asm-stack-realign2.ll [new file with mode: 0644]
test/CodeGen/X86/ms-inline-asm.ll