[all-commits] [llvm/llvm-project] 5f230e: [mlir][llvm] Translate alias scopes lazily
Tobias Gysi via All-commits
all-commits at lists.llvm.org
Wed Aug 30 06:01:17 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5f230ed762de050317a12bba56aadf8826a9b085
https://github.com/llvm/llvm-project/commit/5f230ed762de050317a12bba56aadf8826a9b085
Author: Tobias Gysi <tobias.gysi at nextsilicon.com>
Date: 2023-08-30 (Wed, 30 Aug 2023)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
M mlir/include/mlir/Target/LLVMIR/ModuleTranslation.h
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
A mlir/test/Target/LLVMIR/attribute-alias-scopes.mlir
A mlir/test/Target/LLVMIR/attribute-tbaa.mlir
M mlir/test/Target/LLVMIR/llvmir.mlir
R mlir/test/Target/LLVMIR/tbaa.mlir
Log Message:
-----------
[mlir][llvm] Translate alias scopes lazily
Change the LLVM dialect to LLVM IR translation to convert the alias
scope attributes lazily to LLVM IR metadata. Previously, the alias
scopes have been translated upfront walking the alias scopes of
operations that implement the AliasAnalysisOpInterface. As a result,
the translation of a module that contains only a noalias scope
intrinsic failed, since its alias scope attribute has not been
translated due to the intrinsic not implementing
AliasAnalysisOpInterface.
Reviewed By: zero9178
Differential Revision: https://reviews.llvm.org/D159187
More information about the All-commits
mailing list