[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:51 PDT 2026


github-actions[bot] wrote:

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

* 140263 tests passed
* 3729 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
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=x86_64-- -run-pass x86-fixup-bw-insts -verify-machineinstrs C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\X86\fixup-bw-eliminate-redundant-zext.mir -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\X86\fixup-bw-eliminate-redundant-zext.mir
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=x86_64-- -run-pass x86-fixup-bw-insts -verify-machineinstrs 'C:\_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: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_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
c:\_work\llvm-project\llvm-project\build\bin\llc.exe -mtriple=x86_64-- -run-pass x86-fixup-bw-insts -verify-machineinstrs -fixup-bw-eliminate-redundant-zext=0 C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\X86\fixup-bw-eliminate-redundant-zext.mir -o - | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\X86\fixup-bw-eliminate-redundant-zext.mir --check-prefix=DISABLED
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -mtriple=x86_64-- -run-pass x86-fixup-bw-insts -verify-machineinstrs -fixup-bw-eliminate-redundant-zext=0 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\X86\fixup-bw-eliminate-redundant-zext.mir' -o -
# .---command stderr------------
# | llc.exe: Unknown command line argument '-fixup-bw-eliminate-redundant-zext=0'.  Try: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe --help'
# | llc.exe: Did you mean '--ppc-eliminate-zeroext=0'?
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_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:  c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_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
c:\_work\llvm-project\llvm-project\build\bin\llc.exe < C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\X86\promote-assert-zext.ll -fixup-bw-eliminate-redundant-zext=0 | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\X86\promote-assert-zext.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe' -fixup-bw-eliminate-redundant-zext=0
# .---command stderr------------
# | llc.exe: Unknown command line argument '-fixup-bw-eliminate-redundant-zext=0'.  Try: 'c:\_work\llvm-project\llvm-project\build\bin\llc.exe --help'
# | llc.exe: Did you mean '--ppc-eliminate-zeroext=0'?
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\CodeGen\X86\promote-assert-zext.ll'
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_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