[all-commits] [llvm/llvm-project] fac186: [X86] Remove redundant and-not pattern code in X86...

SiliconA-Z via All-commits all-commits at lists.llvm.org
Sun Mar 8 16:29:18 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fac1866cdf58fba3f9ce93835c2dc79858676895
      https://github.com/llvm/llvm-project/commit/fac1866cdf58fba3f9ce93835c2dc79858676895
  Author: SiliconA-Z <gfunni234 at gmail.com>
  Date:   2026-03-08 (Sun, 08 Mar 2026)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/avx512-cmp.ll
    M llvm/test/CodeGen/X86/known-pow2.ll
    M llvm/test/CodeGen/X86/setcc-logic.ll

  Log Message:
  -----------
  [X86] Remove redundant and-not pattern code in X86 (#157687)

These transforms are now handled in DAGCombine, so enable
hasAndNotCompare for all scalar cases on X86, and remove the
platform-specific code that does the same thing.



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