[llvm] [NVPTX] Add missing Range attr to tensormap.replace intrinsics. (PR #207099)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 6 01:40:38 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-nvptx-nvidia-ubuntu` running on `as-builder-7` while building `llvm` at step 6 "test-build-unified-tree-check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/180/builds/40908

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 6 (test-build-unified-tree-check-llvm) failure: test (failure)
******************** TEST 'LLVM :: Verifier/NVPTX/tensormap-replace.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
not /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/build/bin/llvm-as /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/Verifier/NVPTX/tensormap-replace.ll -o /dev/null 2>&1 | /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/build/bin/FileCheck /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/Verifier/NVPTX/tensormap-replace.ll
# executed command: not /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/build/bin/llvm-as /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/Verifier/NVPTX/tensormap-replace.ll -o /dev/null
# executed command: /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/build/bin/FileCheck /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/Verifier/NVPTX/tensormap-replace.ll
# .---command stderr------------
# | /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/Verifier/NVPTX/tensormap-replace.ll:13:11: error: CHECK: expected string not found in input
# |  ; CHECK: immarg value 5 out of range [0, 5)
# |           ^
# | <stdin>:1:1: note: scanning from here
# | /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/build/bin/llvm-as: assembly parsed, but does not verify as correct!
# | ^
# | <stdin>:2:14: note: possible intended match here
# | immarg value 5 for arg 1 out of range [0,5)
# |              ^
# | 
# | Input file: <stdin>
# | Check file: /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/Verifier/NVPTX/tensormap-replace.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: /home/buildbot/worker/as-builder-7/llvm-nvptx-nvidia-ubuntu/build/bin/llvm-as: assembly parsed, but does not verify as correct! 
# | check:13'0    {                                                                                                                                  search range start (exclusive)
# | check:13'1                                                                                                                                       error: no match found in search range
# |             2: immarg value 5 for arg 1 out of range [0,5) 
# | check:13'2                  ?                                possible intended match
# |             3:  call void @llvm.nvvm.tensormap.replace.box.dim.p1(ptr addrspace(1) %addr, i32 5, i32 %v32) 
# |             4: immarg value 6 for arg 1 out of range [0,5) 
# |             5:  call void @llvm.nvvm.tensormap.replace.global.dim.p1(ptr addrspace(1) %addr, i32 6, i32 %v32) 
# |             6: immarg value 5 for arg 1 out of range [0,5) 
# |             7:  call void @llvm.nvvm.tensormap.replace.element.stride.p1(ptr addrspace(1) %addr, i32 5, i32 %v32) 
# |             8: immarg value 6 for arg 1 out of range [0,5) 
# |             9:  call void @llvm.nvvm.tensormap.replace.global.stride.p1(ptr addrspace(1) %addr, i32 6, i64 %v64) 
# | check:13'3                                                                                                       } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

********************


```

</details>

https://github.com/llvm/llvm-project/pull/207099


More information about the llvm-commits mailing list