[llvm-branch-commits] [MC][AArch64] Add .cfi_set_ra_state for PAuth_LR (PR #209949)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Jul 15 21:15:32 PDT 2026


github-actions[bot] wrote:

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

* 138514 tests passed
* 3542 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/MIR/AArch64/return-address-signing.mir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=aarch64 -run-pass=prolog-epilog -run-pass=aarch64-ptrauth -o - C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\MIR\AArch64\return-address-signing.mir 2>&1 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe --strict-whitespace C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\MIR\AArch64\return-address-signing.mir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=aarch64 -run-pass=prolog-epilog -run-pass=aarch64-ptrauth -o - 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\MIR\AArch64\return-address-signing.mir'
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' --strict-whitespace 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\MIR\AArch64\return-address-signing.mir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\MIR\AArch64\return-address-signing.mir:63:12: error: CHECK: expected string not found in input
# | #CHECK:    frame-setup CFI_INSTRUCTION llvm_set_ra_state 2, <mcsymbol >
# |            ^
# | <stdin>:215:99: note: scanning from here
# |     frame-setup PACIASP implicit-def $lr, implicit $lr, implicit $sp, pre-instr-symbol <mcsymbol >
# |                                                                                                   ^
# | <stdin>:217:12: note: possible intended match here
# |     $x16 = frame-destroy ADRP target-flags(aarch64-page) <mcsymbol >
# |            ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\MIR\AArch64\return-address-signing.mir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           210:   stackSizePPR:    0 
# |           211: body:             | 
# |           212:   bb.0.entry: 
# |           213:     frame-setup PACM 
# |           214:     frame-setup CFI_INSTRUCTION negate_ra_sign_state_with_pc  
# |           215:     frame-setup PACIASP implicit-def $lr, implicit $lr, implicit $sp, pre-instr-symbol <mcsymbol > 
# | check:63'0                                                                                                      {   search range start (exclusive)
# | check:63'1                                                                                                          error: no match found in search range
# |           216:     $w0 = MOVi32imm 2 
# |           217:     $x16 = frame-destroy ADRP target-flags(aarch64-page) <mcsymbol > 
# | check:63'2                ?                                                           possible intended match
# |           218:     $x16 = frame-destroy ADDXri $x16, target-flags(aarch64-pageoff, aarch64-nc) <mcsymbol >, 0 
# |           219:     frame-destroy PACM 
# |           220:     frame-destroy AUTIASP implicit-def $lr, implicit $lr, implicit $sp 
# |           221:     RET_ReallyLR implicit killed $w0 
# |           222: ... 
# | check:63'3         } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# 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/209949


More information about the llvm-branch-commits mailing list