[llvm] [BOLT][test] Fix tests for aarch64 buildbot (PR #97620)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 3 12:08:20 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-bolt

Author: Amir Ayupov (aaupov)

<details>
<summary>Changes</summary>



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


2 Files Affected:

- (modified) bolt/test/X86/infer_no_exits.test (+1-1) 
- (modified) bolt/test/X86/jt-symbol-disambiguation-4.s (+1-1) 


``````````diff
diff --git a/bolt/test/X86/infer_no_exits.test b/bolt/test/X86/infer_no_exits.test
index b8a39d339e011..2004f61496cd8 100644
--- a/bolt/test/X86/infer_no_exits.test
+++ b/bolt/test/X86/infer_no_exits.test
@@ -8,4 +8,4 @@
 
 # PREAGG: B X:0 #main# 1 0
 
-# CHECK: BOLT-INFO: inferred profile for 1 (100.00% of profiled, 100.00% of stale) functions responsible for -nan% samples (0 out of 0)
+# CHECK: BOLT-INFO: inferred profile for 1 (100.00% of profiled, 100.00% of stale) functions responsible for {{.*}}
diff --git a/bolt/test/X86/jt-symbol-disambiguation-4.s b/bolt/test/X86/jt-symbol-disambiguation-4.s
index d3d3dcd807054..dc4a2f115b389 100644
--- a/bolt/test/X86/jt-symbol-disambiguation-4.s
+++ b/bolt/test/X86/jt-symbol-disambiguation-4.s
@@ -10,7 +10,7 @@
 # REQUIRES: system-linux
 
 # RUN: llvm-mc -filetype=obj -triple x86_64-unknown-unknown %s -o %t.o
-# RUN: %clang -no-pie %t.o -o %t.exe -Wl,-q
+# RUN: %clang %cflags -no-pie %t.o -o %t.exe -Wl,-q
 # RUN: llvm-bolt --funcs=main,foo/1 %t.exe -o %t.exe.bolt --print-normalized \
 # RUN:   2>&1 | FileCheck %s
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/97620


More information about the llvm-commits mailing list