[PATCH] D64142: [SLP] try to create vector loads from bitcasted scalar pointers

Vasileios Porpodas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 3 12:11:12 PDT 2019


vporpo added a comment.

Thanks for sharing the example.

Isn't this something that should be pattern-matched in instcombine/codegen and not in SLP? 
What I mean is that if we have multiple of these loads, then this transformation should obviously be performed by the vectorizer. But if we only have one scalar load, then it looks a bit odd to do it in SLP.


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

https://reviews.llvm.org/D64142





More information about the llvm-commits mailing list