[llvm] [SandboxIR] Implement ReturnInst (PR #99784)
Sriraman Tallam via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 22 13:12:21 PDT 2024
================
@@ -540,6 +540,48 @@ void StoreInst::dump() const {
dump(dbgs());
dbgs() << "\n";
}
+#endif // NDEBUG
+
+Value *ReturnInst::create(Value *RetVal, Instruction *InsertBefore,
----------------
tmsri wrote:
Return type should be ReturnInst * to be consistent with definition and other create*Inst()
https://github.com/llvm/llvm-project/pull/99784
More information about the llvm-commits
mailing list