From ec6960259f6bb67b508a196607182d090b85d396 Mon Sep 17 00:00:00 2001 From: Giordano Salvador <73959795+e3m3@users.noreply.github.com> Date: Fri, 13 Sep 2024 23:53:54 -0400 Subject: [PATCH] tests/lit-llvm/option_notarget.calc: Fix triple regex --- tests/lit-llvm/option_notarget.calc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/lit-llvm/option_notarget.calc b/tests/lit-llvm/option_notarget.calc index 067ac98..2a2732e 100644 --- a/tests/lit-llvm/option_notarget.calc +++ b/tests/lit-llvm/option_notarget.calc @@ -4,7 +4,7 @@ // CHECK_TARGET-LABEL: ; ModuleID = 'calcc' // CHECK_TARGET: source_filename = "calcc" // CHECK_TARGET: target datalayout = "{{[a-zA-Z0-9\:\-]+}}" -// CHECK_TARGET: target triple = "{{[\.a-zA-Z0-9\-]+}}" +// CHECK_TARGET: target triple = "{{[_\.a-zA-Z0-9\-]+}}" // CHECK_TARGET-LABEL: define i64 @calcc_main() { // CHECK_TARGET-LABEL: entry: @@ -14,7 +14,7 @@ // CHECK_NOTARGET-LABEL: ; ModuleID = 'calcc' // CHECK_NOTARGET: source_filename = "calcc" // CHECK_NOTARGET-NOT: target datalayout = "{{[a-zA-Z0-9\:\-]+}}" -// CHECK_NOTARGET-NOT: target triple = "{{[\.a-zA-Z0-9\-]+}}" +// CHECK_NOTARGET-NOT: target triple = "{{[_\.a-zA-Z0-9\-]+}}" // CHECK_NOTARGET-LABEL: define i64 @calcc_main() { // CHECK_NOTARGET-LABEL: entry: