[all-commits] [llvm/llvm-project] 3c9429: [X86] Remove redundant test after setzucc (#129506)

Phoebe Wang via All-commits all-commits at lists.llvm.org
Mon Mar 3 05:08:21 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c9429f133e8624e572bb50d11348494a219a1a6
      https://github.com/llvm/llvm-project/commit/3c9429f133e8624e572bb50d11348494a219a1a6
  Author: Phoebe Wang <phoebe.wang at intel.com>
  Date:   2025-03-03 (Mon, 03 Mar 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86FlagsCopyLowering.cpp
    M llvm/test/CodeGen/X86/apx/setzucc.ll

  Log Message:
  -----------
  [X86] Remove redundant test after setzucc (#129506)

Patch #96594 substitutes setcc + zext pair with setzucc, but it results
in redundant test because X86FlagsCopyLowering doesn't recognize it.

This patch removes redundant test by reverting setzucc to setcc
(optimized) + zext.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list