This is an archive of the discontinued LLVM Phabricator instance.

[FuzzMutate] Update InstModifierStrategy
ClosedPublic

Authored by Peter on Nov 17 2022, 10:47 PM.

Details

Summary

We can randomly switch two operands of an instruction now.
Also add more comments to mutator.

Diff Detail

Event Timeline

Peter created this revision.Nov 17 2022, 10:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 17 2022, 10:47 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
Peter requested review of this revision.Nov 17 2022, 10:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 17 2022, 10:47 PM
Peter edited the summary of this revision. (Show Details)Nov 17 2022, 10:50 PM
Peter updated this revision to Diff 476357.Nov 17 2022, 11:49 PM
Peter edited the summary of this revision. (Show Details)

format

Peter updated this revision to Diff 476359.Nov 17 2022, 11:51 PM

diff with upstream main

Peter updated this revision to Diff 476517.Nov 18 2022, 9:59 AM

rebase to upstream main. Was based on a corrupted commit

arsenm added a subscriber: arsenm.Nov 18 2022, 10:17 AM
arsenm added inline comments.
llvm/lib/FuzzMutate/IRMutator.cpp
165–167

These clang-format changes and comment changes should be separate from the functionality change

Peter added inline comments.Nov 18 2022, 10:20 AM
llvm/lib/FuzzMutate/IRMutator.cpp
165–167

Can we submit only format changes? If so I will push one to upstream.

Peter updated this revision to Diff 476533.Nov 18 2022, 11:11 AM

rebase to remove comment changes

Peter marked an inline comment as done.Nov 18 2022, 11:11 AM
Peter updated this revision to Diff 476607.Nov 18 2022, 2:49 PM

update test so windows tests pass

arsenm accepted this revision.Nov 18 2022, 2:54 PM
This revision is now accepted and ready to land.Nov 18 2022, 2:54 PM
Peter closed this revision.Nov 18 2022, 4:29 PM