diff options
author | Andrew Kaylor <andrew.kaylor@intel.com> | 2015-05-20 23:22:24 +0000 |
---|---|---|
committer | Andrew Kaylor <andrew.kaylor@intel.com> | 2015-05-20 23:22:24 +0000 |
commit | a6c5b9682e51553ed96706e31f51dca3f2d2abc2 (patch) | |
tree | bdee53b6e9fa6311c0451209dceec275513f863b /llvm/test/CodeGen/WinEH/cppeh-nested-rethrow.ll | |
parent | 2632f0df48af2c3bb703f8edaab1367a4416a70d (diff) | |
download | bcm5719-llvm-a6c5b9682e51553ed96706e31f51dca3f2d2abc2.tar.gz bcm5719-llvm-a6c5b9682e51553ed96706e31f51dca3f2d2abc2.zip |
[WinEH] C++ EH state numbering fixes
Differential Revision: http://reviews.llvm.org/D9787
llvm-svn: 237854
Diffstat (limited to 'llvm/test/CodeGen/WinEH/cppeh-nested-rethrow.ll')
-rw-r--r-- | llvm/test/CodeGen/WinEH/cppeh-nested-rethrow.ll | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/llvm/test/CodeGen/WinEH/cppeh-nested-rethrow.ll b/llvm/test/CodeGen/WinEH/cppeh-nested-rethrow.ll index 1e8d63ec3fb..60b40411334 100644 --- a/llvm/test/CodeGen/WinEH/cppeh-nested-rethrow.ll +++ b/llvm/test/CodeGen/WinEH/cppeh-nested-rethrow.ll @@ -180,26 +180,24 @@ unreachable: ; preds = %catch, %entry ; CHECK: } } -; The outlined test1.catch handler should not contain a return instruction. +; The outlined test1.catch handler should return to a valid block address. ; CHECK-LABEL: define internal i8* @"\01?test1@@YAXXZ.catch"(i8*, i8*) -; CHECK-NOT: ret +; CHECK-NOT: ret i8* inttoptr (i32 1 to i8*) ; CHECK: } -; The outlined test1.catch1 handler should return to a valid block address. +; The outlined test1.catch1 handler should not contain a return instruction. ; CHECK-LABEL: define internal i8* @"\01?test1@@YAXXZ.catch.1"(i8*, i8*) -; WILL-CHECK: ret i8* inttoptr ( -; CHECK-NOT: ret i8* inttoptr (i32 1 to i8*) +; CHECK-NOT: ret ; CHECK: } -; The outlined test2.catch handler should not contain a return instruction. +; The outlined test2.catch handler should return to a valid block address. ; CHECK-LABEL: define internal i8* @"\01?test2@@YAXXZ.catch"(i8*, i8*) -; CHECK-NOT: ret +; CHECK-NOT: ret i8* inttoptr (i32 1 to i8*) ; CHECK: } -; The outlined test2.catch1 handler should return to a valid block address. +; The outlined test2.catch2 handler should not contain a return instruction. ; CHECK-LABEL: define internal i8* @"\01?test2@@YAXXZ.catch.2"(i8*, i8*) -; WILL-CHECK: ret i8* inttoptr ( -; CHECK-NOT: ret i8* inttoptr (i32 1 to i8*) +; CHECK-NOT: ret ; CHECK: } |