[llvm] [AArch64] Add ISel patterns for LDAPURS* instructions (PR #171788)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 11 02:20:38 PST 2025
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 128556 tests passed
* 2805 tests skipped
* 6 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.tools/llvm-mca/AArch64/Neoverse/N2-rcpc-immo-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/rcpc-immo-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-rcpc-immo-instructions.s
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-mca.exe' -mtriple=aarch64 -mcpu=neoverse-n2 -instruction-tables
# note: command had no output on stdout or stderr
# 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-rcpc-immo-instructions.s'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\AArch64\Neoverse\N2-rcpc-immo-instructions.s:13:15: error: CHECK-NEXT: expected string not found in input
# | # CHECK-NEXT: 2 1 0.50 * ldapur w7, [x24]
# | ^
# | <stdin>:11:38: note: scanning from here
# | [1] [2] [3] [4] [5] [6] Instructions:
# | ^
# | <stdin>:12:2: note: possible intended match here
# | 1 4 0.33 * ldapur w7, [x24]
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\AArch64\Neoverse\N2-rcpc-immo-instructions.s
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 6: [3]: RThroughput
# | 7: [4]: MayLoad
# | 8: [5]: MayStore
# | 9: [6]: HasSideEffects (U)
# | 10:
# | 11: [1] [2] [3] [4] [5] [6] Instructions:
# | next:13'0 X error: no match found
# | 12: 1 4 0.33 * ldapur w7, [x24]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:13'1 ? possible intended match
# | 13: 1 4 0.33 * ldapur x20, [x13]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 14: 1 4 0.33 * ldapurb w13, [x17]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 15: 1 4 0.33 * ldapurh w3, [x22]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 16: 1 4 0.33 * ldapursb w7, [x8]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 17: 1 4 0.33 * ldapursb x29, [x7]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.tools/llvm-mca/AArch64/Neoverse/N3-rcpc-immo-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-n3 -instruction-tables < C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\AArch64\Neoverse/Inputs/rcpc-immo-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\N3-rcpc-immo-instructions.s
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-mca.exe' -mtriple=aarch64 -mcpu=neoverse-n3 -instruction-tables
# note: command had no output on stdout or stderr
# 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\N3-rcpc-immo-instructions.s'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\AArch64\Neoverse\N3-rcpc-immo-instructions.s:13:15: error: CHECK-NEXT: expected string not found in input
# | # CHECK-NEXT: 2 1 0.50 * ldapur w7, [x24]
# | ^
# | <stdin>:11:38: note: scanning from here
# | [1] [2] [3] [4] [5] [6] Instructions:
# | ^
# | <stdin>:12:2: note: possible intended match here
# | 1 4 0.33 * ldapur w7, [x24]
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\AArch64\Neoverse\N3-rcpc-immo-instructions.s
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 6: [3]: RThroughput
# | 7: [4]: MayLoad
# | 8: [5]: MayStore
# | 9: [6]: HasSideEffects (U)
# | 10:
# | 11: [1] [2] [3] [4] [5] [6] Instructions:
# | next:13'0 X error: no match found
# | 12: 1 4 0.33 * ldapur w7, [x24]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:13'1 ? possible intended match
# | 13: 1 4 0.33 * ldapur x20, [x13]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 14: 1 4 0.33 * ldapurb w13, [x17]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 15: 1 4 0.33 * ldapurh w3, [x22]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 16: 1 4 0.33 * ldapursb w7, [x8]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 17: 1 4 0.33 * ldapursb x29, [x7]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.tools/llvm-mca/AArch64/Neoverse/V1-rcpc-immo-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-v1 -instruction-tables < C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\AArch64\Neoverse/Inputs/rcpc-immo-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\V1-rcpc-immo-instructions.s
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-mca.exe' -mtriple=aarch64 -mcpu=neoverse-v1 -instruction-tables
# note: command had no output on stdout or stderr
# 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\V1-rcpc-immo-instructions.s'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\AArch64\Neoverse\V1-rcpc-immo-instructions.s:13:15: error: CHECK-NEXT: expected string not found in input
# | # CHECK-NEXT: 2 1 0.50 * ldapur w7, [x24]
# | ^
# | <stdin>:11:38: note: scanning from here
# | [1] [2] [3] [4] [5] [6] Instructions:
# | ^
# | <stdin>:12:2: note: possible intended match here
# | 1 4 0.33 * ldapur w7, [x24]
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\AArch64\Neoverse\V1-rcpc-immo-instructions.s
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 6: [3]: RThroughput
# | 7: [4]: MayLoad
# | 8: [5]: MayStore
# | 9: [6]: HasSideEffects (U)
# | 10:
# | 11: [1] [2] [3] [4] [5] [6] Instructions:
# | next:13'0 X error: no match found
# | 12: 1 4 0.33 * ldapur w7, [x24]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:13'1 ? possible intended match
# | 13: 1 4 0.33 * ldapur x20, [x13]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 14: 1 4 0.33 * ldapurb w13, [x17]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 15: 1 4 0.33 * ldapurh w3, [x22]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 16: 1 4 0.33 * ldapursb w7, [x8]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 17: 1 4 0.33 * ldapursb x29, [x7]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.tools/llvm-mca/AArch64/Neoverse/V2-rcpc-immo-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-v2 -instruction-tables < C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\AArch64\Neoverse/Inputs/rcpc-immo-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\V2-rcpc-immo-instructions.s
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-mca.exe' -mtriple=aarch64 -mcpu=neoverse-v2 -instruction-tables
# note: command had no output on stdout or stderr
# 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\V2-rcpc-immo-instructions.s'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\AArch64\Neoverse\V2-rcpc-immo-instructions.s:13:15: error: CHECK-NEXT: expected string not found in input
# | # CHECK-NEXT: 2 1 0.50 * ldapur w7, [x24]
# | ^
# | <stdin>:11:38: note: scanning from here
# | [1] [2] [3] [4] [5] [6] Instructions:
# | ^
# | <stdin>:12:2: note: possible intended match here
# | 1 4 0.33 * ldapur w7, [x24]
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\AArch64\Neoverse\V2-rcpc-immo-instructions.s
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 6: [3]: RThroughput
# | 7: [4]: MayLoad
# | 8: [5]: MayStore
# | 9: [6]: HasSideEffects (U)
# | 10:
# | 11: [1] [2] [3] [4] [5] [6] Instructions:
# | next:13'0 X error: no match found
# | 12: 1 4 0.33 * ldapur w7, [x24]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:13'1 ? possible intended match
# | 13: 1 4 0.33 * ldapur x20, [x13]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 14: 1 4 0.33 * ldapurb w13, [x17]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 15: 1 4 0.33 * ldapurh w3, [x22]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 16: 1 4 0.33 * ldapursb w7, [x8]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 17: 1 4 0.33 * ldapursb x29, [x7]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.tools/llvm-mca/AArch64/Neoverse/V3-rcpc-immo-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-v3 -instruction-tables < C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\AArch64\Neoverse/Inputs/rcpc-immo-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\V3-rcpc-immo-instructions.s
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-mca.exe' -mtriple=aarch64 -mcpu=neoverse-v3 -instruction-tables
# note: command had no output on stdout or stderr
# 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\V3-rcpc-immo-instructions.s'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\AArch64\Neoverse\V3-rcpc-immo-instructions.s:13:15: error: CHECK-NEXT: expected string not found in input
# | # CHECK-NEXT: 2 1 0.50 * ldapur w7, [x24]
# | ^
# | <stdin>:11:38: note: scanning from here
# | [1] [2] [3] [4] [5] [6] Instructions:
# | ^
# | <stdin>:12:2: note: possible intended match here
# | 1 4 0.33 * ldapur w7, [x24]
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\AArch64\Neoverse\V3-rcpc-immo-instructions.s
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 6: [3]: RThroughput
# | 7: [4]: MayLoad
# | 8: [5]: MayStore
# | 9: [6]: HasSideEffects (U)
# | 10:
# | 11: [1] [2] [3] [4] [5] [6] Instructions:
# | next:13'0 X error: no match found
# | 12: 1 4 0.33 * ldapur w7, [x24]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:13'1 ? possible intended match
# | 13: 1 4 0.33 * ldapur x20, [x13]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 14: 1 4 0.33 * ldapurb w13, [x17]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 15: 1 4 0.33 * ldapurh w3, [x22]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 16: 1 4 0.33 * ldapursb w7, [x8]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 17: 1 4 0.33 * ldapursb x29, [x7]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.tools/llvm-mca/AArch64/Neoverse/V3AE-rcpc-immo-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-v3ae -instruction-tables < C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\AArch64\Neoverse/Inputs/rcpc-immo-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\V3AE-rcpc-immo-instructions.s
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llvm-mca.exe' -mtriple=aarch64 -mcpu=neoverse-v3ae -instruction-tables
# note: command had no output on stdout or stderr
# 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\V3AE-rcpc-immo-instructions.s'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\AArch64\Neoverse\V3AE-rcpc-immo-instructions.s:13:15: error: CHECK-NEXT: expected string not found in input
# | # CHECK-NEXT: 2 1 0.50 * ldapur w7, [x24]
# | ^
# | <stdin>:11:38: note: scanning from here
# | [1] [2] [3] [4] [5] [6] Instructions:
# | ^
# | <stdin>:12:2: note: possible intended match here
# | 1 4 0.33 * ldapur w7, [x24]
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\tools\llvm-mca\AArch64\Neoverse\V3AE-rcpc-immo-instructions.s
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 6: [3]: RThroughput
# | 7: [4]: MayLoad
# | 8: [5]: MayStore
# | 9: [6]: HasSideEffects (U)
# | 10:
# | 11: [1] [2] [3] [4] [5] [6] Instructions:
# | next:13'0 X error: no match found
# | 12: 1 4 0.33 * ldapur w7, [x24]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:13'1 ? possible intended match
# | 13: 1 4 0.33 * ldapur x20, [x13]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 14: 1 4 0.33 * ldapurb w13, [x17]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 15: 1 4 0.33 * ldapurh w3, [x22]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 16: 1 4 0.33 * ldapursb w7, [x8]
# | next:13'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | 17: 1 4 0.33 * ldapursb x29, [x7]
# | next:13'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/171788
More information about the llvm-commits
mailing list