ICE with simd_cast #39720
Labels
A-SIMD
Area: SIMD (Single Instruction Multiple Data)
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Uh oh!
There was an error while loading. Please reload this page.
When casting from i8x3 -> i16x3 there's an ICE on
rustc 1.17.0-nightly (24a70eb59 2017-02-09)
Test case: https://gist.github.com/rawrasaur/27a3e624e5a6e071bc4e9059795fd97b
It seems to trigger when the width is 3, the source is not a float, and in size is smaller than the out size. Clang handles this case fine in its __builtin_convertvector.
The text was updated successfully, but these errors were encountered: