[llvm] [SelectionDAG][NVPTX] Allow targets to configure CSE strategy (PR #192812)

via llvm-commits llvm-commits at lists.llvm.org
Sat May 9 20:52:29 PDT 2026


github-actions[bot] wrote:

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

* 134501 tests passed
* 3259 tests skipped
* 1 test failed

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

### LLVM
<details>
<summary>LLVM.DebugInfo/NVPTX/cse-constants.ll</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\llc.exe < C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\NVPTX\cse-constants.ll -mtriple=nvptx64-nvidia-cuda -O0 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\NVPTX\cse-constants.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=nvptx64-nvidia-cuda -O0
# 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\DebugInfo\NVPTX\cse-constants.ll'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\NVPTX\cse-constants.ll:32:10: error: CHECK: expected string not found in input
# | ; CHECK: .loc {{[0-9]+}} 2
# |          ^
# | <stdin>:48:9: note: scanning from here
# |  add.s32 %r2, %r1, %r1;
# |         ^
# | <stdin>:49:2: note: possible intended match here
# |  .loc 1 3 1 // test.cu:3:1
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\llvm\test\DebugInfo\NVPTX\cse-constants.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |            43:  
# |            44: // %bb.0: 
# |            45:  ld.param.b32 %r1, [const_diff_loc_param_0]; 
# |            46: $L__tmp2: 
# |            47:  .loc 1 2 1 // test.cu:2:1 
# |            48:  add.s32 %r2, %r1, %r1; 
# | check:32'0             X~~~~~~~~~~~~~~~ error: no match found
# |            49:  .loc 1 3 1 // test.cu:3:1 
# | check:32'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | check:32'1      ?                          possible intended match
# |            50:  add.s32 %r3, %r2, 84; 
# | check:32'0     ~~~~~~~~~~~~~~~~~~~~~~~
# |            51:  .loc 1 4 1 // test.cu:4:1 
# | check:32'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            52:  st.param.b32 [func_retval0], %r3; 
# | check:32'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |            53:  ret; 
# | check:32'0     ~~~~~~
# |            54: $L__tmp3: 
# | check:32'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/192812


More information about the llvm-commits mailing list