This is an archive of the discontinued LLVM Phabricator instance.

[Matrix] Propagate shape information through fneg
ClosedPublic

Authored by thegameg on Jan 22 2021, 11:21 AM.

Details

Summary

Similar to binary operators like fadd/fmul/fsub, propagate shape info through unary operators (fneg is the only one?).

Diff Detail

Event Timeline

thegameg created this revision.Jan 22 2021, 11:21 AM
thegameg requested review of this revision.Jan 22 2021, 11:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 22 2021, 11:21 AM
fhahn accepted this revision.Jan 22 2021, 2:18 PM

Thanks for adding support for unary operators! For now it should just be fneg.

LGTM!

This revision is now accepted and ready to land.Jan 22 2021, 2:18 PM
This revision was automatically updated to reflect the committed changes.