[llvm] [MCA][AArch64] Model single-register EXTR as ROR on Neoverse N2 (PR #172831)

via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 22 06:39:03 PST 2025


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 128865 tests passed
* 2839 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.tools/llvm-mca/AArch64/Neoverse/N2-basic-instructions.s</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\llvm-mca.exe -mtriple=aarch64 -mcpu=neoverse-n2 -instruction-tables < C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\AArch64\Neoverse/Inputs/basic-instructions.s | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\AArch64\Neoverse\N2-basic-instructions.s
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-mca.exe' -mtriple=aarch64 -mcpu=neoverse-n2 -instruction-tables
# .---command stderr------------
# | warning: found a call in the input assembly sequence.
# | note: call instructions are not correctly modeled. Assume a latency of 100cy.
# | warning: found a return instruction in the input assembly sequence.
# | note: program counter updates are ignored.
# `-----------------------------
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\AArch64\Neoverse\N2-basic-instructions.s'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\AArch64\Neoverse\N2-basic-instructions.s:1270:15: error: CHECK-NEXT: expected string not found in input
# | # CHECK-NEXT: 13.00 13.00 34.00 34.00 90.33 161.33 161.33 538.00 252.00 169.00 169.00 254.00 101.00
# |               ^
# | <stdin>:1270:68: note: scanning from here
# | [0.0] [0.1] [1.0] [1.1] [2] [3.0] [3.1] [4] [5] [6.0] [6.1] [7] [8] 
# |                                                                    ^
# | <stdin>:1271:1: note: possible intended match here
# | 13.00 13.00 34.00 34.00 94.33 165.33 165.33 538.00 252.00 169.00 169.00 254.00 101.00 
# | ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\AArch64\Neoverse\N2-basic-instructions.s
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |           1265: [7] - N2UnitV0 
# |           1266: [8] - N2UnitV1 
# |           1267:  
# |           1268:  
# |           1269: Resource pressure per iteration: 
# |           1270: [0.0] [0.1] [1.0] [1.1] [2] [3.0] [3.1] [4] [5] [6.0] [6.1] [7] [8]  
# | next:1270'0                                                                        X~ error: no match found
# |           1271: 13.00 13.00 34.00 34.00 94.33 165.33 165.33 538.00 252.00 169.00 169.00 254.00 101.00  
# | next:1270'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:1270'1     ?                                                                                       possible intended match
# |           1272:  
# | next:1270'0     ~
# |           1273: Resource pressure by instruction: 
# | next:1270'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1274: [0.0] [0.1] [1.0] [1.1] [2] [3.0] [3.1] [4] [5] [6.0] [6.1] [7] [8] Instructions: 
# | next:1270'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1275:  - - - - - - - 0.25 0.25 0.25 0.25 - - add w2, w3, #4095 
# | next:1270'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           1276:  - - - - - - - 0.25 0.25 0.25 0.25 - - add w30, w29, #1, lsl #12 
# | next:1270'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/172831


More information about the llvm-commits mailing list