From 2561453c30be2744357b4f135e205c577920a5bb Mon Sep 17 00:00:00 2001 From: klensy Date: Wed, 12 Nov 2025 13:21:41 +0300 Subject: [PATCH] fix more filecheck errors --- tests/codegen-llvm/float/f128.rs | 4 ++-- tests/codegen-llvm/nrvo.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/codegen-llvm/float/f128.rs b/tests/codegen-llvm/float/f128.rs index d87bab1172a24..4c0664e0b4fbe 100644 --- a/tests/codegen-llvm/float/f128.rs +++ b/tests/codegen-llvm/float/f128.rs @@ -173,8 +173,8 @@ pub fn f128_rem_assign(a: &mut f128, b: f128) { // x86-sse-LABEL: <2 x i8> @f128_as_f16( // x86-nosse-LABEL: i16 @f128_as_f16( -// bits32-LABEL: half @f128_as_f16( -// bits64-LABEL: half @f128_as_f16( +// bit32-LABEL: half @f128_as_f16( +// bit64-LABEL: half @f128_as_f16( #[no_mangle] pub fn f128_as_f16(a: f128) -> f16 { // CHECK: fptrunc fp128 %{{.+}} to half diff --git a/tests/codegen-llvm/nrvo.rs b/tests/codegen-llvm/nrvo.rs index 7972186bfe5d1..ba068c43f4a40 100644 --- a/tests/codegen-llvm/nrvo.rs +++ b/tests/codegen-llvm/nrvo.rs @@ -10,7 +10,7 @@ pub fn nrvo(init: fn(&mut [u8; 4096])) -> [u8; 4096] { // CHECK: @llvm.memset // FIXME: turn on nrvo then check-not: @llvm.memcpy // CHECK: ret - // CHECK-EMPTY + // CHECK-EMPTY: let mut buf = [0; 4096]; init(&mut buf); buf