This is an archive of the discontinued LLVM Phabricator instance.

[flang][runtime] Fix NORM2([negative, ...])
ClosedPublic

Authored by klausler on Jul 21 2023, 8:47 AM.

Details

Summary

NORM2 is broken for arrays that start with a negative number
because it sets the initial running max_ value to that number
rather than to its absolute value.

Diff Detail

Event Timeline

klausler created this revision.Jul 21 2023, 8:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 21 2023, 8:47 AM
klausler requested review of this revision.Jul 21 2023, 8:47 AM
vzakhari accepted this revision.Jul 21 2023, 9:07 AM

Thank you!

This revision is now accepted and ready to land.Jul 21 2023, 9:07 AM
This revision was automatically updated to reflect the committed changes.