Commit f36a9b5
authored
Rollup merge of #113534 - oli-obk:simd_shuffle_dehackify, r=workingjubilee
Forbid old-style `simd_shuffleN` intrinsics
Don't merge before rust-lang/packed_simd#350 has made its way to crates.io
We used to support specifying the lane length of simd_shuffle ops by attaching the lane length to the name of the intrinsic (like `simd_shuffle16`). After this PR, you cannot do that anymore, and need to instead either rely on inference of the `idx` argument type or specify it as `simd_shuffle::<_, [u32; 16], _>`.
r? `@workingjubilee`File tree
16 files changed
+393
-380
lines changed- compiler
- rustc_codegen_cranelift/src/intrinsics
- rustc_codegen_gcc/src/intrinsic
- rustc_codegen_llvm/src
- rustc_codegen_ssa/src/mir
- rustc_error_codes/src/error_codes
- rustc_hir_analysis/src/check
- rustc_mir_transform/src
- tests
- incremental
- ui/simd
- intrinsic
16 files changed
+393
-380
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
121 | | - | |
| 120 | + | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
162 | 155 | | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | 156 | | |
167 | 157 | | |
168 | 158 | | |
| |||
179 | 169 | | |
180 | 170 | | |
181 | 171 | | |
182 | | - | |
| 172 | + | |
183 | 173 | | |
184 | 174 | | |
185 | 175 | | |
| |||
0 commit comments