We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70fe4ad commit c572c17Copy full SHA for c572c17
llvm/unittests/Transforms/Vectorize/VPlanTest.cpp
@@ -732,8 +732,9 @@ TEST(VPBasicBlockTest, print) {
732
733
LLVMContext C;
734
auto *ScalarHeader = BasicBlock::Create(C, "");
735
- VPIRBasicBlock *ScalarHeaderVPBB = new VPIRBasicBlock(ScalarHeader);
736
- VPlan Plan(VPBB0, TC, VPBB1, ScalarHeaderVPBB);
+ // FIXME: This looks wrong.
+ auto ScalarHeaderVPBB = std::make_unique<VPIRBasicBlock>(ScalarHeader);
737
+ VPlan Plan(VPBB0, TC, VPBB1, ScalarHeaderVPBB.get());
738
std::string FullDump;
739
raw_string_ostream OS(FullDump);
740
Plan.printDOT(OS);
0 commit comments