[all-commits] [llvm/llvm-project] bb648c: [WebAssembly] Add lowering for llvm.rint and llvm....
xortoast via All-commits
all-commits at lists.llvm.org
Fri Jun 23 14:09:33 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bb648c9177cda700ae63cfced347f62d417a4824
https://github.com/llvm/llvm-project/commit/bb648c9177cda700ae63cfced347f62d417a4824
Author: xortoast <xortoast at proton.me>
Date: 2023-06-23 (Fri, 23 Jun 2023)
Changed paths:
M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyInstrFloat.td
M llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
M llvm/test/CodeGen/WebAssembly/f32.ll
M llvm/test/CodeGen/WebAssembly/f64.ll
M llvm/test/CodeGen/WebAssembly/libcalls.ll
M llvm/test/CodeGen/WebAssembly/simd-intrinsics.ll
M llvm/test/CodeGen/WebAssembly/simd-unsupported.ll
Log Message:
-----------
[WebAssembly] Add lowering for llvm.rint and llvm.roundeven
WebAssembly doesn't expose inexact exceptions, so frint can be mapped to
fnearbyint. Likewise, WebAssembly always rounds ties-to-even, so
froundeven can be mapped to fnearbyint.
Differential Revision: https://reviews.llvm.org/D153451
More information about the All-commits
mailing list