[PATCH] D33435: [SelectionDAG] reset NewNodesMustHaveLegalTypes flag between basic blocks

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 23 07:06:29 PDT 2017


RKSimon added inline comments.


================
Comment at: lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:639
   // nodes for this block.
+  CurDAG->NewNodesMustHaveLegalTypes = false;
   for (BasicBlock::const_iterator I = Begin; I != End && !SDB->HasTailCall; ++I) {
----------------
Move to the top and comment this properly.


https://reviews.llvm.org/D33435





More information about the llvm-commits mailing list