[clang] [llvm] [WebAssembly] Implement prototype f32.load_f16 instruction. (PR #90906)

Heejin Ahn via llvm-commits llvm-commits at lists.llvm.org
Thu May 2 18:40:12 PDT 2024


================
@@ -321,6 +321,18 @@ def int_wasm_relaxed_dot_bf16x8_add_f32:
                         [llvm_v8i16_ty, llvm_v8i16_ty, llvm_v4f32_ty],
                         [IntrNoMem, IntrSpeculatable]>;
 
+//===----------------------------------------------------------------------===//
+// Half-precision intrinsics (experimental)
+//===----------------------------------------------------------------------===//
+
+// TODO: Replace these intrinsic with normal ISel patterns once the XXX
+// instructions are merged to the proposal.
+def int_wasm_loadf16_f32:
+  Intrinsic<[llvm_float_ty],
+            [llvm_ptr_ty],
+            [IntrReadMem, IntrArgMemOnly],
+             "", [SDNPMemOperand]>;
----------------
aheejin wrote:

Why is the name empty?

https://github.com/llvm/llvm-project/pull/90906


More information about the llvm-commits mailing list