This is an archive of the discontinued LLVM Phabricator instance.

clang: Allow backend unsupported warnings
ClosedPublic

Authored by arsenm on Apr 24 2020, 9:52 AM.

Details

Summary

Currently this asserts on anything other than errors. In one
workaround scenario, AMDGPU emits DiagnosticInfoUnsupported as a
warning for functions that can't be correctly codegened, but should
never be executed.

Diff Detail

Event Timeline

arsenm created this revision.Apr 24 2020, 9:52 AM
yaxunl accepted this revision.Apr 24 2020, 11:10 AM

LGTM. Thanks.

This revision is now accepted and ready to land.Apr 24 2020, 11:10 AM