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

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 31 12:23:02 PDT 2020


efriedma added a comment.

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.

No testcases for gather?


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

https://reviews.llvm.org/D86371



More information about the llvm-commits mailing list