This is an archive of the discontinued LLVM Phabricator instance.

[flang] Add scalar argument case for the Fortran Spread intrinsic unit test
ClosedPublic

Authored by mleair on Jul 12 2021, 12:48 PM.

Details

Summary

The Fortran Spread intrinsic can take an array or a scalar source argument. The unit test had two tests but they both operated on arrays. This change adds a third Spread test where the source argument is a scalar.

Diff Detail

Event Timeline

mleair created this revision.Jul 12 2021, 12:48 PM
mleair requested review of this revision.Jul 12 2021, 12:48 PM
PeteSteinfeld accepted this revision.Jul 12 2021, 3:21 PM

All builds, tests, and looks good.

This revision is now accepted and ready to land.Jul 12 2021, 3:21 PM
klausler accepted this revision.Jul 16 2021, 11:21 AM