[PATCH] D139907: [FuzzMutate] RandomIRBuilder has more source and sink type now.

Peter Rong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 13 22:00:00 PST 2022


Peter marked an inline comment as done.
Peter added inline comments.


================
Comment at: llvm/lib/FuzzMutate/RandomIRBuilder.cpp:176
+          return LoadGV;
+        } else {
+          LoadGV->eraseFromParent();
----------------
Peter wrote:
> arsenm wrote:
> > No else after return
> Do you mean we don't need to remove the newly created Global Variable, even if we didn't use it? I am worried the random module will be filled with them pretty soon...
nvm, thanks for pointing out.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139907/new/

https://reviews.llvm.org/D139907



More information about the llvm-commits mailing list