We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
carryless_mul
replaced_intrinsics
1 parent 4b7a82d commit ced05abCopy full SHA for ced05ab
compiler/rustc_codegen_llvm/src/lib.rs
@@ -345,7 +345,14 @@ impl CodegenBackend for LlvmCodegenBackend {
345
}
346
347
fn replaced_intrinsics(&self) -> Vec<Symbol> {
348
- vec![sym::unchecked_funnel_shl, sym::unchecked_funnel_shr, sym::carrying_mul_add]
+ let mut will_not_use_fallback =
349
+ vec![sym::unchecked_funnel_shl, sym::unchecked_funnel_shr, sym::carrying_mul_add];
350
+
351
+ if llvm_util::get_version() >= (22, 0, 0) {
352
+ will_not_use_fallback.push(sym::carryless_mul);
353
+ }
354
355
+ will_not_use_fallback
356
357
358
fn codegen_crate<'tcx>(&self, tcx: TyCtxt<'tcx>) -> Box<dyn Any> {
0 commit comments