[PATCH] D76947: [SelectionDAGBuilder][CGP][X86] Move some of SDB's gather/scatter uniform base handling to CGP.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 15 17:41:41 PDT 2020


efriedma added a comment.

Maybe a weird question, but should we restrict this to masked gather/scatter operands?  It seems like this should be profitable for any vector GEP to avoid vector operations where possible.



================
Comment at: llvm/lib/CodeGen/CodeGenPrepare.cpp:5231
+  unsigned FinalIndex = Ops.size() - 1;
+  gep_type_iterator GTI = gep_type_begin(*GEP);
+
----------------
GTI is unused?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D76947





More information about the llvm-commits mailing list