This patch fixes bug - https://bugs.llvm.org/show_bug.cgi?id=32533
Bug description:
In VectorBlockGenerator::copyStmt() the argument Stmt does not satisfy the assertion Stmt.isBasicBlock() - which from its definition - Returns true if the statement represents a single basic block.
If Stmt->isRegionStmt(), these are not used. createUser does the same work again.