This is an archive of the discontinued LLVM Phabricator instance.

[flang] Remove `ignoring all compiler directives` warning
ClosedPublic

Authored by vdonaldson on Apr 14 2023, 12:19 PM.

Details

Summary

The explicit ignoring all compiler directives reminder warning is no
longer accurate. Any similar, more accurate message is best generated
by the front end (change pending).

Diff Detail

Event Timeline

vdonaldson created this revision.Apr 14 2023, 12:19 PM
vdonaldson requested review of this revision.Apr 14 2023, 12:19 PM
PeteSteinfeld accepted this revision.Apr 14 2023, 12:38 PM

I wonder if we should put out a TODO message when directives get passed to lowering. Otherwise, all builds and tests correctly and looks good.

flang/lib/Lower/Bridge.cpp
2001

Should we be emitting a TODO message here?

This revision is now accepted and ready to land.Apr 14 2023, 12:38 PM

I wonder if we should put out a TODO message when directives get passed to lowering. Otherwise, all builds and tests correctly and looks good.

No, that would have the identical problem that the warning message has, but would be worse because it would be fatal. It would be inaccurate for cases that are actually implemented and cases that don't have downstream component/s. A front end warning would serve the same purpose without these problems.

flang/lib/Lower/Bridge.cpp