summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/WinEH/cppeh-catch-unwind.ll
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-04-03 22:32:26 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-04-03 22:32:26 +0000
commit3337064a47a7fbc1e40c41975a8fe084493fd759 (patch)
tree7bda09bdd847fc27ee4ac905565530c367b0a501 /llvm/test/CodeGen/WinEH/cppeh-catch-unwind.ll
parent25a0d3dd64e4c0873036140587f48ec00893f9f2 (diff)
downloadbcm5719-llvm-3337064a47a7fbc1e40c41975a8fe084493fd759.tar.gz
bcm5719-llvm-3337064a47a7fbc1e40c41975a8fe084493fd759.zip
[WinEH] Sink UnwindHelp completely out of IR
We don't need to represent UnwindHelp in IR. Instead, we can use the knowledge that we are emitting the parent function to decide if we should create the UnwindHelp stack object. llvm-svn: 234061
Diffstat (limited to 'llvm/test/CodeGen/WinEH/cppeh-catch-unwind.ll')
-rw-r--r--llvm/test/CodeGen/WinEH/cppeh-catch-unwind.ll3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/WinEH/cppeh-catch-unwind.ll b/llvm/test/CodeGen/WinEH/cppeh-catch-unwind.ll
index 055a3ad0dca..92f67479f93 100644
--- a/llvm/test/CodeGen/WinEH/cppeh-catch-unwind.ll
+++ b/llvm/test/CodeGen/WinEH/cppeh-catch-unwind.ll
@@ -33,13 +33,10 @@ $"\01??_R0H@8" = comdat any
; CHECK-LABEL: define void @"\01?test@@YAXXZ"() #0 {
; CHECK: entry:
-; CHECK: [[UNWIND_HELP:\%.+]] = alloca i64
; CHECK: [[OBJ_PTR:\%.+]] = alloca %class.SomeClass
; CHECK: [[TMP0:\%.+]] = alloca i32, align 4
; CHECK: [[TMP1:\%.+]] = alloca i32, align 4
; CHECK: call void (...)* @llvm.frameescape(i32* [[TMP1]], %class.SomeClass* [[OBJ_PTR]], i32* [[TMP0]])
-; CHECK: [[UNWIND_HELP_i8:\%.+]] = bitcast i64* [[UNWIND_HELP]] to i8*
-; CHECK: call void @llvm.eh.unwindhelp(i8* [[UNWIND_HELP_i8]])
; CHECK: %call = invoke %class.SomeClass* @"\01??0SomeClass@@QEAA@XZ"(%class.SomeClass* %obj)
; CHECK: to label %invoke.cont unwind label %[[LPAD_LABEL:lpad[0-9]+]]
OpenPOWER on IntegriCloud