[llvm] 604c9a0 - [WebAssembly][test][NFC] Regenerate funcref-call.ll using update_llc_test_checks.py
Alex Bradbury via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 7 07:45:47 PST 2023
Author: Alex Bradbury
Date: 2023-02-07T15:44:24Z
New Revision: 604c9a07f3a9e93c4091bfc4e5c4d984be4ef686
URL: https://github.com/llvm/llvm-project/commit/604c9a07f3a9e93c4091bfc4e5c4d984be4ef686
DIFF: https://github.com/llvm/llvm-project/commit/604c9a07f3a9e93c4091bfc4e5c4d984be4ef686.diff
LOG: [WebAssembly][test][NFC] Regenerate funcref-call.ll using update_llc_test_checks.py
In preparation for some slight expansion of the tests.
Added:
Modified:
llvm/test/CodeGen/WebAssembly/funcref-call.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/WebAssembly/funcref-call.ll b/llvm/test/CodeGen/WebAssembly/funcref-call.ll
index 4193c1e04caa..17e5f3bb5cac 100644
--- a/llvm/test/CodeGen/WebAssembly/funcref-call.ll
+++ b/llvm/test/CodeGen/WebAssembly/funcref-call.ll
@@ -1,4 +1,5 @@
-; RUN: llc < %s --mtriple=wasm32-unknown-unknown -asm-verbose=false -mattr=+reference-types | FileCheck %s
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc < %s --mtriple=wasm32-unknown-unknown -mattr=+reference-types | FileCheck %s
%funcref = type ptr addrspace(20) ;; addrspace 20 is nonintegral
@@ -6,19 +7,17 @@
define void @call_funcref(%funcref %ref) {
; CHECK-LABEL: call_funcref:
-; CHECK-NEXT: .functype call_funcref (funcref) -> ()
-; CHECK-NEXT: i32.const 0
-; CHECK-NEXT: local.get 0
-; CHECK-NEXT: table.set __funcref_call_table
-; CHECK-NEXT: i32.const 0
-; CHECK-NEXT: call_indirect __funcref_call_table, () -> ()
-; CHECK-NEXT: i32.const 0
-; CHECK-NEXT: ref.null_func
-; CHECK-NEXT: table.set __funcref_call_table
-; CHECK-NEXT: end_function
+; CHECK: .functype call_funcref (funcref) -> ()
+; CHECK-NEXT: # %bb.0:
+; CHECK-NEXT: i32.const 0
+; CHECK-NEXT: local.get 0
+; CHECK-NEXT: table.set __funcref_call_table
+; CHECK-NEXT: i32.const 0
+; CHECK-NEXT: call_indirect __funcref_call_table, () -> ()
+; CHECK-NEXT: i32.const 0
+; CHECK-NEXT: ref.null_func
+; CHECK-NEXT: table.set __funcref_call_table
+; CHECK-NEXT: # fallthrough-return
call addrspace(20) void %ref()
ret void
}
-
-
-
More information about the llvm-commits
mailing list