[PATCH] D138959: [FuzzMutate] New InsertPHINode strategy.

Peter Rong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 29 16:32:36 PST 2022


Peter created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
Peter requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

PHI Node can't be modeled like other instructions since its operand 
number depends on predecessors. So we have a stand alone strategy for it.
This commit can't be used now since `newSink` may break the module in 
the unit testing

Signed-off-by: Peter Rong <PeterRong96 at gmail.com>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138959

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138959.478751.patch
Type: text/x-patch
Size: 4898 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221130/66c12d1a/attachment.bin>


More information about the llvm-commits mailing list