[PATCH] D46827: [VPlan] Add VPInstruction to VPRecipe transformation.
    Florian Hahn via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Jun 12 08:39:15 PDT 2018
    
    
  
fhahn added inline comments.
================
Comment at: lib/Transforms/Vectorize/VPlanHCFGTransforms.cpp:80
+    // care of creating instructions in entry and exit blocks.
+    if (TopRegion && (OriginalVPBB == TopRegion->getEntry() ||
+                      OriginalVPBB == TopRegion->getExit()))
----------------
dcaballe wrote:
> Please, remove TopRegion check.
Done. I think we still need a check to not create recipes for the pre-header and exit blocks?
https://reviews.llvm.org/D46827
    
    
More information about the llvm-commits
mailing list