Closed
Description
https://llvm.godbolt.org/z/1Ehsh97nP
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
target triple = "arm64-apple-macosx11.0.0"
define internal void @f(ptr sret([12 x i8]) align 4 %_0, ptr align 4 %self) unnamed_addr {
start:
%0 = load <3 x float>, ptr %self, align 4
%1 = call <3 x i32> @llvm.fptosi.sat.v3i32.v3f32(<3 x float> %0)
store <3 x i32> %1, ptr %_0, align 4
ret void
}
@calebzulawski
originally encountered in Rust's project-portable-simd rust-lang/portable-simd#422 (comment)