[all-commits] [llvm/llvm-project] bf3784: [AArch64] Canonicalize X*(Y+1) or X*(1-Y) to madd/...

Andrew Wei via All-commits all-commits at lists.llvm.org
Mon Nov 8 00:53:15 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bf3784b882c413108ed73f12f5f00b0146e7fb09
      https://github.com/llvm/llvm-project/commit/bf3784b882c413108ed73f12f5f00b0146e7fb09
  Author: Andrew Wei <weiwei64 at huawei.com>
  Date:   2021-11-08 (Mon, 08 Nov 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/madd-combiner.ll

  Log Message:
  -----------
  [AArch64] Canonicalize X*(Y+1) or X*(1-Y) to madd/msub

Performing the rearrangement for add/sub and mul instructions to match the madd/msub pattern

Reviewed By: dmgreen, sdesmalen, david-arm

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




More information about the All-commits mailing list