PHI Node can't be modeled like other instructions since its operand
number depends on predecessors. So we have a stand alone strategy for it.
Signed-off-by: Peter Rong <PeterRong96@gmail.com>
Paths
| Differential D138959
[FuzzMutate] New InsertPHINode strategy. ClosedPublic Authored by Peter on Nov 29 2022, 4:32 PM.
Details Summary PHI Node can't be modeled like other instructions since its operand Signed-off-by: Peter Rong <PeterRong96@gmail.com>
Diff Detail
Unit TestsFailed Event Timeline
arsenm added inline comments. This revision now requires changes to proceed.Nov 30 2022, 11:45 AM Comment Actions bug fix. Should have same value for incoming edges from the same block. This revision is now accepted and ready to land.Nov 30 2022, 3:04 PM Closed by commit rG4be0873471e4: [FuzzMutate] New InsertPHINode strategy. (authored by Peter). · Explain WhyNov 30 2022, 3:27 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 479038 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
|
s/Prev/Pred