This is an archive of the discontinued LLVM Phabricator instance.

[FuzzMutate] Avoid zero sized aggregates
ClosedPublic

Authored by igor-laevsky on Dec 12 2017, 4:34 AM.

Details

Summary

insertvalue/extractvalue instructions expect aggregate index to be in bounds. There is no way we can generate valid index for the zero sized aggregate. This changes excludes them from the set of available sources.

Diff Detail

Repository
rL LLVM

Event Timeline

igor-laevsky created this revision.Dec 12 2017, 4:34 AM
bogner accepted this revision.Dec 12 2017, 3:23 PM
This revision is now accepted and ready to land.Dec 12 2017, 3:23 PM
This revision was automatically updated to reflect the committed changes.