[PATCH] D54749: Saturating float to int casts: Basics [1/n]

Erik McClure via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 7 21:52:46 PDT 2020


blackhole12 added a comment.

@RKSimon @scanon @nikic

These intrinsics are necessary to implement Nontrapping Float To Int Conversions <https://github.com/WebAssembly/spec/blob/master/proposals/nontrapping-float-to-int-conversion/Overview.md>, which have now been merged with the mainline WebAssembly spec <https://github.com/WebAssembly/spec/commit/c8fd933fa51eb0b511bce027b573aef7ee373726>. Without these intrinsics, a significant amount of code <https://github.com/rust-lang/rust/blob/master/src/librustc_codegen_ssa/mir/rvalue.rs#L770-L901> is required to get them to function (using Rust's implementation as an example, amount of code varies by language). Since the WebAssembly standard now requires these operations, I would like to know the status of this PR and how close it is to being merged.


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

https://reviews.llvm.org/D54749





More information about the llvm-commits mailing list