This is an archive of the discontinued LLVM Phabricator instance.

[flang] fix LBOUND lowering with KIND and no DIM arguments
ClosedPublic

Authored by jeanPerier on Apr 22 2022, 3:06 AM.

Details

Summary

The lowering code was mistakenly assuming that the second argument
in the signature provided by semantics is the DIM argument. This
caused calls with a KIND argument but no DIM to be lowered as if the
KIND argument was DIM.

Diff Detail

Event Timeline

jeanPerier created this revision.Apr 22 2022, 3:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 22 2022, 3:06 AM
jeanPerier requested review of this revision.Apr 22 2022, 3:06 AM
This revision is now accepted and ready to land.Apr 22 2022, 3:17 AM