[WinEH] Add localaddress intrinsic instead of using frameaddress
authorReid Kleckner <reid@kleckner.net>
Tue, 7 Jul 2015 23:23:03 +0000 (23:23 +0000)
committerReid Kleckner <reid@kleckner.net>
Tue, 7 Jul 2015 23:23:03 +0000 (23:23 +0000)
commit4fe74caa61ff0a7b08c98a070fd1e4b85d4d9b7f
tree10f68c5a8b474642a2484a9272ee352c98454fe5
parent39fe55270a9639f0451357e14649bac2806e0b8e
[WinEH] Add localaddress intrinsic instead of using frameaddress

Clang uses this for SEH finally. The new intrinsic will produce the
right value when stack realignment is required.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241643 91177308-0d34-0410-b5e6-96231b3b80d8
docs/LangRef.rst
include/llvm/IR/Intrinsics.td
lib/CodeGen/WinEHPrepare.cpp
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/WinEH/seh-inlined-finally.ll
test/CodeGen/WinEH/seh-outlined-finally.ll
test/CodeGen/X86/seh-except-finally.ll