Skip to content

Commit 6b8bdc9

Browse files
committed
Auto merge of #153166 - reddevilmidzy:codegen-tidy, r=lcnr
Tidy: disallow TODO in other in-tree projects Fixes: rust-lang/rust#152280 MCP: rust-lang/compiler-team#963 TODO * [x] Add ci check to `cg_clif`: #1632 * [x] Add ci check to `cg_gcc`: rust-lang/rustc_codegen_gcc#861 r? lcnr
2 parents 5030e81 + c4a8355 commit 6b8bdc9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

scripts/test_rustc_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ rm -r tests/run-make/panic-abort-eh_frame # .eh_frame emitted with panic=abort
175175

176176
# bugs in the test suite
177177
# ======================
178-
rm tests/ui/process/nofile-limit.rs # TODO some AArch64 linking issue
178+
rm tests/ui/process/nofile-limit.rs # FIXME some AArch64 linking issue
179179
rm -r tests/ui/codegen/equal-pointers-unequal # make incorrect assumptions about the location of stack variables
180180
rm -r tests/incremental/extern_static/issue-49153.rs # assumes reference to undefined static gets optimized away
181181

src/intrinsics/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -355,10 +355,10 @@ fn codegen_float_intrinsic_call<'tcx>(
355355
sym::fmaf64 => ("fma", 3, fx.tcx.types.f64, types::F64),
356356
sym::fmaf128 => ("fmaf128", 3, fx.tcx.types.f128, types::F128),
357357
// FIXME: calling `fma` from libc without FMA target feature uses expensive sofware emulation
358-
sym::fmuladdf16 => ("fmaf16", 3, fx.tcx.types.f16, types::F16), // TODO: use cranelift intrinsic analogous to llvm.fmuladd.f16
359-
sym::fmuladdf32 => ("fmaf", 3, fx.tcx.types.f32, types::F32), // TODO: use cranelift intrinsic analogous to llvm.fmuladd.f32
360-
sym::fmuladdf64 => ("fma", 3, fx.tcx.types.f64, types::F64), // TODO: use cranelift intrinsic analogous to llvm.fmuladd.f64
361-
sym::fmuladdf128 => ("fmaf128", 3, fx.tcx.types.f128, types::F128), // TODO: use cranelift intrinsic analogous to llvm.fmuladd.f128
358+
sym::fmuladdf16 => ("fmaf16", 3, fx.tcx.types.f16, types::F16), // FIXME: use cranelift intrinsic analogous to llvm.fmuladd.f16
359+
sym::fmuladdf32 => ("fmaf", 3, fx.tcx.types.f32, types::F32), // FIXME: use cranelift intrinsic analogous to llvm.fmuladd.f32
360+
sym::fmuladdf64 => ("fma", 3, fx.tcx.types.f64, types::F64), // FIXME: use cranelift intrinsic analogous to llvm.fmuladd.f64
361+
sym::fmuladdf128 => ("fmaf128", 3, fx.tcx.types.f128, types::F128), // FIXME: use cranelift intrinsic analogous to llvm.fmuladd.f128
362362
sym::copysignf16 => ("copysignf16", 2, fx.tcx.types.f16, types::F16),
363363
sym::copysignf32 => ("copysignf", 2, fx.tcx.types.f32, types::F32),
364364
sym::copysignf64 => ("copysign", 2, fx.tcx.types.f64, types::F64),

0 commit comments

Comments
 (0)