Unverified Commit df856e49 authored by Alexey Bataev's avatar Alexey Bataev Committed by GitHub
Browse files

[SLP]Add GEP cost estimation for gathered loads.

When doing estimation for vectorization of gathered loads, need to
estimate the cost of the pointer (vectorization), as it is done for the
actual vectorized loads. Otherwise may be too optimistic about the cost
of the gathered loads.

Reviewers: preames

Reviewed By: preames

Pull Request: https://github.com/llvm/llvm-project/pull/80867
parent af6656c3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment