[PATCH] D62564: [WebAssembly] Add signatures for RINT builtins

Thomas Lively via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 28 18:05:22 PDT 2019


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rL361904: [WebAssembly] Add signatures for RINT builtins (authored by tlively, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D62564?vs=201801&id=201802#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62564/new/

https://reviews.llvm.org/D62564

Files:
  llvm/trunk/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp


Index: llvm/trunk/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp
===================================================================
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp
@@ -225,6 +225,12 @@
     Table[RTLIB::LLROUND_F32] = i64_func_f32;
     Table[RTLIB::LLROUND_F64] = i64_func_f64;
     Table[RTLIB::LLROUND_F128] = i64_func_i64_i64;
+    Table[RTLIB::LRINT_F32] = iPTR_func_f32;
+    Table[RTLIB::LRINT_F64] = iPTR_func_f64;
+    Table[RTLIB::LRINT_F128] = iPTR_func_i64_i64;
+    Table[RTLIB::LLRINT_F32] = i64_func_f32;
+    Table[RTLIB::LLRINT_F64] = i64_func_f64;
+    Table[RTLIB::LLRINT_F128] = i64_func_i64_i64;
     Table[RTLIB::FLOOR_F32] = f32_func_f32;
     Table[RTLIB::FLOOR_F64] = f64_func_f64;
     Table[RTLIB::FLOOR_F128] = func_iPTR_i64_i64;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62564.201802.patch
Type: text/x-patch
Size: 899 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190529/0ef92ea6/attachment.bin>


More information about the llvm-commits mailing list