[all-commits] [llvm/llvm-project] 8d3c4f: [mlir][LLVM] Fix empty res attr import
Christian Ulmann via All-commits
all-commits at lists.llvm.org
Thu Jun 22 09:13:22 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8d3c4ff86652eed86d019b8e17108e94e911fd0f
https://github.com/llvm/llvm-project/commit/8d3c4ff86652eed86d019b8e17108e94e911fd0f
Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
Date: 2023-06-22 (Thu, 22 Jun 2023)
Changed paths:
M mlir/lib/Target/LLVMIR/ModuleImport.cpp
A mlir/test/Target/LLVMIR/Import/function-attributes-generic.ll
Log Message:
-----------
[mlir][LLVM] Fix empty res attr import
This commit ensures that an empty list of result attributes is not
imported as an empty `ArrayAttr`. Instead, the attribute is just not
added to the `LLVMFuncOp`.
Reviewed By: gysit
Differential Revision: https://reviews.llvm.org/D153553
More information about the All-commits
mailing list