This is an archive of the discontinued LLVM Phabricator instance.

Simple attempt at adding InstCombine::visitFNeg(...)
ClosedPublic

Authored by cameron.mcinally on May 10 2019, 6:29 AM.

Details

Summary

This is essentially the same direction as D61693, but might be easier to review...

Create InstCombine::visitFNeg(...) with a call to InstSimplify to do the heavy lifting. More transforms will need to be copied over from InstCombine::visitFSub(...) in future patches.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptMay 10 2019, 6:29 AM
This revision is now accepted and ready to land.May 10 2019, 12:33 PM
This revision was automatically updated to reflect the committed changes.