This is an archive of the discontinued LLVM Phabricator instance.

[mlir][LLVM] Add unnamed_addr to LLVMFuncOp
ClosedPublic

Authored by Dinistro on Jul 3 2023, 8:49 AM.

Details

Summary

This commit adds LLVM's unnamed_addr enum to LLVMFuncOp.

Diff Detail

Event Timeline

Dinistro created this revision.Jul 3 2023, 8:49 AM
Herald added a reviewer: dcaballe. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Dinistro requested review of this revision.Jul 3 2023, 8:49 AM
gysit accepted this revision.Jul 3 2023, 11:09 AM

LGTM!

Can you add a small roundtrip test in llvm-project/mlir/test/Dialect/LLVMIR/func.mlir (e.g. right above the comdat stuff)?

This revision is now accepted and ready to land.Jul 3 2023, 11:09 AM

LGTM!

Can you add a small roundtrip test in llvm-project/mlir/test/Dialect/LLVMIR/func.mlir (e.g. right above the comdat stuff)?

Sure, will do so directly in the commit.

This revision was automatically updated to reflect the committed changes.