[PATCH] D44742: [SLP] Stop counting cost of gather sequences with multiple uses

Matthew Simpson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 21 09:34:18 PDT 2018


mssimpso added a comment.

Here is the SLP tree of the added test case. The cost of the gather (%a, %b, %c, %d) is added twice, once per use, before this patch.

F5905439: gather_multiple_use.png <https://reviews.llvm.org/F5905439>


Repository:
  rL LLVM

https://reviews.llvm.org/D44742





More information about the llvm-commits mailing list