[all-commits] [llvm/llvm-project] 75eb05: [AArch64] Add test case for pr55644. NFC

Craig Topper via All-commits all-commits at lists.llvm.org
Mon May 23 11:14:43 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 75eb0576debda4343fea35b1e2f01d8cbea12ab7
      https://github.com/llvm/llvm-project/commit/75eb0576debda4343fea35b1e2f01d8cbea12ab7
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-05-23 (Mon, 23 May 2022)

  Changed paths:
    A llvm/test/CodeGen/AArch64/pr55644.ll

  Log Message:
  -----------
  [AArch64] Add test case for pr55644. NFC


  Commit: 569d8945f311e76b25925ff4b4257734711d9e2f
      https://github.com/llvm/llvm-project/commit/569d8945f311e76b25925ff4b4257734711d9e2f
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-05-23 (Mon, 23 May 2022)

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

  Log Message:
  -----------
  [DAGCombiner][AArch64] Don't fold (smulo x, 2) -> (saddo x, x) if VT is i2.

If the VT is i2, then 2 is really -2.

Test has not been commited yet, but diff shows the change.

Fixes PR55644.

Differential Revision: https://reviews.llvm.org/D126213


Compare: https://github.com/llvm/llvm-project/compare/760298adc264...569d8945f311


More information about the All-commits mailing list