[llvm] [LLVM][IR] Add support for address space names in DataLayout (PR #170559)

via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 3 17:00:32 PST 2025


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 166729 tests passed
* 2904 tests skipped
* 2 tests failed

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

### MLIR
<details>
<summary>MLIR.Dialect/XeGPU/xegpu-wg-to-sg-unify-ops.mlir (Likely Already Failing)</summary>
This test is already failing at the base commit.

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt --xegpu-wg-to-sg-distribute -split-input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/XeGPU/xegpu-wg-to-sg-unify-ops.mlir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/XeGPU/xegpu-wg-to-sg-unify-ops.mlir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-opt --xegpu-wg-to-sg-distribute -split-input-file /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/XeGPU/xegpu-wg-to-sg-unify-ops.mlir
# 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/mlir/test/Dialect/XeGPU/xegpu-wg-to-sg-unify-ops.mlir
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/XeGPU/xegpu-wg-to-sg-unify-ops.mlir:586:16: error: CHECK-DAG: expected string not found in input
# |  // CHECK-DAG: %[[REMU:.*]] = index.remu %[[SGID]], %[[C2:.*]]
# |                ^
# | <stdin>:824:33: note: scanning from here
# |  gpu.func @vector_create_mask_1D() {
# |                                 ^
# | <stdin>:824:33: note: with "SGID" equal to "0"
# |  gpu.func @vector_create_mask_1D() {
# |                                 ^
# | <stdin>:828:2: note: possible intended match here
# |  %1 = arith.remui %0, %c2 : index
# |  ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/XeGPU/xegpu-wg-to-sg-unify-ops.mlir:601:16: error: CHECK-DAG: expected string not found in input
# |  // CHECK-DAG: %[[SGIDX:.*]] = index.remu %[[SGID]], %[[C4:.*]]
# |                ^
# | <stdin>:842:33: note: scanning from here
# |  gpu.func @vector_create_mask_2D() {
# |                                 ^
# | <stdin>:842:33: note: with "SGID" equal to "0"
# |  gpu.func @vector_create_mask_2D() {
# |                                 ^
# | <stdin>:846:2: note: possible intended match here
# |  %1 = arith.remui %0, %c4 : index
# |  ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Dialect/XeGPU/xegpu-wg-to-sg-unify-ops.mlir
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |          819:  %12 = arith.maxsi %11, %c0_6 : index 
# |          820:  %13 = arith.minsi %12, %c32_5 : index 
# |          821:  %14 = vector.create_mask %10, %13 : vector<32x32xi1> 
# |          822:  gpu.return 
# |          823:  } 
# |          824:  gpu.func @vector_create_mask_1D() { 
# | dag:586'0                                     X~~~~ error: no match found
# | dag:586'1                                           with "SGID" equal to "0"
# |          825:  %c8 = arith.constant 8 : index 
# | dag:586'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          826:  %0 = gpu.subgroup_id : index 
# | dag:586'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          827:  %c2 = arith.constant 2 : index 
# | dag:586'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          828:  %1 = arith.remui %0, %c2 : index 
# | dag:586'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | dag:586'2      ?                                 possible intended match
# |          829:  %c16 = arith.constant 16 : index 
# | dag:586'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          830:  %2 = arith.muli %1, %c16 : index 
# | dag:586'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          831:  %c0 = arith.constant 0 : index 
# | dag:586'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          832:  %c32 = arith.constant 32 : index 
# | dag:586'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          833:  %3 = arith.remui %2, %c32 : index 
# | dag:586'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# |          837:  %5 = arith.maxsi %4, %c0_1 : index 
# | dag:586'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          838:  %6 = arith.minsi %5, %c16_0 : index 
# | dag:586'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          839:  %7 = vector.create_mask %6 : vector<16xi1> 
# | dag:586'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          840:  gpu.return 
# | dag:586'0     ~~~~~~~~~~~~
# |          841:  } 
# | dag:586'0     ~~~
# |          842:  gpu.func @vector_create_mask_2D() { 
# | dag:586'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | dag:601'0                                     X~~~~ error: no match found
# | dag:601'1                                           with "SGID" equal to "0"
# |          843:  %c16 = arith.constant 16 : index 
# | dag:601'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          844:  %0 = gpu.subgroup_id : index 
# | dag:601'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          845:  %c4 = arith.constant 4 : index 
# | dag:601'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          846:  %1 = arith.remui %0, %c4 : index 
# | dag:601'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | dag:601'2      ?                                 possible intended match
# |          847:  %2 = arith.divui %0, %c4 : index 
# | dag:601'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          848:  %c8 = arith.constant 8 : index 
# | dag:601'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          849:  %3 = arith.remui %2, %c8 : index 
# | dag:601'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          850:  %c32 = arith.constant 32 : index 
# | dag:601'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |          851:  %4 = arith.muli %3, %c32 : index 
# | dag:601'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            .
# |            .
# |            .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

### lldb-api
<details>
<summary>lldb-api.iohandler/sigint/TestIOHandlerPythonREPLSigint.py</summary>

```
Script:
--
/usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --env LLVM_INCLUDE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include --env LLVM_TOOLS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --libcxx-include-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 --libcxx-include-target-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 --libcxx-library-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib/x86_64-unknown-linux-gnu --arch x86_64 --build-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex --lldb-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/lldb --compiler /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang --dsymutil /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/dsymutil --make /usr/bin/gmake --llvm-tools-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --lldb-obj-root /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb --lldb-libs-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --cmake-build-type Release /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/iohandler/sigint -p TestIOHandlerPythonREPLSigint.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 22.0.0git (https://github.com/llvm/llvm-project revision fcc0052ae40c256b740fa7be7a7397aaad7117b0)
  clang revision fcc0052ae40c256b740fa7be7a7397aaad7117b0
  llvm revision fcc0052ae40c256b740fa7be7a7397aaad7117b0
Skipping the following test categories: msvcstl, dsym, pdb, gmodules, debugserver, objc

--
Command Output (stderr):
--
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_while_evaluating_code (TestIOHandlerPythonREPLSigint.TestCase.test_while_evaluating_code)
UNSUPPORTED: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_while_waiting_on_input (TestIOHandlerPythonREPLSigint.TestCase.test_while_waiting_on_input) (skipping due to the following parameter(s): host o/s) 
======================================================================
ERROR: test_while_evaluating_code (TestIOHandlerPythonREPLSigint.TestCase.test_while_evaluating_code)
   Tests SIGINT handling while Python code is being evaluated.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 156, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 156, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/iohandler/sigint/TestIOHandlerPythonREPLSigint.py", line 48, in test_while_evaluating_code
    self.child.expect("KeyboardInterrupt")
  File "/home/gha/.local/lib/python3.12/site-packages/pexpect/spawnbase.py", line 354, in expect
    return self.expect_list(compiled_pattern_list,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/gha/.local/lib/python3.12/site-packages/pexpect/spawnbase.py", line 383, in expect_list
    return exp.expect_loop(timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/gha/.local/lib/python3.12/site-packages/pexpect/expect.py", line 181, in expect_loop
    return self.timeout(e)
           ^^^^^^^^^^^^^^^
  File "/home/gha/.local/lib/python3.12/site-packages/pexpect/expect.py", line 144, in timeout
    raise exc
pexpect.exceptions.TIMEOUT: Timeout exceeded.
<pexpect.pty_spawn.spawn object at 0x78e5c17ed2b0>
command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb
args: ['/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb', '--no-lldbinit', '--no-use-colors', '-O', 'settings clear --all', '-O', 'settings set symbols.enable-external-lookup false', '-O', 'settings set target.inherit-tcc true', '-O', 'settings set target.disable-aslr false', '-O', 'settings set target.detach-on-error false', '-O', 'settings set target.auto-apply-fixits false', '-O', 'settings set plugin.process.gdb-remote.packet-timeout 60', '-O', 'settings set symbols.clang-modules-cache-path "/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-lldb/lldb-api"', '-O', 'settings set use-color false', '-O', 'settings set show-statusline false']
buffer (last 100 chars): b'\r\n^C'
before (last 100 chars): b'\r\n^C'
after: <class 'pexpect.exceptions.TIMEOUT'>
match: None
match_index: None
exitstatus: None
flag_eof: False
pid: 1547278
child_fd: 5
closed: False
timeout: 60
delimiter: <class 'pexpect.exceptions.EOF'>
logfile: None
logfile_read: None
logfile_send: None
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1
searcher: searcher_re:
    0: re.compile(b'KeyboardInterrupt')
Config=x86_64-/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang
----------------------------------------------------------------------
Ran 2 tests in 126.508s

FAILED (errors=1, skipped=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/170559


More information about the llvm-commits mailing list