This is an archive of the discontinued LLVM Phabricator instance.

[flang] Warn about overflow from folding complex ABS()
ClosedPublic

Authored by klausler on Oct 27 2022, 5:07 PM.

Details

Summary

Emit a warning when the result of folding a call to
ABS() with a complex argument results in an overflow.

Diff Detail

Event Timeline

klausler created this revision.Oct 27 2022, 5:07 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 27 2022, 5:07 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Oct 27 2022, 5:07 PM
PeteSteinfeld accepted this revision.Oct 27 2022, 8:00 PM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Oct 27 2022, 8:00 PM
This revision was automatically updated to reflect the committed changes.