[PATCH] D40055: [SelectionDAG][X86] Explicitly store the scale in the gather/scatter ISD nodes

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 9 03:50:50 PST 2018


RKSimon added inline comments.


================
Comment at: lib/CodeGen/SelectionDAG/SelectionDAG.cpp:6234
          "Vector width mismatch between index and data");
 
   CSEMap.InsertNode(N, IP);
----------------
Should we assert that Scale op is a positive (pow2?) constant?


https://reviews.llvm.org/D40055





More information about the llvm-commits mailing list