[NFC] Test case intended to cover SLP cost for chain with masked gather loads.
authorValery N Dmitriev <valery.n.dmitriev@intel.com>
Fri, 30 Dec 2022 19:07:04 +0000 (11:07 -0800)
committerValery N Dmitriev <valery.n.dmitriev@intel.com>
Fri, 30 Dec 2022 20:27:34 +0000 (12:27 -0800)
commit6bb4b2d00221658b3fac421957e2905a13579c68
tree454def5f73781bd486c985a66cf27b7998c6e6cc
parentb074b356c982a9139cf9dfd1167dd957ea5cc8a1
[NFC] Test case intended to cover SLP cost for chain with masked gather loads.

SLP produces two gather loads (one feeds another).
For the first set of scalar loads GEP indices are all constant.
The result of the second load is then fed into reduction (as a seed).

Differential Revision: https://reviews.llvm.org/D140785
llvm/test/Transforms/SLPVectorizer/X86/remark_gather-load-redux-cost.ll [new file with mode: 0644]