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

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 30 11:20:07 PST 2022


arsenm added inline comments.


================
Comment at: llvm/unittests/FuzzMutate/StrategiesTest.cpp:349
+    Mutator->mutateModule(*M, RandInt(mt), Source.size(), Source.size() + 1024);
+    EXPECT_FALSE(verifyModule(*M, &errs()));
+  }
----------------
Probably should be assert_false. Otherwise you're proceeding to mutate an invalid module


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D138959



More information about the llvm-commits mailing list