[llvm] [BOLT][test] Update X86/perf2bolt-spe.test (PR #145061)

Amir Ayupov via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 20 08:57:59 PDT 2025


https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/145061

Address NFC mismatches caused by running perf2bolt from under the
wrapper script:
https://lab.llvm.org/buildbot/#/builders/92/builds/20938
> <stdin>:2:64: note: possible intended match here
> /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/bin/llvm-bolt.old: -spe is available only on AArch64.

Test Plan:
ninja check-bolt

>From c17d69d4aad6b6fbba93608ebfc6bbdd61495d88 Mon Sep 17 00:00:00 2001
From: Amir Ayupov <aaupov at fb.com>
Date: Fri, 20 Jun 2025 08:56:13 -0700
Subject: [PATCH] [BOLT][test] Update X86/perf2bolt-spe.test

Address NFC mismatches caused by running perf2bolt from under the
wrapper script:
https://lab.llvm.org/buildbot/#/builders/92/builds/20938
> <stdin>:2:64: note: possible intended match here
> /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/bin/llvm-bolt.old: -spe is available only on AArch64.

Test Plan:
ninja check-bolt
---
 bolt/test/perf2bolt/X86/perf2bolt-spe.test | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bolt/test/perf2bolt/X86/perf2bolt-spe.test b/bolt/test/perf2bolt/X86/perf2bolt-spe.test
index 8eed2c8595098..101bd3789a184 100644
--- a/bolt/test/perf2bolt/X86/perf2bolt-spe.test
+++ b/bolt/test/perf2bolt/X86/perf2bolt-spe.test
@@ -6,4 +6,4 @@ RUN: %clang %cflags %p/../../Inputs/asm_foo.s %p/../../Inputs/asm_main.c -o %t.e
 RUN: touch %t.empty.perf.data
 RUN: not perf2bolt -p %t.empty.perf.data -o %t.perf.boltdata --spe --pa %t.exe 2>&1 | FileCheck %s
 
-CHECK: perf2bolt: -spe is available only on AArch64.
+CHECK: perf2bolt{{.*}} -spe is available only on AArch64.



More information about the llvm-commits mailing list