[llvm] [BOLT][AArch64] Extend test coverage for TailDuplication in AArch64 (PR #191453)

via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 10 09:14:13 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 635 tests passed
* 56 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### BOLT
<details>
<summary>BOLT.AArch64/tail-duplication-pass.s</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 3
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -filetype=obj -triple aarch64-unknown-unknown /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/AArch64/tail-duplication-pass.s -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/AArch64/Output/tail-duplication-pass.s.tmp.o
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-mc -filetype=obj -triple aarch64-unknown-unknown /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/AArch64/tail-duplication-pass.s -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/AArch64/Output/tail-duplication-pass.s.tmp.o
# note: command had no output on stdout or stderr
# RUN: at line 4
/usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/link_fdata.py /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/AArch64/tail-duplication-pass.s /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/AArch64/Output/tail-duplication-pass.s.tmp.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/AArch64/Output/tail-duplication-pass.s.tmp.fdata
# executed command: /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/link_fdata.py /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/AArch64/tail-duplication-pass.s /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/AArch64/Output/tail-duplication-pass.s.tmp.o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/AArch64/Output/tail-duplication-pass.s.tmp.fdata
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang  --target=x86_64-unknown-linux-gnu -fPIE -fuse-ld=lld -Wl,--unresolved-symbols=ignore-all -Wl,--build-id=none -pie -mllvm -x86-asm-syntax=att --target=aarch64-unknown-linux-gnu -nostartfiles -nostdlib -ffreestanding -Wl,-z,defs --target=aarch64-unknown-linux /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/AArch64/Output/tail-duplication-pass.s.tmp.o -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/AArch64/Output/tail-duplication-pass.s.tmp.exe -Wl,-q
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --target=x86_64-unknown-linux-gnu -fPIE -fuse-ld=lld -Wl,--unresolved-symbols=ignore-all -Wl,--build-id=none -pie -mllvm -x86-asm-syntax=att --target=aarch64-unknown-linux-gnu -nostartfiles -nostdlib -ffreestanding -Wl,-z,defs --target=aarch64-unknown-linux /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/AArch64/Output/tail-duplication-pass.s.tmp.o -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/AArch64/Output/tail-duplication-pass.s.tmp.exe -Wl,-q
# .---command stderr------------
# | clang: warning: argument unused during compilation: '-mllvm -x86-asm-syntax=att' [-Wunused-command-line-argument]
# | ld.lld: warning: cannot find entry symbol _start; not setting start address
# `-----------------------------
# RUN: at line 6
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-bolt --runtime-instrumentation-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_instr.a --runtime-hugify-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_hugify.a /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/AArch64/Output/tail-duplication-pass.s.tmp.exe --data /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/AArch64/Output/tail-duplication-pass.s.tmp.fdata --reorder-blocks=none     --print-finalized --tail-duplication=moderate     --tail-duplication-minimum-offset=1 -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/AArch64/Output/tail-duplication-pass.s.tmp.out | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/AArch64/tail-duplication-pass.s
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-bolt --runtime-instrumentation-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_instr.a --runtime-hugify-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_hugify.a /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/AArch64/Output/tail-duplication-pass.s.tmp.exe --data /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/AArch64/Output/tail-duplication-pass.s.tmp.fdata --reorder-blocks=none --print-finalized --tail-duplication=moderate --tail-duplication-minimum-offset=1 -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/AArch64/Output/tail-duplication-pass.s.tmp.out
# .---command stderr------------
# | WARNING: invalid profile data detected at line 2. Possibly corrupted profile.
# | BOLT-INFO: no .got section found
# `-----------------------------
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/AArch64/tail-duplication-pass.s
# note: command had no output on stdout or stderr
# RUN: at line 9
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-bolt --runtime-instrumentation-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_instr.a --runtime-hugify-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_hugify.a /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/AArch64/Output/tail-duplication-pass.s.tmp.exe --data /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/AArch64/Output/tail-duplication-pass.s.tmp.fdata --reorder-blocks=none     --print-finalized --tail-duplication=aggressive     --tail-duplication-minimum-offset=1 -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/AArch64/Output/tail-duplication-pass.s.tmp.out     | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/AArch64/tail-duplication-pass.s --check-prefix=CHECK-NOLOOP
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-bolt --runtime-instrumentation-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_instr.a --runtime-hugify-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_hugify.a /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/AArch64/Output/tail-duplication-pass.s.tmp.exe --data /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/AArch64/Output/tail-duplication-pass.s.tmp.fdata --reorder-blocks=none --print-finalized --tail-duplication=aggressive --tail-duplication-minimum-offset=1 -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/AArch64/Output/tail-duplication-pass.s.tmp.out
# .---command stderr------------
# | WARNING: invalid profile data detected at line 2. Possibly corrupted profile.
# | BOLT-INFO: no .got section found
# `-----------------------------
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/AArch64/tail-duplication-pass.s --check-prefix=CHECK-NOLOOP
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/AArch64/tail-duplication-pass.s:20:22: error: CHECK-NOLOOP-NEXT: is not on the line after the previous match
# | # CHECK-NOLOOP-NEXT: Predecessors: .LBB00
# |                      ^
# | <stdin>:47:2: note: 'next' match was here
# |  Predecessors: .LBB00
# |  ^
# | <stdin>:45:40: note: previous match ended here
# | .Ltail-dup0 (1 instructions, align : 1)
# |                                        ^
# | <stdin>:46:1: note: non-matching line after previous match is here
# |  Exec Count : 10
# | ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/AArch64/tail-duplication-pass.s
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          .
# |          .
# |          .
# |         42:  00000000: eor w0, w0, w0 
# |         43:  Successors: .Ltail-dup0 (mispreds: 0, count: 10) 
# |         44:  
# |         45: .Ltail-dup0 (1 instructions, align : 1) 
# |         46:  Exec Count : 10 
# |         47:  Predecessors: .LBB00 
# | next:20      !~~~~~~~~~~~~~~~~~~~  error: match on wrong line
# |         48:  00000004: ret 
# |         49:  
# |         50: .Ltmp0 (1 instructions, align : 1) 
# |         51:  Secondary Entry Point: .BB1/1 
# |         52:  Exec Count : 0 
# |          .
# |          .
# |          .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

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


More information about the llvm-commits mailing list