[llvm] [VPlan] Move splitAt test to unit test. NFC (PR #164636)
Ramkumar Ramachandra via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 6 06:27:40 PST 2025
================
@@ -704,6 +704,18 @@ TEST_F(VPBasicBlockTest, reassociateBlocks) {
}
}
+TEST_F(VPBasicBlockTest, splitAtEnd) {
+ VPlan &Plan = getPlan();
+ VPInstruction *I1 = new VPInstruction(0, {});
+ VPBasicBlock *VPBB1 = Plan.createVPBasicBlock("VPBB1", I1);
----------------
artagnon wrote:
```suggestion
VPInstruction *VPI = new VPInstruction(0, {});
VPBasicBlock *VPBB = Plan.createVPBasicBlock("VPBB1", I1);
```
https://github.com/llvm/llvm-project/pull/164636
More information about the llvm-commits
mailing list