[PATCH] D50374: [SelectionDAG] When splitting scatter nodes during DAGCombine, create a serial chain dependency.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 7 00:16:59 PDT 2018


craig.topper created this revision.
craig.topper added reviewers: RKSimon, delena, spatel, zvi.

Scatter could have multiple identical indices. We need to maintain sequential order. We get this right in LegalizeVectorTypes, but not in this code.


Repository:
  rL LLVM

https://reviews.llvm.org/D50374

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  test/CodeGen/X86/masked_gather_scatter.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50374.159457.patch
Type: text/x-patch
Size: 4704 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180807/54116547/attachment.bin>


More information about the llvm-commits mailing list