[llvm] [VPlan] Add VPInst::getNumOperandsForOpcode, use to verify in ctor (NFC) (PR #142284)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 24 04:37:08 PDT 2025
================
@@ -722,7 +724,7 @@ TEST_F(VPBasicBlockTest, print) {
VPBB1->setName("bb1");
VPInstruction *I4 = new VPInstruction(Instruction::Mul, {I2, I1});
- VPInstruction *I5 = new VPInstruction(Instruction::Ret, {I4});
+ VPInstruction *I5 = new VPInstruction(Instruction::Br, {I4});
----------------
fhahn wrote:
Yep, we currently never create VPInstruction for `ret` instructions in LV, so it seemed better to use `FNeg` as used above.
https://github.com/llvm/llvm-project/pull/142284
More information about the llvm-commits
mailing list