[all-commits] [llvm/llvm-project] 7fbdad: [AArch64][X86] xor.ll - fix vec_add_of_not_with_un...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Apr 19 05:48:09 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7fbdadb68e259079d23165ecb94e2893a3823576
      https://github.com/llvm/llvm-project/commit/7fbdadb68e259079d23165ecb94e2893a3823576
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M llvm/test/CodeGen/AArch64/xor.ll
    M llvm/test/CodeGen/X86/xor.ll

  Log Message:
  -----------
  [AArch64][X86] xor.ll - fix vec_add_of_not_with_undef_decrement copy+pasta typo

This was copied from vec_add_of_not_with_undef instead of vec_add_of_not_decrement - replacing the second sub with an add


  Commit: 2e68ba99def5b07f4c6c53627baf076c5c924979
      https://github.com/llvm/llvm-project/commit/2e68ba99def5b07f4c6c53627baf076c5c924979
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/AArch64/xor.ll
    M llvm/test/CodeGen/X86/xor.ll

  Log Message:
  -----------
  [DAG] visitADDLike - update "(x - y) + -1  ->  add (xor y, -1), x" fold to accept UNDEF in a splat vector of -1

Make sure we use getNOT instead of reusing the allones (with undefs) vector


Compare: https://github.com/llvm/llvm-project/compare/ae9a5b07e0dc...2e68ba99def5

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