[all-commits] [llvm/llvm-project] 7afdc6: [DAG] Fix typo in i64/i128 abdu/abds tests

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Sep 4 03:59:47 PDT 2024


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

  Changed paths:
    M llvm/test/CodeGen/AArch64/abds-neg.ll
    M llvm/test/CodeGen/AArch64/abds.ll
    M llvm/test/CodeGen/AArch64/abdu-neg.ll
    M llvm/test/CodeGen/AArch64/abdu.ll
    M llvm/test/CodeGen/RISCV/abds-neg.ll
    M llvm/test/CodeGen/RISCV/abds.ll
    M llvm/test/CodeGen/RISCV/abdu-neg.ll
    M llvm/test/CodeGen/RISCV/abdu.ll
    M llvm/test/CodeGen/X86/abds-neg.ll
    M llvm/test/CodeGen/X86/abds.ll
    M llvm/test/CodeGen/X86/abdu-neg.ll
    M llvm/test/CodeGen/X86/abdu.ll

  Log Message:
  -----------
  [DAG] Fix typo in i64/i128 abdu/abds tests

I'd incorrectly swapped the operands in some of the "cmp" test patterns when I changed the condition code


  Commit: b25b9a7d6c872e42121aa024f362fae0b15dd72c
      https://github.com/llvm/llvm-project/commit/b25b9a7d6c872e42121aa024f362fae0b15dd72c
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-09-04 (Wed, 04 Sep 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/X86/abdu-neg.ll
    M llvm/test/CodeGen/X86/abdu.ll

  Log Message:
  -----------
  [DAG] visitSELECT - add "select usubo(x, y).overflow, (sub y, x), (usubo x, y) -> abdu(x, y)" fold (and neg equivalent)

Handle cases where CGP has merged the CMP+SUB into a USUBO node - improves a few outstanding niggles from #100810


Compare: https://github.com/llvm/llvm-project/compare/cd46829e547d...b25b9a7d6c87

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