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-all.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-all.ll')
-rw-r--r-- | llvm/test/CodeGen/WinEH/cppeh-catch-all.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/WinEH/cppeh-catch-all.ll b/llvm/test/CodeGen/WinEH/cppeh-catch-all.ll index 0dea33cfd1a..6e69862ce9f 100644 --- a/llvm/test/CodeGen/WinEH/cppeh-catch-all.ll +++ b/llvm/test/CodeGen/WinEH/cppeh-catch-all.ll @@ -36,9 +36,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* null -; CHECK-NEXT: [[RECOVER:\%.+]] = call i8* (...)* @llvm.eh.actions({ i8*, i32 } [[LPAD_VAL]], i32 0, i8* null, i8* null, i8* bitcast (i8* (i8*, i8*)* @_Z4testv.catch to i8*)) +; CHECK-NEXT: [[RECOVER:\%.+]] = call i8* (...)* @llvm.eh.actions(i32 1, i8* null, i8* null, i8* (i8*, i8*)* @_Z4testv.catch) ; CHECK-NEXT: indirectbr i8* [[RECOVER]], [label %try.cont] lpad: ; preds = %entry |