ellishg wrote: > Hit an assertion in `ignoreOp` when testing the refactored code. > > ``` > Assertion failed: (OpIdx < I->getNumOperands() && "Invalid operand index"), > function ignoreOp, file GlobalMergeFunctions.cpp, line 129. > Stop reason: hit program assert > expr I->dump() > %6 = tail call ptr @objc_retain(ptr %5), !dbg !576 > > p I->getNumOperands() > > (unsigned int) 2 > p OpIdx > > (unsigned int) 4 > ```
Do we know why `OpIdx` is 4 here? This is confusing to me because it looks like there is only one argument, `%5`. https://github.com/llvm/llvm-project/pull/115750 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits