[PATCH] D138339: [FuzzMutate] New strategy `ShuffleBlockStrategy`

Peter Rong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 18 16:17:16 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.

`ShuffleBlockStrategy` will shuffle the instructions in a basic block without breaking the dependency of instructions.
It is implemented as a topological sort, only we randomly select instructions with no dependency.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138339

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138339.476628.patch
Type: text/x-patch
Size: 6644 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221119/9328a418/attachment.bin>


More information about the llvm-commits mailing list