This is an archive of the discontinued LLVM Phabricator instance.

[mlir][llvm] Handle llvm.noundef attribute when converting to LLVM IR
ClosedPublic

Authored by victor-eds on Oct 20 2022, 2:29 AM.

Details

Summary

Translate LLVMIR llvm.noundef attribute to its equivalent in LLVM IR.

Diff Detail

Event Timeline

victor-eds created this revision.Oct 20 2022, 2:29 AM
Herald added a project: Restricted Project. · View Herald Transcript
victor-eds requested review of this revision.Oct 20 2022, 2:29 AM
ftynse added inline comments.Oct 20 2022, 2:47 AM
mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
920

Could we put the attribute name inside the dialect rather than hardcode the string here?

Add attribute name to the dialect

victor-eds marked an inline comment as done.Oct 20 2022, 3:15 AM
victor-eds added inline comments.
mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
920

Done

ftynse accepted this revision.Oct 20 2022, 3:34 AM
This revision is now accepted and ready to land.Oct 20 2022, 3:34 AM