[PATCH] D124564: [MachineCombiner, AArch64] Add a new pattern A-(B+C) => (A-B)-C to reduce latency

Guozhi Wei via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 22 15:31:00 PDT 2022


Carrot updated this revision to Diff 439181.
Carrot edited the summary of this revision.
Carrot added a reviewer: dmgreen.
Carrot added a comment.

The improvement of cost model has been split out. Update this patch to contain the new pattern only.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124564/new/

https://reviews.llvm.org/D124564

Files:
  llvm/include/llvm/CodeGen/MachineCombinerPattern.h
  llvm/lib/CodeGen/MachineCombiner.cpp
  llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
  llvm/test/CodeGen/AArch64/machine-combiner-subadd.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124564.439181.patch
Type: text/x-patch
Size: 8487 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220622/f9fa8925/attachment.bin>


More information about the llvm-commits mailing list