[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


================
@@ -38,6 +38,13 @@ multiclass RELAXED_I<dag oops_r, dag iops_r, dag oops_s, dag iops_s,
                             asmstr_s, simdop, HasRelaxedSIMD>;
 }
 
+multiclass HALF_PRECISION_I<dag oops_r, dag iops_r, dag oops_s, dag iops_s,
+                            list<dag> pattern_r, string asmstr_r = "",
+                            string asmstr_s = "", bits<32> simdop = -1> {
+  defm "" : ABSTRACT_SIMD_I<oops_r, iops_r, oops_s, iops_s, pattern_r, asmstr_r,
+                            asmstr_s, simdop, HasHalfPrecision>;
+}
+
----------------
aheejin wrote:

Is this used in this PR? If not, how about adding this when this is used?

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


More information about the llvm-commits mailing list