[FuzzMutate] InstModificationStrategy, add FastMath flags and exact flags to instruct...
authorPeter Rong <PeterRong96@gmail.com>
Thu, 8 Dec 2022 01:27:10 +0000 (17:27 -0800)
committerPeter Rong <PeterRong96@gmail.com>
Mon, 12 Dec 2022 23:22:13 +0000 (15:22 -0800)
commit80760e91746ec44b49fcfea4c44bf768b845c64d
treecddaf84c7d016763edfdbe0a90d5b88b6620eac7
parentbc277eb16b253ee4c6a2151ba5c1a20747526a47
[FuzzMutate] InstModificationStrategy, add FastMath flags and exact flags to instructions.

I think there are more attributes, flags we can add to `call`, functions declarations and global variables. Let's start with these two flags.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D139594
llvm/lib/FuzzMutate/IRMutator.cpp
llvm/unittests/FuzzMutate/StrategiesTest.cpp