[all-commits] [llvm/llvm-project] ec78f0: [X86] combineAndNotOrIntoAndNotAnd - don't attempt...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Oct 15 08:55:45 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ec78f0da0e9b1b8e2b2323e434ea742e272dd913
      https://github.com/llvm/llvm-project/commit/ec78f0da0e9b1b8e2b2323e434ea742e272dd913
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-10-15 (Tue, 15 Oct 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/pr108731.ll

  Log Message:
  -----------
  [X86] combineAndNotOrIntoAndNotAnd - don't attempt with constant operands

Don't fold AND(X,OR(NOT(Z),C)) -> AND(X,NOT(AND(Z,C'))) as DAGCombiner will invert it back again.

Fixes #112347



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