[PATCH] D42412: [FuzzMutate] Inst deleter doesn't work with PhiNodes

Igor Laevsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 23 03:24:05 PST 2018


igor-laevsky created this revision.
igor-laevsky added a reviewer: bogner.

Currently InstDeleter is going to crash when trying to delete phi node. I figured we might as well just restrict this transformation to avoid unnecessary crashes during continuous runs. I also restricted removal of couple of other instruction which InstDeleter will probably fail on.


https://reviews.llvm.org/D42412

Files:
  lib/FuzzMutate/IRMutator.cpp
  unittests/FuzzMutate/StrategiesTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42412.131027.patch
Type: text/x-patch
Size: 3118 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180123/51942560/attachment.bin>


More information about the llvm-commits mailing list