[llvm] [DAGCombiner] Fold smax(X, -1) to or(X, ashr(X, BW-1)) for code size (PR #206242)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Jun 28 01:50:19 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 176260 tests passed
* 3551 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/X86/probe-stack-eflags.ll</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc < /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/probe-stack-eflags.ll | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/probe-stack-eflags.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc
# 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/X86/probe-stack-eflags.ll
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/probe-stack-eflags.ll:81:15: error: CHECK-NEXT: is not on the line after the previous match
# | ; CHECK-NEXT: pushq %rbp
# | ^
# | <stdin>:46:2: note: 'next' match was here
# | pushq %rbp
# | ^
# | <stdin>:42:18: note: previous match ended here
# | # %bb.0: # %entry
# | ^
# | <stdin>:43:1: note: non-matching line after previous match is here
# | testq %rdi, %rdi
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/probe-stack-eflags.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 37: .globl CSE_eflags_live # -- Begin function CSE_eflags_live
# | 38: .prefalign 4, .Lfunc_end1, nop
# | 39: .type CSE_eflags_live, at function
# | 40: CSE_eflags_live: # @CSE_eflags_live
# | 41: .cfi_startproc
# | 42: # %bb.0: # %entry
# | next:81'0 { search range start (exclusive)
# | 43: testq %rdi, %rdi
# | 44: je .LBB1_2
# | 45: # %bb.1: # %if.end6
# | 46: pushq %rbp
# | next:81'1 !~~~~~~~~~ error: match on wrong line
# | 47: .cfi_def_cfa_offset 16
# | 48: .cfi_offset %rbp, -16
# | 49: movq %rsp, %rbp
# | 50: .cfi_def_cfa_register %rbp
# | 51: movq %rdi, %rax
# | .
# | .
# | .
# | 63: retq
# | 64: .Lfunc_end1:
# | 65: .size CSE_eflags_live, .Lfunc_end1-CSE_eflags_live
# | 66: .cfi_endproc
# | 67: # -- End function
# | 68: .section ".note.GNU-stack","", at progbits
# | next:81'2 } 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/206242
More information about the llvm-commits
mailing list