[PATCH] D78608: [llvm] [CodeGen] Fixed vector halving bug for masked load

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 21 22:40:42 PDT 2020


craig.topper added a comment.

I'm concerned that there might be a way to get HiMemVT to contain 0 elements. I think v17i32 would trigger it. We'd widen to v32i32, then split to v16i32 which will have a memvt of v1i32 and v16i32. Then we'll split the v16i32 pieces. And now we'll try to split that v1i32 memory vt.



================
Comment at: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:9468
+std::pair<EVT, EVT>
+SelectionDAG::GetDependentSplitDestVTs(const EVT &VT, const EVT &LoVT,
+                                       const EVT &HiVT) const {
----------------
EVTs should be passed by value.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78608





More information about the llvm-commits mailing list