From 30a47c4fb2fe23b398cb255a7341f55719268505 Mon Sep 17 00:00:00 2001 From: Tim Neumann Date: Tue, 18 Aug 2026 19:44:43 +0200 Subject: [PATCH] Relax codgen test variable regex --- tests/codegen-llvm/try_question_mark_nop.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/codegen-llvm/try_question_mark_nop.rs b/tests/codegen-llvm/try_question_mark_nop.rs index a09fa0a49019d..af8274ec9b5c1 100644 --- a/tests/codegen-llvm/try_question_mark_nop.rs +++ b/tests/codegen-llvm/try_question_mark_nop.rs @@ -105,7 +105,7 @@ pub fn option_nop_match_64(x: Option) -> Option { pub fn option_nop_traits_64(x: Option) -> Option { // CHECK: start: // CHECK-NEXT: %[[TRUNC:[0-9]+]] = trunc nuw i64 %0 to i1 - // CHECK-NEXT: %[[SEL:\.[0-9]+]] = select i1 %[[TRUNC]], i64 %1, i64 undef + // CHECK-NEXT: %[[SEL:\.[0-9]*]] = select i1 %[[TRUNC]], i64 %1, i64 undef // CHECK-NEXT: insertvalue { i64, i64 } // CHECK-NEXT: insertvalue { i64, i64 } // CHECK-NEXT: ret { i64, i64 }