This is an archive of the discontinued LLVM Phabricator instance.

[mlir][llvm] Handle debug metadata arg lists during LLVM IR import.
ClosedPublic

Authored by gysit on Jan 11 2023, 1:16 AM.

Details

Summary

Debug intrinsics may get an argument list as first parameter. Argument
lists are metadata nodes that refer to a list of SSA values and
constant that are needed to evaluate the debug expression attached to
the intrinsic.

We do currently not model these debug expressions in MLIR. This
revision thus makes sure debug intrinsics that get an argument list
as a first parameter are dropped. It also adds a test to verify
a warning is emitted.

Diff Detail

Event Timeline

gysit created this revision.Jan 11 2023, 1:16 AM
Herald added a project: Restricted Project. · View Herald Transcript
gysit requested review of this revision.Jan 11 2023, 1:16 AM
Dinistro accepted this revision.Jan 12 2023, 2:37 AM

LGTM!

This revision is now accepted and ready to land.Jan 12 2023, 2:37 AM