[llvm-branch-commits] [llvm] [CGData] Refactor Global Merge Functions (PR #115750)

Zhaoxuan Jiang via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Nov 11 22:51:18 PST 2024


nocchijiang 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
```

https://github.com/llvm/llvm-project/pull/115750


More information about the llvm-branch-commits mailing list