This is an archive of the discontinued LLVM Phabricator instance.

[flang] NORM2(DIM=) argument can't be dynamically optional
ClosedPublic

Authored by klausler on Apr 1 2023, 2:24 PM.

Details

Summary

The intrinsic function table entry for NORM2 treats its DIM=
argument as if it can be dynamically optional; this is wrong,
and it should be treated in the same way as DIM= is for other
transformational intrinsic functions like SUM.

Diff Detail

Event Timeline

klausler created this revision.Apr 1 2023, 2:24 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 1 2023, 2:24 PM
klausler requested review of this revision.Apr 1 2023, 2:24 PM
PeteSteinfeld accepted this revision.Apr 3 2023, 8:51 AM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Apr 3 2023, 8:51 AM