[mlir][LLVM] Add result attribute import support
authorChristian Ulmann <christian.ulmann@nextsilicon.com>
Wed, 25 Jan 2023 14:52:59 +0000 (15:52 +0100)
committerChristian Ulmann <christian.ulmann@nextsilicon.com>
Wed, 25 Jan 2023 14:53:19 +0000 (15:53 +0100)
commit56880fd257e22cdc4846e9674ada9fa1d70b3ecb
tree97474948c301b26663cc3a5dcbe8958813ebe94f
parent77bdad06de441a3a399b9dfc6b18a2829fbb2fad
[mlir][LLVM] Add result attribute import support

This commit introduces support for importing result attributes.

Depends on D142372

Reviewed By: gysit

Differential Revision: https://reviews.llvm.org/D142476
mlir/include/mlir/Target/LLVMIR/ModuleImport.h
mlir/lib/Target/LLVMIR/ModuleImport.cpp
mlir/test/Target/LLVMIR/Import/function-attributes.ll