[llvm] [SandboxIR] Add setOperand() and RAUW,RUWIf,RUOW (PR #98410)
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 11 11:13:49 PDT 2024
================
@@ -180,6 +206,19 @@ bool User::classof(const Value *From) {
}
}
+void User::setOperand(unsigned OperandIdx, Value *Operand) {
+ if (!isa<llvm::User>(Val))
----------------
aeubanks wrote:
`assert(isa<llvm::User>(Val) && "No operands!");`
https://github.com/llvm/llvm-project/pull/98410
More information about the llvm-commits
mailing list