[all-commits] [llvm/llvm-project] 551ee3: [mlir][FuncToLLVM] Fix arg attr memref interaction
Christian Ulmann via All-commits
all-commits at lists.llvm.org
Tue Jan 24 00:51:17 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 551ee367252a2c63bca67707c49c76c43617e7fd
https://github.com/llvm/llvm-project/commit/551ee367252a2c63bca67707c49c76c43617e7fd
Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
Date: 2023-01-24 (Tue, 24 Jan 2023)
Changed paths:
M mlir/lib/Conversion/FuncToLLVM/FuncToLLVM.cpp
M mlir/test/Conversion/FuncToLLVM/convert-argattrs.mlir
Log Message:
-----------
[mlir][FuncToLLVM] Fix arg attr memref interaction
This commit ensures that argument attributes are dropped from types
that are expanded to multiple function arguments. Previously, they
were attached to all arguments belonging to the memref, which
resulted in illegal LLVMIR, e.g., noalias on integers.
Reviewed By: gysit
Differential Revision: https://reviews.llvm.org/D142212
More information about the All-commits
mailing list