This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fold SCALE()
ClosedPublic

Authored by klausler on Jan 12 2022, 2:02 PM.

Details

Summary

Fold references to the intrinsic function SCALE().

Diff Detail

Event Timeline

klausler created this revision.Jan 12 2022, 2:02 PM
klausler requested review of this revision.Jan 12 2022, 2:02 PM
jeanPerier accepted this revision.Jan 13 2022, 7:26 AM

Please check why windows bot is failing. Code LGTM.

This revision is now accepted and ready to land.Jan 13 2022, 7:26 AM
klausler updated this revision to Diff 399745.Jan 13 2022, 12:00 PM

No-op update to see whether spurious Windows buildbot failure was indeed unrelated to this change.

klausler updated this revision to Diff 399861.Jan 13 2022, 6:09 PM

Minor tweak, attempting to dodge mysterious MSVC build issue.

klausler updated this revision to Diff 400039.Jan 14 2022, 9:07 AM

Disable bogus warning from MSVC in unrelated source files that is somehow triggered by this change.

klausler updated this revision to Diff 400087.Jan 14 2022, 11:17 AM

Add nearly redundant test case in attempt to get the pre-merge build bots to wake up and look at the patch again.

klausler updated this revision to Diff 400181.Jan 14 2022, 4:15 PM

Still trying to find a way around a bogus MSVC warning that was triggered by this change.

klausler updated this revision to Diff 400192.Jan 14 2022, 4:44 PM

Iterating; now trying to work around a bogus error message on a reference to a template member function of a template class.

klausler updated this revision to Diff 400212.Jan 14 2022, 5:32 PM

MSVC difficulties are resolved; rebase, reformat, and retest before landing.

This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJan 15 2022, 9:31 AM