From 666bb903000205a642f62a5bd3f6ccbdca47c5eb Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 28 Nov 2017 16:07:12 -0800 Subject: [PATCH] wasm: Update LLVM to fix a test This commit updates LLVM with some tweaks to the integer <-> floating point conversion instructions to ensure that `as` in Rust doesn't trap. Closes #46298 --- src/llvm | 2 +- src/test/run-pass/saturating-float-casts.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/llvm b/src/llvm index 487c636342ea1..6d08185a5cf48 160000 --- a/src/llvm +++ b/src/llvm @@ -1 +1 @@ -Subproject commit 487c636342ea1abe64d6387eade963a91a152aa9 +Subproject commit 6d08185a5cf488d0a853b065a8a3a6d7a29f084f diff --git a/src/test/run-pass/saturating-float-casts.rs b/src/test/run-pass/saturating-float-casts.rs index 4cd171f0ac089..c8fa49c62a0b6 100644 --- a/src/test/run-pass/saturating-float-casts.rs +++ b/src/test/run-pass/saturating-float-casts.rs @@ -10,7 +10,6 @@ // Tests saturating float->int casts. See u128-as-f32.rs for the opposite direction. // compile-flags: -Z saturating-float-casts -// ignore-wasm32-bare FIXME(#46298) needs upstream llvm fixes #![feature(test, i128, i128_type, stmt_expr_attributes)] #![deny(overflowing_literals)]