diff options
author | Florian Hahn <flo@fhahn.com> | 2021-01-23 15:28:57 +0000 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2021-01-23 19:05:20 +0000 |
commit | 166d40f2ed3db1ddd2868b23d496b4e299d99533 (patch) | |
tree | 31fea4547c0184d6539d1c5da63286c08f6233d8 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | 3b9677e1eced0eafc17bdf3f6a41f1fd7db9f120 (diff) | |
download | llvm-166d40f2ed3db1ddd2868b23d496b4e299d99533.zip llvm-166d40f2ed3db1ddd2868b23d496b4e299d99533.tar.gz llvm-166d40f2ed3db1ddd2868b23d496b4e299d99533.tar.bz2 |
[FuzzMutate] Add mutator to modify instruction flags.
This patch adds a new InstModificationIRStrategy to mutate flags/options
for instructions. For example, it may add or remove nuw/nsw flags from
add, mul, sub, shl instructions or change the predicate for icmp
instructions.
Subtle changes such as those mentioned above should lead to a more
interesting range of inputs. The presence or absence of overflow flags
can expose subtle bugs, for example.
Reviewed By: bogner
Differential Revision: https://reviews.llvm.org/D94905
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions