Skip to content

LLVM 20.1.5 test failure #140024

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
RossComputerGuy opened this issue May 15, 2025 · 5 comments
Open

LLVM 20.1.5 test failure #140024

RossComputerGuy opened this issue May 15, 2025 · 5 comments

Comments

@RossComputerGuy
Copy link
Member

When bumping LLVM for Nix from 20.1.4 to 20.1.5, we get a test failure.

llvm> An error occurred retrieving the git revision: [Errno 2] No such file or directory: 'git'
llvm> -- Testing: 60603 tests, 128 workers --
llvm> FAIL: LLVM :: CodeGen/Hexagon/isel/pfalse-v4i1.ll (12898 of 60603)
llvm> ******************** TEST 'LLVM :: CodeGen/Hexagon/isel/pfalse-v4i1.ll' FAILED ********************
llvm> Exit Code: 1
llvm>
llvm> Command Output (stderr):
llvm> --
llvm> RUN: at line 1: /build/llvm-src-20.1.5/llvm/build/bin/llc -march=hexagon -debug-only=isel 2>&1 < /build/llvm-src-20.1.5/llvm/test/CodeGen/Hexagon/isel/pfalse-v4i1.ll - | /build/llvm-src-20.1.5/llvm/build/bin/FileCheck /build/llvm-src-20.1.5/llvm/test/CodeGen/Hexagon/isel/pfalse-v4i1.ll
llvm> + /build/llvm-src-20.1.5/llvm/build/bin/llc -march=hexagon -debug-only=isel -
llvm> + /build/llvm-src-20.1.5/llvm/build/bin/FileCheck /build/llvm-src-20.1.5/llvm/test/CodeGen/Hexagon/isel/pfalse-v4i1.ll
llvm> /build/llvm-src-20.1.5/llvm/test/CodeGen/Hexagon/isel/pfalse-v4i1.ll:3:10: error: CHECK: expected string not found in input
llvm> ; CHECK: [[R0:%[0-9]+]]:intregs = A2_tfrsi 0
llvm>          ^
llvm> <stdin>:1:1: note: scanning from here
llvm> llc: Unknown command line argument '-debug-only=isel'. Try: '/build/llvm-src-20.1.5/llvm/build/bin/llc --help'
llvm> ^
llvm> <stdin>:1:22: note: possible intended match here
llvm> llc: Unknown command line argument '-debug-only=isel'. Try: '/build/llvm-src-20.1.5/llvm/build/bin/llc --help'
llvm>                      ^
llvm>
llvm> Input file: <stdin>
llvm> Check file: /build/llvm-src-20.1.5/llvm/test/CodeGen/Hexagon/isel/pfalse-v4i1.ll
llvm>
llvm> -dump-input=help explains the following input dump.
llvm>
llvm> Input was:
llvm> <<<<<<
llvm>            1: llc: Unknown command line argument '-debug-only=isel'. Try: '/build/llvm-src-20.1.5/llvm/build/bin/llc --help'
llvm> check:3'0     X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
llvm> check:3'1                          ?                                                                                          possible intended match
llvm>            2: llc: Did you mean '--debug-pass=isel'?
llvm> check:3'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
llvm> >>>>>>
llvm>
llvm> --
llvm>
llvm> ********************
llvm> ********************
llvm> Failed Tests (1):
llvm>   LLVM :: CodeGen/Hexagon/isel/pfalse-v4i1.ll
llvm>
llvm>
llvm> Testing Time: 115.02s
llvm>
llvm> Total Discovered Tests: 65162
llvm>   Skipped          :    20 (0.03%)
llvm>   Unsupported      :  2238 (3.43%)
llvm>   Passed           : 62710 (96.24%)
llvm>   Expectedly Failed:   193 (0.30%)
llvm>   Failed           :     1 (0.00%)
@llvmbot
Copy link
Member

llvmbot commented May 15, 2025

@llvm/issue-subscribers-backend-hexagon

Author: Tristan Ross (RossComputerGuy)

When bumping LLVM for Nix from 20.1.4 to 20.1.5, we get a test failure. ``` llvm> An error occurred retrieving the git revision: [Errno 2] No such file or directory: 'git' llvm> -- Testing: 60603 tests, 128 workers -- llvm> FAIL: LLVM :: CodeGen/Hexagon/isel/pfalse-v4i1.ll (12898 of 60603) llvm> ******************** TEST 'LLVM :: CodeGen/Hexagon/isel/pfalse-v4i1.ll' FAILED ******************** llvm> Exit Code: 1 llvm> llvm> Command Output (stderr): llvm> -- llvm> RUN: at line 1: /build/llvm-src-20.1.5/llvm/build/bin/llc -march=hexagon -debug-only=isel 2>&1 < /build/llvm-src-20.1.5/llvm/test/CodeGen/Hexagon/isel/pfalse-v4i1.ll - | /build/llvm-src-20.1.5/llvm/build/bin/FileCheck /build/llvm-src-20.1.5/llvm/test/CodeGen/Hexagon/isel/pfalse-v4i1.ll llvm> + /build/llvm-src-20.1.5/llvm/build/bin/llc -march=hexagon -debug-only=isel - llvm> + /build/llvm-src-20.1.5/llvm/build/bin/FileCheck /build/llvm-src-20.1.5/llvm/test/CodeGen/Hexagon/isel/pfalse-v4i1.ll llvm> /build/llvm-src-20.1.5/llvm/test/CodeGen/Hexagon/isel/pfalse-v4i1.ll:3:10: error: CHECK: expected string not found in input llvm> ; CHECK: [[R0:%[0-9]+]]:intregs = A2_tfrsi 0 llvm> ^ llvm> <stdin>:1:1: note: scanning from here llvm> llc: Unknown command line argument '-debug-only=isel'. Try: '/build/llvm-src-20.1.5/llvm/build/bin/llc --help' llvm> ^ llvm> <stdin>:1:22: note: possible intended match here llvm> llc: Unknown command line argument '-debug-only=isel'. Try: '/build/llvm-src-20.1.5/llvm/build/bin/llc --help' llvm> ^ llvm> llvm> Input file: <stdin> llvm> Check file: /build/llvm-src-20.1.5/llvm/test/CodeGen/Hexagon/isel/pfalse-v4i1.ll llvm> llvm> -dump-input=help explains the following input dump. llvm> llvm> Input was: llvm> <<<<<< llvm> 1: llc: Unknown command line argument '-debug-only=isel'. Try: '/build/llvm-src-20.1.5/llvm/build/bin/llc --help' llvm> check:3'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found llvm> check:3'1 ? possible intended match llvm> 2: llc: Did you mean '--debug-pass=isel'? llvm> check:3'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ llvm> >>>>>> llvm> llvm> -- llvm> llvm> ******************** llvm> ******************** llvm> Failed Tests (1): llvm> LLVM :: CodeGen/Hexagon/isel/pfalse-v4i1.ll llvm> llvm> llvm> Testing Time: 115.02s llvm> llvm> Total Discovered Tests: 65162 llvm> Skipped : 20 (0.03%) llvm> Unsupported : 2238 (3.43%) llvm> Passed : 62710 (96.24%) llvm> Expectedly Failed: 193 (0.30%) llvm> Failed : 1 (0.00%) ```

@omjavaid
Copy link
Contributor

I can see same issue on 20.1.5 LLVM Arm v7 Linux release build.

@omjavaid omjavaid added this to the LLVM 20.X Release milestone May 15, 2025
@github-project-automation github-project-automation bot moved this to Needs Triage in LLVM Release Status May 15, 2025
@omjavaid omjavaid added the regression:20 Regression in 20 release label May 15, 2025
@svs-quic
Copy link
Contributor

dyung@340d199 needs to be backported to fix this

@frederick-vs-ja
Copy link
Contributor

#139822 possibly fixes this.

@RossComputerGuy
Copy link
Member Author

That PR does indeed fix the test failure.

@tstellar tstellar moved this from Needs Triage to Needs Fix in LLVM Release Status May 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs Fix
Development

No branches or pull requests

5 participants