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

Peter Rong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 15 01:23:13 PDT 2023


Peter updated this revision to Diff 505391.
Peter added a comment.

Fix a bug when we call Initializer of a GV, it may not have one.

We use it's type to construct a UndefValue now.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139907

Files:
  llvm/include/llvm/FuzzMutate/RandomIRBuilder.h
  llvm/lib/FuzzMutate/RandomIRBuilder.cpp
  llvm/unittests/FuzzMutate/RandomIRBuilderTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139907.505391.patch
Type: text/x-patch
Size: 23618 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230315/92686589/attachment.bin>


More information about the llvm-commits mailing list