This is an archive of the discontinued LLVM Phabricator instance.

[flang] Lower scalar negation
ClosedPublic

Authored by clementval on Feb 17 2022, 9:59 AM.

Details

Summary

Handle negation on scalar expression.

res = -a

This patch is part of the upstreaming effort from fir-dev branch.

Co-authored-by: Jean Perier <jperier@nvidia.com>
Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>

Diff Detail

Event Timeline

clementval created this revision.Feb 17 2022, 9:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 17 2022, 9:59 AM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Feb 17 2022, 9:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 17 2022, 9:59 AM
PeteSteinfeld accepted this revision.Feb 17 2022, 1:48 PM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Feb 17 2022, 1:48 PM
This revision was automatically updated to reflect the committed changes.