[clang] [llvm] [X86][APX] Emit SetZUCC instead of legacy setcc when ZU is enabled (PR #173965)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 30 00:53:21 PST 2025
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 167509 tests passed
* 2974 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### LLVM
<details>
<summary>LLVM.CodeGen/X86/apx/setzucc.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/apx/setzucc.ll -mtriple=x86_64 -mattr=+zu,-prefer-setzucc | /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/apx/setzucc.ll --check-prefixes=CHECK,PREFER_NO_SETZUCC
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64 -mattr=+zu,-prefer-setzucc
# 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/apx/setzucc.ll --check-prefixes=CHECK,PREFER_NO_SETZUCC
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/apx/setzucc.ll:55:27: error: PREFER_NO_SETZUCC-NEXT: is not on the line after the previous match
# | ; PREFER_NO_SETZUCC-NEXT: xorl %edx, %edx
# | ^
# | <stdin>:56:2: note: 'next' match was here
# | xorl %edx, %edx
# | ^
# | <stdin>:54:17: note: previous match ended here
# | xorl %eax, %eax
# | ^
# | <stdin>:55:1: note: non-matching line after previous match is here
# | xorl %ecx, %ecx
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/apx/setzucc.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 51: .type flags_copy_lowering, at function
# | 52: flags_copy_lowering: # @flags_copy_lowering
# | 53: # %bb.0: # %bb
# | 54: xorl %eax, %eax
# | 55: xorl %ecx, %ecx
# | 56: xorl %edx, %edx
# | next:55 !~~~~~~~~~~~~~~ error: match on wrong line
# | 57: .p2align 4
# | 58: .LBB4_1: # %bb1
# | 59: # =>This Inner Loop Header: Depth=1
# | 60: addl %ecx, 0
# | 61: setb %cl
# | .
# | .
# | .
# | >>>>>>
# `-----------------------------
# 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/173965
More information about the cfe-commits
mailing list