[llvm] [X86][GlobalISel] Support globals in pic mode (PR #170038)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 30 07:39:26 PST 2025
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 166453 tests passed
* 2872 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=aarch64-- -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir -mcpu=cortex-a75 -o - 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir --check-prefixes=CHECK
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=aarch64-- -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir -mcpu=cortex-a75 -o -
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir --check-prefixes=CHECK
# note: command had no output on stdout or stderr
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=aarch64-- -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir -debug-only=legalizer-info -verbose-gisel-verify-legalizer-info -mcpu=cortex-a75 -o - 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir --check-prefixes=CHECK,DEBUG
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=aarch64-- -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir -debug-only=legalizer-info -verbose-gisel-verify-legalizer-info -mcpu=cortex-a75 -o -
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir --check-prefixes=CHECK,DEBUG
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir:118:15: error: DEBUG-NEXT: is not on the line after the previous match
# | # DEBUG-NEXT: G_PTRAUTH_GLOBAL_VALUE (opcode {{[0-9]+}}): 2 type indices, 0 imm indices
# | ^
# | <stdin>:83:1: note: 'next' match was here
# | G_PTRAUTH_GLOBAL_VALUE (opcode 77): 2 type indices, 0 imm indices
# | ^
# | <stdin>:79:69: note: previous match ended here
# | .. imm index coverage check SKIPPED: user-defined predicate detected
# | ^
# | <stdin>:80:1: note: non-matching line after previous match is here
# | G_TARGET_GLOBAL_VALUE (opcode 76): 1 type index, 0 imm indices
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 78: .. type index coverage check SKIPPED: user-defined predicate detected
# | 79: .. imm index coverage check SKIPPED: user-defined predicate detected
# | 80: G_TARGET_GLOBAL_VALUE (opcode 76): 1 type index, 0 imm indices
# | 81: .. type index coverage check SKIPPED: no rules defined
# | 82: .. imm index coverage check SKIPPED: no rules defined
# | 83: G_PTRAUTH_GLOBAL_VALUE (opcode 77): 2 type indices, 0 imm indices
# | next:118 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 84: .. type index coverage check SKIPPED: user-defined predicate detected
# | 85: .. imm index coverage check SKIPPED: user-defined predicate detected
# | 86: G_CONSTANT_POOL (opcode 78): 1 type index, 0 imm indices
# | 87: .. type index coverage check SKIPPED: no rules defined
# | 88: .. imm index coverage check SKIPPED: no rules defined
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
```
</details>
<details>
<summary>LLVM.CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32-- -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir -mattr=+m,+zbb,+zfh,+v -o - 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir --check-prefixes=CHECK
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32-- -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir -mattr=+m,+zbb,+zfh,+v -o -
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir --check-prefixes=CHECK
# note: command had no output on stdout or stderr
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv64-- -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir -mattr=+m,+zbb,+zfh,+v -o - 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir --check-prefixes=CHECK
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv64-- -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir -mattr=+m,+zbb,+zfh,+v -o -
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir --check-prefixes=CHECK
# note: command had no output on stdout or stderr
# RUN: at line 7
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32-- -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir -debug-only=legalizer-info -verbose-gisel-verify-legalizer-info -mattr=+m,+zbb,+zfh,+v -o - 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir --check-prefixes=CHECK,DEBUG,DEBUG-RV32
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=riscv32-- -run-pass=legalizer /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir -debug-only=legalizer-info -verbose-gisel-verify-legalizer-info -mattr=+m,+zbb,+zfh,+v -o -
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir --check-prefixes=CHECK,DEBUG,DEBUG-RV32
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir:116:15: error: DEBUG-NEXT: is not on the line after the previous match
# | # DEBUG-NEXT: G_PTRAUTH_GLOBAL_VALUE (opcode {{[0-9]+}}): 2 type indices, 0 imm indices
# | ^
# | <stdin>:77:1: note: 'next' match was here
# | G_PTRAUTH_GLOBAL_VALUE (opcode 77): 2 type indices, 0 imm indices
# | ^
# | <stdin>:73:40: note: previous match ended here
# | .. the first uncovered imm index: 0, OK
# | ^
# | <stdin>:74:1: note: non-matching line after previous match is here
# | G_TARGET_GLOBAL_VALUE (opcode 76): 1 type index, 0 imm indices
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/RISCV/GlobalISel/legalizer-info-validation.mir
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 72: .. the first uncovered type index: 1, OK
# | 73: .. the first uncovered imm index: 0, OK
# | 74: G_TARGET_GLOBAL_VALUE (opcode 76): 1 type index, 0 imm indices
# | 75: .. type index coverage check SKIPPED: no rules defined
# | 76: .. imm index coverage check SKIPPED: no rules defined
# | 77: G_PTRAUTH_GLOBAL_VALUE (opcode 77): 2 type indices, 0 imm indices
# | next:116 !~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: match on wrong line
# | 78: .. type index coverage check SKIPPED: no rules defined
# | 79: .. imm index coverage check SKIPPED: no rules defined
# | 80: G_CONSTANT_POOL (opcode 78): 1 type index, 0 imm indices
# | 81: .. opcode 78 is aliased to 75
# | 82: .. the first uncovered type index: 1, OK
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# 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/170038
More information about the llvm-commits
mailing list