[PATCH] D19775: getelementptr instruction, support index vector of EVT .

Elena Demikhovsky via llvm-commits llvm-commits at lists.llvm.org
Sun May 1 03:17:52 PDT 2016


delena added inline comments.

================
Comment at: lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:3249
@@ -3249,1 +3248,3 @@
+    LLVMContext &Context = *DAG.getContext();
+    EVT VT = EVT::getVectorVT(Context, N.getValueType().getSimpleVT(), VectorWidth);
     SmallVector<SDValue, 16> Ops(VectorWidth, N);
----------------
Is VT of N always simple?


Repository:
  rL LLVM

http://reviews.llvm.org/D19775





More information about the llvm-commits mailing list