Rollup merge of #137556 - RalfJung:simd_shuffle_const_generic, r=oli-obk

rename simd_shuffle_generic → simd_shuffle_const_generic

I've been confused by this name one time too often. ;)

r? `@oli-obk`
This commit is contained in:
Michael Goulet 2025-02-24 19:21:51 -05:00 committed by GitHub
commit 6c1f959288
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 55 additions and 55 deletions

View file

@ -699,7 +699,7 @@ pub fn check_intrinsic_type(
| sym::simd_reduce_min
| sym::simd_reduce_max => (2, 0, vec![param(0)], param(1)),
sym::simd_shuffle => (3, 0, vec![param(0), param(0), param(1)], param(2)),
sym::simd_shuffle_generic => (2, 1, vec![param(0), param(0)], param(1)),
sym::simd_shuffle_const_generic => (2, 1, vec![param(0), param(0)], param(1)),
other => {
tcx.dcx().emit_err(UnrecognizedIntrinsicFunction { span, name: other });