[PATCH] D71919: [LoopVectorize] Disable single stride access predicates when gather loads are available.

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 12 10:48:27 PST 2020


dmgreen added a comment.

Yeah, thanks. The square case comes up quite a lot.

My intuition is that users are unlikely to call matrix multiply when they are multiplying a matrix and a vector (they would call mat-vect multiply). I may be wrong about how much that happens though. In other cases that are not matrix multiply, the stride of 1 may be more common, but it's hard to tell that without some profiling data.

We here can also just disable the -enable-mem-access-versioning option, which will suffice for our testing in the short term.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71919/new/

https://reviews.llvm.org/D71919





More information about the llvm-commits mailing list