[llvm] [SandboxIR] Add setOperand() and RAUW,RUWIf,RUOW (PR #98410)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 11 11:17:15 PDT 2024


================
@@ -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


More information about the llvm-commits mailing list