mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 05:22:04 +00:00
IR: Add test for handleChangedOperand() recursion
Turns out this can happen. Remove the `FIXME` and add a testcase that crashes without the extra logic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225657 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -537,8 +537,6 @@ void GenericMDNode::handleChangedOperand(void *Ref, Metadata *New) {
|
||||
if (InRAUW) {
|
||||
// We just hit a recursion due to RAUW. Set the operand and move on, since
|
||||
// we're about to be deleted.
|
||||
//
|
||||
// FIXME: Can this cycle really happen?
|
||||
setOperand(Op, New);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user