[PATCH] D41766: [MachineCombiner] Add check for optimal pattern order.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 30 09:40:05 PST 2018


fhahn updated this revision to Diff 131989.
fhahn added a comment.

Thanks Gerolf! The main reason for adding this is that @mssimpso pointed out in https://reviews.llvm.org/D41587 that some of the recently added patterns were not optimally ordered for at least Falkor and I wanted to give us a better chance at detecting sub-optimal orderings automatically.


https://reviews.llvm.org/D41766

Files:
  lib/CodeGen/MachineCombiner.cpp
  test/CodeGen/AArch64/aarch64-combine-fmul-fsub.mir
  test/CodeGen/AArch64/machine-combiner.ll
  test/CodeGen/AArch64/machine-combiner.mir
  test/CodeGen/X86/machine-combiner-int-vec.ll
  test/CodeGen/X86/machine-combiner-int.ll
  test/CodeGen/X86/machine-combiner.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41766.131989.patch
Type: text/x-patch
Size: 13695 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180130/6b69a78e/attachment.bin>


More information about the llvm-commits mailing list