Displaying 2 results from an estimated 2 matches for "situation1".
Did you mean:
situations
2020 May 15
2
Issues with new Attributor (replaceAllUses fails with type mismatch)
...-------- Failing location
OldCB.eraseFromParent();
}
Failure symptom:
Assertion failed: New->getType() == getType() && "replaceAllUses of value with new value of different type!"
Snaps for IR from failing llvm IR and debug info while debugging is as follows:
Sample situation1:
Original code in IR -- %133 = call i32 (i32, ...) bitcast (void (i32)* @set_yydebug to i32 (i32, ...)*)(i32 1) #21
Attribute info ---- attributes #21 = { nounwind }
Debug info:
OldCB-------------------- %133 = call i32 (i32, ...) bitcast (void (i32)* @0 to i32 (i32, ...)*...
2020 May 15
2
Issues with new Attributor (replaceAllUses fails with type mismatch)
...eraseFromParent();
> }
>
> Failure symptom:
> Assertion failed: New->getType() == getType() && "replaceAllUses of value with new value of different type!"
>
> Snaps for IR from failing llvm IR and debug info while debugging is as follows:
>
> Sample situation1:
> Original code in IR -- %133 = call i32 (i32, ...) bitcast (void (i32)* @set_yydebug to i32 (i32, ...)*)(i32 1) #21
> Attribute info ---- attributes #21 = { nounwind }
>
> Debug info:
> OldCB-------------------- %133 = call i32 (i32, ...) bitcast (void (i32...