Author: Marco Elver
Date: 2025-12-02T17:38:02+01:00
New Revision: 6984f942bc5bd7a64095597d41d0b23d4734f070

URL: 
https://github.com/llvm/llvm-project/commit/6984f942bc5bd7a64095597d41d0b23d4734f070
DIFF: 
https://github.com/llvm/llvm-project/commit/6984f942bc5bd7a64095597d41d0b23d4734f070.diff

LOG: [MemProf] Require x86 for memprof-pgho.cpp test (#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"
```

Added: 
    

Modified: 
    clang/test/CodeGen/distributed-thin-lto/memprof-pgho.cpp

Removed: 
    


################################################################################
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

Reply via email to