This is an archive of the discontinued LLVM Phabricator instance.

[flang] Don't use-associate intrinsics
ClosedPublic

Authored by tskeith on Jul 15 2020, 2:07 PM.

Details

Summary

When an intrinsic is referenced in a module scope, a symbol for it is
added. When that module is USEd, the intrinsic should not be included.
Otherwise we can get ambiguous reference errors with the same intrinsic
coming from two difference modules.

Diff Detail

Event Timeline

tskeith created this revision.Jul 15 2020, 2:07 PM
Herald added a project: Restricted Project. · View Herald Transcript
klausler accepted this revision.Jul 15 2020, 2:10 PM
This revision is now accepted and ready to land.Jul 15 2020, 2:10 PM
This revision was automatically updated to reflect the committed changes.