diff options
| author | Andy Sadler <andrewsadler122@gmail.com> | 2024-02-17 17:19:08 -0600 |
|---|---|---|
| committer | Andy Sadler <andrewsadler122@gmail.com> | 2024-02-17 17:24:46 -0600 |
| commit | 5ac9bee7f13c83123cc3d184f50a255248e640f2 (patch) | |
| tree | 1befac77d25fbd4cf28490d4e0ea4e81b7ead04c /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | e69f125758a2e04574192c9d884f0391dbd0a707 (diff) | |
| download | rust-5ac9bee7f13c83123cc3d184f50a255248e640f2.tar.gz rust-5ac9bee7f13c83123cc3d184f50a255248e640f2.zip | |
fix tests/ui/simd/issue-89193.rs and mark as passing
Work around an issue where usize and isize can sometimes (but not always) get canonicalized to their corresponding integer type. This causes shuffle_vector to panic, since the types of the vectors it got passed aren't the same. Also insert a cast on the mask element, since we might get passed a signed integer of any size, not just i32. For now, we always cast to i32. Signed-off-by: Andy Sadler <andrewsadler122@gmail.com>
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
