From 64e5a3bbdde25af0fd9f2b9b8539e23f36c80601 Mon Sep 17 00:00:00 2001 From: Michael Kruse Date: Wed, 2 Jun 2021 20:47:54 -0500 Subject: [PATCH] [clang] Fix fail of OpenMP/tile_codegen_tile_for.cpp. Clang's version string can be customized using CLANG_VENDOR which the test did not consider. Change the test to accept any version string. --- clang/test/OpenMP/tile_codegen_tile_for.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/OpenMP/tile_codegen_tile_for.cpp b/clang/test/OpenMP/tile_codegen_tile_for.cpp index 314446c..e4e5548 100644 --- a/clang/test/OpenMP/tile_codegen_tile_for.cpp +++ b/clang/test/OpenMP/tile_codegen_tile_for.cpp @@ -247,7 +247,7 @@ extern "C" void func(int start, int end, int step) { #endif /* HEADER */ // IR: ![[META0:[0-9]+]] = !{i32 1, !"wchar_size", i32 4} -// IR: ![[META1:[0-9]+]] = !{!"clang version {{[^"]*}}"} +// IR: ![[META1:[0-9]+]] = !{!"{{[^"]*}}"} // IR: ![[LOOP2]] = distinct !{![[LOOP2]], ![[LOOPPROP3:[0-9]+]]} // IR: ![[LOOPPROP3]] = !{!"llvm.loop.mustprogress"} // IR: ![[LOOP4]] = distinct !{![[LOOP4]], ![[LOOPPROP3]]} -- 2.7.4