[PATCH] D71442: [X86] Check if source elements are not structures before using a uniform base for the Gather/Scatter intrinsic.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 12 19:37:37 PST 2019


craig.topper added inline comments.


================
Comment at: llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:4371
+
+    switch (ElemType->getTypeID()) {
+    case Type::ArrayTyID:
----------------
The normal way to do this is to use gep_type_iterator in the loop as well and increment it as you go through the loop.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71442





More information about the llvm-commits mailing list