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

Peter Rong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 30 14:16:56 PST 2022


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

bug fix. Should have same value for incoming edges from the same block. 
Using DenseMap to keep track of the value used for each incoming edge instead of SmallVector
Add a unit test to reflect this change.


Repository:
  rG LLVM Github Monorepo

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

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.479068.patch
Type: text/x-patch
Size: 6272 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221130/e4f62d70/attachment.bin>


More information about the llvm-commits mailing list