[PATCH] D86371: [CodeGenPrepare][X86] Teach optimizeGatherScatterInst to turn a splat pointer into GEP with scalar base and 0 index

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 1 04:15:38 PDT 2020


RKSimon added a comment.

In D86371#2247925 <https://reviews.llvm.org/D86371#2247925>, @efriedma wrote:

> If the address is a splat, generating a gather/scatter seems a little weird.  I guess if the mask is non-trivial, there isn't any obvious way to rewrite it in target-independent IR. though.

Do we have any constant mask test cases?


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

https://reviews.llvm.org/D86371



More information about the llvm-commits mailing list