[all-commits] [llvm/llvm-project] 095bea: [AArch64] Implement target hook function to decide...

Ben Shi via All-commits all-commits at lists.llvm.org
Fri Sep 3 16:25:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 095bea23d048672b0ad785c93263442694a160b9
      https://github.com/llvm/llvm-project/commit/095bea23d048672b0ad785c93263442694a160b9
  Author: Ben Shi <powerman1st at 163.com>
  Date:   2021-09-04 (Sat, 04 Sep 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.h
    M llvm/test/CodeGen/AArch64/addimm-mulimm.ll
    M llvm/test/CodeGen/AArch64/urem-seteq-nonzero.ll

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

Prevent the folding if it leads to worse code.

Reviewed By: dmgreen

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




More information about the All-commits mailing list