https://github.com/melver created
https://github.com/llvm/llvm-project/pull/170321
This requires an x86 build, otherwise the test will fail with:
Error running ThinLTO backend: No available targets are compatible with
triple "x86_64-unknown-linux-gnu"
>From d49c57a882bda6e37b98c8cfdabf2f4b26d086e2 Mon Sep 17 00:00:00 2001
From: Marco Elver <[email protected]>
Date: Tue, 2 Dec 2025 17:25:33 +0100
Subject: [PATCH] [MemProf] Require x86 for memprof-pgho.cpp test
This requires an x86 build, otherwise the test will fail with:
Error running ThinLTO backend: No available targets are compatible with
triple "x86_64-unknown-linux-gnu"
---
clang/test/CodeGen/distributed-thin-lto/memprof-pgho.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/clang/test/CodeGen/distributed-thin-lto/memprof-pgho.cpp
b/clang/test/CodeGen/distributed-thin-lto/memprof-pgho.cpp
index ed05962846aff..317efd1b3a138 100644
--- a/clang/test/CodeGen/distributed-thin-lto/memprof-pgho.cpp
+++ b/clang/test/CodeGen/distributed-thin-lto/memprof-pgho.cpp
@@ -1,6 +1,8 @@
// Test end-to-end ThinLTO optimization pipeline with PGHO, that it does not
// interfere with other allocation instrumentation features.
//
+// REQUIRES: x86-registered-target
+//
// RUN: split-file %s %t
// RUN: llvm-profdata merge %t/memprof.yaml -o %t/use.memprofdata
//
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits