[all-commits] [llvm/llvm-project] 20f890: [ARM][test] Add new tests for (mul (add r, c0), c1)

Ben Shi via All-commits all-commits at lists.llvm.org
Tue Sep 7 00:44:05 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 20f890696f10c13342bc1806f4ac9abb63d3153f
      https://github.com/llvm/llvm-project/commit/20f890696f10c13342bc1806f4ac9abb63d3153f
  Author: Ben Shi <powerman1st at 163.com>
  Date:   2021-09-07 (Tue, 07 Sep 2021)

  Changed paths:
    A llvm/test/CodeGen/ARM/addimm-mulimm.ll

  Log Message:
  -----------
  [ARM][test] Add new tests for (mul (add r, c0), c1)

Reviewed By: RKSimon, dmgreen

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


  Commit: 63ca9371c7b4eb8fff01d998963cf901b658c7d4
      https://github.com/llvm/llvm-project/commit/63ca9371c7b4eb8fff01d998963cf901b658c7d4
  Author: Ben Shi <powerman1st at 163.com>
  Date:   2021-09-07 (Tue, 07 Sep 2021)

  Changed paths:
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    M llvm/lib/Target/ARM/ARMISelLowering.h
    M llvm/test/CodeGen/ARM/addimm-mulimm.ll
    M llvm/test/CodeGen/ARM/urem-seteq-illegal-types.ll
    M llvm/test/CodeGen/Thumb/urem-seteq-illegal-types.ll

  Log Message:
  -----------
  [ARM] Implement target hook function to decide folding (mul (add x, c1), c2)

Prevent the folding in DAGCombine if it leads to worse code.

Reviewed By: dmgreen

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


Compare: https://github.com/llvm/llvm-project/compare/131f7bac63b8...63ca9371c7b4


More information about the All-commits mailing list