This is an archive of the discontinued LLVM Phabricator instance.

[FuzzMutate] Avoid using swifterror as a source operand
ClosedPublic

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

Details

Summary

When transforming arbitrary llvm ir code we may encounter swifterror operands with rather restricted semantics. In this change I simply drop such operands from possible source candidates.

Diff Detail

Repository
rL LLVM

Event Timeline

igor-laevsky created this revision.Dec 12 2017, 3:34 AM

Hi. Any comments here?

Hi. Slight ping on this?

bogner accepted this revision.Jan 9 2018, 4:33 PM

I don't really like how specific of a special case this is, but I guess that's more of a problem with swifterror itself than with this pass. LGTM.

This revision is now accepted and ready to land.Jan 9 2018, 4:33 PM
This revision was automatically updated to reflect the committed changes.