diff options
| author | Reid Kleckner <reid@kleckner.net> | 2015-03-19 22:31:02 +0000 |
|---|---|---|
| committer | Reid Kleckner <reid@kleckner.net> | 2015-03-19 22:31:02 +0000 |
| commit | c759fe90bc19fe408f58b106626b32b790b3de5e (patch) | |
| tree | e26b34c868be0fdd7505f81c471181cc4910cfc7 /llvm/test/CodeGen/WinEH/cppeh-catch-scalar.ll | |
| parent | d5c2d287f98c39968934d4a241a6c1292052e140 (diff) | |
| download | bcm5719-llvm-c759fe90bc19fe408f58b106626b32b790b3de5e.tar.gz bcm5719-llvm-c759fe90bc19fe408f58b106626b32b790b3de5e.zip | |
WinEH: Make llvm.eh.actions emission match the EH docs
This switches the sense of the i32 values and updates the test cases.
We can also use CHECK-SAME to clean up some tests, and reduce the visual
noise from bitcasts.
llvm-svn: 232774
Diffstat (limited to 'llvm/test/CodeGen/WinEH/cppeh-catch-scalar.ll')
| -rw-r--r-- | llvm/test/CodeGen/WinEH/cppeh-catch-scalar.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/WinEH/cppeh-catch-scalar.ll b/llvm/test/CodeGen/WinEH/cppeh-catch-scalar.ll index a8c8a43f164..0f8a7a8e063 100644 --- a/llvm/test/CodeGen/WinEH/cppeh-catch-scalar.ll +++ b/llvm/test/CodeGen/WinEH/cppeh-catch-scalar.ll @@ -41,9 +41,9 @@ invoke.cont: ; preds = %entry br label %try.cont ; CHECK: [[LPAD_LABEL]]:{{[ ]+}}; preds = %entry -; CHECK: [[LPAD_VAL:\%.+]] = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) +; CHECK: landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) ; CHECK-NEXT: catch i8* bitcast (i8** @_ZTIi to i8*) -; CHECK-NEXT: [[RECOVER:\%.+]] = call i8* (...)* @llvm.eh.actions({ i8*, i32 } [[LPAD_VAL]], i32 0, i8* bitcast (i8** @_ZTIi to i8*), i32* %i, i8* bitcast (i8* (i8*, i8*)* @_Z4testv.catch to i8*)) +; CHECK-NEXT: [[RECOVER:\%.+]] = call i8* (...)* @llvm.eh.actions(i32 1, i8* bitcast (i8** @_ZTIi to i8*), i32* %i, i8* (i8*, i8*)* @_Z4testv.catch) ; CHECK-NEXT: indirectbr i8* [[RECOVER]], [label %try.cont] lpad: ; preds = %entry |

