Skip to content
Commit 005b2285 authored by Craig Topper's avatar Craig Topper
Browse files

[LoopVectorize][X86] Clamp interleave factor if we have a known constant trip...

[LoopVectorize][X86] Clamp interleave factor if we have a known constant trip count that is less than VF*interleave

If we know the trip count, we should make sure the interleave factor won't cause the vectorized loop to exceed it.

Improves one of the cases from PR42674

Differential Revision: https://reviews.llvm.org/D65896

llvm-svn: 368215
parent b80c4c82
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment