[llvm] [X86] Remove zero extends made redundant by the byte/word fixup (PR #217923)

via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 24 02:16:52 PDT 2026


github-actions[bot] wrote:

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

* 181157 tests passed
* 3715 tests skipped
* 2 tests failed

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

### LLVM
<details>
<summary>LLVM.CodeGen/X86/fixup-bw-eliminate-redundant-zext.mir</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-- -run-pass x86-fixup-bw-insts -verify-machineinstrs /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/fixup-bw-eliminate-redundant-zext.mir -o - | /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/fixup-bw-eliminate-redundant-zext.mir
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-- -run-pass x86-fixup-bw-insts -verify-machineinstrs /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/fixup-bw-eliminate-redundant-zext.mir -o -
# 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/fixup-bw-eliminate-redundant-zext.mir
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-- -run-pass x86-fixup-bw-insts -verify-machineinstrs -fixup-bw-eliminate-redundant-zext=0 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/fixup-bw-eliminate-redundant-zext.mir -o - | /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/fixup-bw-eliminate-redundant-zext.mir --check-prefix=DISABLED
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -mtriple=x86_64-- -run-pass x86-fixup-bw-insts -verify-machineinstrs -fixup-bw-eliminate-redundant-zext=0 /home/gha/actions-runner/_work/llvm-project/llvm-project/llvm/test/CodeGen/X86/fixup-bw-eliminate-redundant-zext.mir -o -
# .---command stderr------------
# | llc: Unknown command line argument '-fixup-bw-eliminate-redundant-zext=0'.  Try: '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --help'
# | llc: Did you mean '--ppc-eliminate-zeroext=0'?
# `-----------------------------
# error: command failed with exit status: 1
# 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/fixup-bw-eliminate-redundant-zext.mir --check-prefix=DISABLED
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /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/fixup-bw-eliminate-redundant-zext.mir --check-prefix=DISABLED
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>
<details>
<summary>LLVM.CodeGen/X86/promote-assert-zext.ll</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
/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/promote-assert-zext.ll -fixup-bw-eliminate-redundant-zext=0 | /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/promote-assert-zext.ll
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc -fixup-bw-eliminate-redundant-zext=0
# .---command stderr------------
# | llc: Unknown command line argument '-fixup-bw-eliminate-redundant-zext=0'.  Try: '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llc --help'
# | llc: Did you mean '--ppc-eliminate-zeroext=0'?
# `-----------------------------
# error: command failed with exit status: 1
# 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/promote-assert-zext.ll
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  /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/promote-assert-zext.ll
# `-----------------------------
# error: command failed with exit status: 2

--

```
</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/217923


More information about the llvm-commits mailing list