================
@@ -180,6 +206,19 @@ bool User::classof(const Value *From) {
}
}
+void User::setOperand(unsigned OperandIdx, Value *Operand) {
+ if (!isa<llvm::User>(Val))
----------------
vporpo wrote:
Yes, let's keep it.
https://github.com/llvm/llvm-project/pull/98410