[llvm] Reapply "[llvm-exegesis] Exclude loads/stores from aliasing instruction set" (#156735) (PR #159366)
David Spickett via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 7 05:23:36 PDT 2025
DavidSpickett wrote:
Unrelated to llvm-objdump failing, I hammered the test with the first stage build on an AArch64 machine without SVE and sometimes (1 in a 1000 runs maybe) would fail with an error about operands:
```
$ ./bin/llvm-lit ../llvm-project/llvm/test/tools/llvm-exegesis/AArch64/no-aliasing-ld-str.s -a
-- Testing: 1 tests, 1 workers --
FAIL: LLVM :: tools/llvm-exegesis/AArch64/no-aliasing-ld-str.s (1 of 1)
******************** TEST 'LLVM :: tools/llvm-exegesis/AArch64/no-aliasing-ld-str.s' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 3
/home/david.spickett/build-llvm-aarch64/bin/llvm-exegesis -mtriple=aarch64 -mcpu=neoverse-v2 -mode=latency --dump-object-to-disk=/home/david.spickett/build-llvm-aarch64/test/tools/llvm-exegesis/AArch64/Output/no-aliasing-ld-str.s.tmp --opcode-name=FMOVWSr --benchmark-phase=assemble-measured-code 2>&1
# executed command: /home/david.spickett/build-llvm-aarch64/bin/llvm-exegesis -mtriple=aarch64 -mcpu=neoverse-v2 -mode=latency --dump-object-to-disk=/home/david.spickett/build-llvm-aarch64/test/tools/llvm-exegesis/AArch64/Output/no-aliasing-ld-str.s.tmp --opcode-name=FMOVWSr --benchmark-phase=assemble-measured-code
# .---command stdout------------
# | FMOVWSr: Not all operands were initialized by the snippet generator for UMOVvi8 opcode.
# `-----------------------------
# RUN: at line 4
/home/david.spickett/build-llvm-aarch64/bin/llvm-objdump -d /home/david.spickett/build-llvm-aarch64/test/tools/llvm-exegesis/AArch64/Output/no-aliasing-ld-str.s.tmp > /home/david.spickett/build-llvm-aarch64/test/tools/llvm-exegesis/AArch64/Output/no-aliasing-ld-str.s.tmp.s
# executed command: /home/david.spickett/build-llvm-aarch64/bin/llvm-objdump -d /home/david.spickett/build-llvm-aarch64/test/tools/llvm-exegesis/AArch64/Output/no-aliasing-ld-str.s.tmp
# .---command stderr------------
# | /home/david.spickett/build-llvm-aarch64/bin/llvm-objdump: error: '/home/david.spickett/build-llvm-aarch64/test/tools/llvm-exegesis/AArch64/Output/no-aliasing-ld-str.s.tmp': No such file or directory
# `-----------------------------
# error: command failed with exit status: 1
--
********************
********************
Failed Tests (1):
LLVM :: tools/llvm-exegesis/AArch64/no-aliasing-ld-str.s
Testing Time: 0.06s
Total Discovered Tests: 1
Failed: 1 (100.00%)
```
```
❌ Failed on run 813 (exit 1). Output:
-- Testing: 1 tests, 1 workers --
FAIL: LLVM :: tools/llvm-exegesis/AArch64/no-aliasing-ld-str.s (1 of 1)
******************** TEST 'LLVM :: tools/llvm-exegesis/AArch64/no-aliasing-ld-str.s' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 3
/home/david.spickett/build-llvm-aarch64/bin/llvm-exegesis -mtriple=aarch64 -mcpu=neoverse-v2 -mode=latency --dump-object-to-disk=/home/david.spickett/build-llvm-aarch64/test/tools/llvm-exegesis/AArch64/Output/no-aliasing-ld-str.s.tmp.obj --opcode-name=FMOVWSr --benchmark-phase=assemble-measured-code 2>&1
# executed command: /home/david.spickett/build-llvm-aarch64/bin/llvm-exegesis -mtriple=aarch64 -mcpu=neoverse-v2 -mode=latency --dump-object-to-disk=/home/david.spickett/build-llvm-aarch64/test/tools/llvm-exegesis/AArch64/Output/no-aliasing-ld-str.s.tmp.obj --opcode-name=FMOVWSr --benchmark-phase=assemble-measured-code
# .---command stdout------------
# | FMOVWSr: Not all operands were initialized by the snippet generator for FCVTZSSWSri opcode.
# `-----------------------------
# RUN: at line 4
/home/david.spickett/build-llvm-aarch64/bin/llvm-objdump -d /home/david.spickett/build-llvm-aarch64/test/tools/llvm-exegesis/AArch64/Output/no-aliasing-ld-str.s.tmp.obj > /home/david.spickett/build-llvm-aarch64/test/tools/llvm-exegesis/AArch64/Output/no-aliasing-ld-str.s.tmp.s
# executed command: /home/david.spickett/build-llvm-aarch64/bin/llvm-objdump -d /home/david.spickett/build-llvm-aarch64/test/tools/llvm-exegesis/AArch64/Output/no-aliasing-ld-str.s.tmp.obj
# .---command stderr------------
# | /home/david.spickett/build-llvm-aarch64/bin/llvm-objdump: error: '/home/david.spickett/build-llvm-aarch64/test/tools/llvm-exegesis/AArch64/Output/no-aliasing-ld-str.s.tmp.obj': No such file or directory
# `-----------------------------
# error: command failed with exit status: 1
--
********************
********************
Failed Tests (1):
LLVM :: tools/llvm-exegesis/AArch64/no-aliasing-ld-str.s
Testing Time: 0.06s
Total Discovered Tests: 1
Failed: 1 (100.00%)
```
Just in case that error means anything to you.
https://github.com/llvm/llvm-project/pull/159366
More information about the llvm-commits
mailing list