Disable FP elimination in funcs using 32-bit MSVC EH personalities
authorReid Kleckner <reid@kleckner.net>
Fri, 29 May 2015 21:58:11 +0000 (21:58 +0000)
committerReid Kleckner <reid@kleckner.net>
Fri, 29 May 2015 21:58:11 +0000 (21:58 +0000)
commit173a72524f5b028d48fd40fa3a5d8c0dcce86e7c
tree76518a8e043ac1e505d5c1f436ba212ea7ea35d2
parent246ccc5f518f0126648f8d9421d348307b3cbf1c
Disable FP elimination in funcs using 32-bit MSVC EH personalities

The value in 'ebp' acts as an implicit argument to the outlined
handlers, and is recovered with frameaddress(1).

llvm-svn: 238619
llvm/lib/Target/X86/X86WinEHState.cpp
llvm/test/CodeGen/X86/win32-eh-states.ll
llvm/test/CodeGen/X86/win32-eh.ll