File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
llvm/unittests/Transforms/Vectorize Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -291,16 +291,15 @@ TEST_F(VPVerifierTest, NonHeaderPHIInHeader) {
291291 VPlan &Plan = getPlan ();
292292 VPValue *Zero = Plan.getOrAddLiveIn (ConstantInt::get (Type::getInt32Ty (C), 0 ));
293293 auto *CanIV = new VPCanonicalIVPHIRecipe (Zero, {});
294- VPInstruction *BranchOnCond =
295- new VPInstruction (VPInstruction::BranchOnCond, {CanIV});
294+ auto *BranchOnCond = new VPInstruction (VPInstruction::BranchOnCond, {CanIV});
296295
297296 VPBasicBlock *VPBB1 = Plan.getEntry ();
298- VPBasicBlock *VPBB2 = Plan.createVPBasicBlock (" " );
297+ VPBasicBlock *VPBB2 = Plan.createVPBasicBlock (" header " );
299298
300299 VPBB2->appendRecipe (CanIV);
301300
302301 PHINode *PHINode = PHINode::Create (Type::getInt32Ty (C), 2 );
303- VPIRPhi *IRPhi = new VPIRPhi (*PHINode);
302+ auto *IRPhi = new VPIRPhi (*PHINode);
304303 VPBB2->appendRecipe (IRPhi);
305304 VPBB2->appendRecipe (BranchOnCond);
306305
You can’t perform that action at this time.
0 commit comments