summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/exceptions-seh.c
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2015-12-16 00:26:37 +0000
committerReid Kleckner <rnk@google.com>2015-12-16 00:26:37 +0000
commit39329d57b59ae6b3e69406f037da69a2a1ba5ab6 (patch)
treeccaae6d3df69eebe320d393e302d892025a39035 /clang/test/CodeGen/exceptions-seh.c
parent65c3a4b9c017f09619973b529d32fb1584525a61 (diff)
downloadbcm5719-llvm-39329d57b59ae6b3e69406f037da69a2a1ba5ab6.tar.gz
bcm5719-llvm-39329d57b59ae6b3e69406f037da69a2a1ba5ab6.zip
Reland "[SEH] Use llvm.x86.seh.recoverfp for SEH filters on x64 as well as 32bit"
I forgot to initialize RecoverFP. llvm-svn: 255731
Diffstat (limited to 'clang/test/CodeGen/exceptions-seh.c')
-rw-r--r--clang/test/CodeGen/exceptions-seh.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/CodeGen/exceptions-seh.c b/clang/test/CodeGen/exceptions-seh.c
index 0829117fbe3..b027bd844b7 100644
--- a/clang/test/CodeGen/exceptions-seh.c
+++ b/clang/test/CodeGen/exceptions-seh.c
@@ -89,7 +89,8 @@ int filter_expr_capture(void) {
// CHECK: ret i32 %[[rv]]
// X64-LABEL: define internal i32 @"\01?filt$0@0@filter_expr_capture@@"(i8* %exception_pointers, i8* %frame_pointer)
-// X64: call i8* @llvm.localrecover(i8* bitcast (i32 ()* @filter_expr_capture to i8*), i8* %frame_pointer, i32 0)
+// X64: %[[fp:[^ ]*]] = call i8* @llvm.x86.seh.recoverfp(i8* bitcast (i32 ()* @filter_expr_capture to i8*), i8* %frame_pointer)
+// X64: call i8* @llvm.localrecover(i8* bitcast (i32 ()* @filter_expr_capture to i8*), i8* %[[fp]], i32 0)
//
// X86-LABEL: define internal i32 @"\01?filt$0@0@filter_expr_capture@@"()
// X86: %[[ebp:[^ ]*]] = call i8* @llvm.frameaddress(i32 1)
OpenPOWER on IntegriCloud