Skip to content

Conversation

@melver
Copy link
Contributor

@melver melver commented Dec 2, 2025

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"

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"
@llvmbot llvmbot added the clang Clang issues not falling into any other category label Dec 2, 2025
@llvmbot
Copy link
Member

llvmbot commented Dec 2, 2025

@llvm/pr-subscribers-clang

Author: Marco Elver (melver)

Changes

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"

Full diff: https://github.com/llvm/llvm-project/pull/170321.diff

1 Files Affected:

  • (modified) clang/test/CodeGen/distributed-thin-lto/memprof-pgho.cpp (+2)
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
 //

@melver melver merged commit 6984f94 into llvm:main Dec 2, 2025
7 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clang Clang issues not falling into any other category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants