[all-commits] [llvm/llvm-project] 25b702: [DAG] visitXOR - add missing comment for or/and co...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Oct 16 03:23:24 PDT 2024


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

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

  Log Message:
  -----------
  [DAG] visitXOR - add missing comment for or/and constant setcc demorgan fold. NFC.

Noticed while triaging #112347 which is using this fold - we described the or->and fold, but not the equivalent and->or which is also handled.


  Commit: 9ee9e0e3b2323e7cca00a5223ace5e25e7ed1c1f
      https://github.com/llvm/llvm-project/commit/9ee9e0e3b2323e7cca00a5223ace5e25e7ed1c1f
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-10-16 (Wed, 16 Oct 2024)

  Changed paths:
    M llvm/test/CodeGen/X86/pr108731.ll

  Log Message:
  -----------
  [X86] Extend ANDNOT fold tests to cover all legal scalars and 256-bit vectors

Add tests to check what happens on i8/i16/i32 scalars (ANDN only has i32/i64 variants)


Compare: https://github.com/llvm/llvm-project/compare/467a9bde06e6...9ee9e0e3b232

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