[all-commits] [llvm/llvm-project] fef08d: [mlir][llvm] Store memory op metadata using op att...
Tobias Gysi via All-commits
all-commits at lists.llvm.org
Fri Feb 10 06:29:59 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fef08da4b75fc751c6117df2a0213a0b075d05f5
https://github.com/llvm/llvm-project/commit/fef08da4b75fc751c6117df2a0213a0b075d05f5
Author: Tobias Gysi <tobias.gysi at nextsilicon.com>
Date: 2023-02-10 (Fri, 10 Feb 2023)
Changed paths:
M flang/lib/Optimizer/CodeGen/TBAABuilder.cpp
M flang/test/Fir/tbaa.fir
M mlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/include/mlir/Target/LLVMIR/ModuleTranslation.h
M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
M mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMIRToLLVMTranslation.cpp
M mlir/lib/Target/LLVMIR/LoopAnnotationTranslation.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
M mlir/test/Dialect/LLVMIR/tbaa-invalid.mlir
M mlir/test/Target/LLVMIR/Import/import-failure.ll
M mlir/test/Target/LLVMIR/tbaa.mlir
Log Message:
-----------
[mlir][llvm] Store memory op metadata using op attributes.
The revision introduces operation attributes to store tbaa metadata on
load and store operations rather than relying using dialect attributes.
At the same time, the change also ensures the provided getters and
setters instead are used instead of a string based lookup. The latter
is done for the tbaa, access groups, and alias scope attributes.
The goal of this change is to ensure the metadata attributes are only
placed on operations that have the corresponding operation attributes.
This is imported since only these operations later on translate these
attributes to LLVM IR. Dialect attributes placed on other operations
are lost during the translation.
Reviewed By: vzakhari, Dinistro
Differential Revision: https://reviews.llvm.org/D143654
More information about the All-commits
mailing list