diff options
author | Thomas Lively <tlively@google.com> | 2019-01-08 06:25:55 +0000 |
---|---|---|
committer | Thomas Lively <tlively@google.com> | 2019-01-08 06:25:55 +0000 |
commit | 6a87ddac9a056c9a7b75eb630908aa356d8a1028 (patch) | |
tree | 23cc1254457e558cb7c6ea53d8601517fea5c34d /llvm/test/CodeGen/WebAssembly/exception.ll | |
parent | 616ed1722111a3dcb5d339fe6ce8a5f6d69bdc80 (diff) | |
download | bcm5719-llvm-6a87ddac9a056c9a7b75eb630908aa356d8a1028.tar.gz bcm5719-llvm-6a87ddac9a056c9a7b75eb630908aa356d8a1028.zip |
[WebAssembly] Massive instruction renaming
Summary:
An automated renaming of all the instructions listed at
https://github.com/WebAssembly/spec/issues/884#issuecomment-426433329
as well as some similarly-named identifiers.
Reviewers: aheejin, dschuff, aardappel
Subscribers: sbc100, jgravelle-google, eraman, sunfish, jfb, llvm-commits
Differential Revision: https://reviews.llvm.org/D56338
llvm-svn: 350609
Diffstat (limited to 'llvm/test/CodeGen/WebAssembly/exception.ll')
-rw-r--r-- | llvm/test/CodeGen/WebAssembly/exception.ll | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/exception.ll b/llvm/test/CodeGen/WebAssembly/exception.ll index b0365fc9d43..de2d0615a17 100644 --- a/llvm/test/CodeGen/WebAssembly/exception.ll +++ b/llvm/test/CodeGen/WebAssembly/exception.ll @@ -12,7 +12,7 @@ target triple = "wasm32-unknown-unknown" declare void @llvm.wasm.throw(i32, i8*) ; CHECK-LABEL: test_throw: -; CHECK: get_local $push0=, 0 +; CHECK: local.get $push0=, 0 ; CHECK-NEXT: throw __cpp_exception@EVENT, $pop0 ; CHECK-NOT: unreachable define void @test_throw(i8* %p) { @@ -21,11 +21,11 @@ define void @test_throw(i8* %p) { } ; CHECK-LABEL: test_catch_rethrow: -; CHECK: get_global $push{{.+}}=, __stack_pointer@GLOBAL +; CHECK: global.get $push{{.+}}=, __stack_pointer@GLOBAL ; CHECK: try ; CHECK: call foo@FUNCTION ; CHECK: i32.catch $push{{.+}}=, 0 -; CHECK: set_global __stack_pointer@GLOBAL +; CHECK: global.set __stack_pointer@GLOBAL ; CHECK-DAG: i32.store __wasm_lpad_context ; CHECK-DAG: i32.store __wasm_lpad_context+4 ; CHECK: i32.call $push{{.+}}=, _Unwind_CallPersonality@FUNCTION @@ -67,7 +67,7 @@ try.cont: ; preds = %entry, %catch ; CHECK: try ; CHECK: call foo@FUNCTION ; CHECK: catch_all -; CHECK: set_global __stack_pointer@GLOBAL +; CHECK: global.set __stack_pointer@GLOBAL ; CHECK: i32.call $push{{.+}}=, _ZN7CleanupD1Ev@FUNCTION ; CHECK: rethrow ; CHECK: end_try @@ -165,17 +165,17 @@ terminate10: ; preds = %ehcleanup7 ; CHECK: try ; CHECK: call foo@FUNCTION ; CHECK: i32.catch -; CHECK-NOT: get_global $push{{.+}}=, __stack_pointer@GLOBAL -; CHECK: set_global __stack_pointer@GLOBAL +; CHECK-NOT: global.get $push{{.+}}=, __stack_pointer@GLOBAL +; CHECK: global.set __stack_pointer@GLOBAL ; CHECK: try ; CHECK: call foo@FUNCTION ; CHECK: catch_all -; CHECK-NOT: get_global $push{{.+}}=, __stack_pointer@GLOBAL -; CHECK: set_global __stack_pointer@GLOBAL +; CHECK-NOT: global.get $push{{.+}}=, __stack_pointer@GLOBAL +; CHECK: global.set __stack_pointer@GLOBAL ; CHECK: call __cxa_end_catch@FUNCTION -; CHECK-NOT: set_global __stack_pointer@GLOBAL, $pop{{.+}} +; CHECK-NOT: global.set __stack_pointer@GLOBAL, $pop{{.+}} ; CHECK: end_try -; CHECK-NOT: set_global __stack_pointer@GLOBAL, $pop{{.+}} +; CHECK-NOT: global.set __stack_pointer@GLOBAL, $pop{{.+}} ; CHECK: end_try define void @test_no_prolog_epilog_in_ehpad() personality i8* bitcast (i32 (...)* @__gxx_wasm_personality_v0 to i8*) { entry: @@ -226,7 +226,7 @@ ehcleanup: ; preds = %catch ; CHECK: try ; CHECK: call foo@FUNCTION ; CHECK: end_try -; CHECK-NOT: set_global __stack_pointer@GLOBAL +; CHECK-NOT: global.set __stack_pointer@GLOBAL ; CHECK: return define void @no_sp_writeback() personality i8* bitcast (i32 (...)* @__gxx_wasm_personality_v0 to i8*) { entry: |