[Mlir-commits] [mlir] 3de0bc4 - [MLIR] Reintroduce shared attribute names in the LLVM dialect
Frederik Gossen
llvmlistbot at llvm.org
Fri Feb 10 13:19:57 PST 2023
Author: Frederik Gossen
Date: 2023-02-10T16:19:40-05:00
New Revision: 3de0bc4c3d0284354b0c0ec8ca1536ee080193e2
URL: https://github.com/llvm/llvm-project/commit/3de0bc4c3d0284354b0c0ec8ca1536ee080193e2
DIFF: https://github.com/llvm/llvm-project/commit/3de0bc4c3d0284354b0c0ec8ca1536ee080193e2.diff
LOG: [MLIR] Reintroduce shared attribute names in the LLVM dialect
Differential Revision: https://reviews.llvm.org/D143774
Added:
Modified:
mlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td b/mlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td
index 9c9ebfcf255bf..a1842cd2ecef9 100644
--- a/mlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td
+++ b/mlir/include/mlir/Dialect/LLVMIR/LLVMOpBase.td
@@ -35,7 +35,10 @@ def LLVM_Dialect : Dialect {
let extraClassDeclaration = [{
/// Name of the data layout attributes.
static StringRef getDataLayoutAttrName() { return "llvm.data_layout"; }
+ static StringRef getNoAliasScopesAttrName() { return "noalias_scopes"; }
+ static StringRef getAliasScopesAttrName() { return "alias_scopes"; }
static StringRef getLoopAttrName() { return "llvm.loop"; }
+ static StringRef getAccessGroupsAttrName() { return "access_groups"; }
/// Names of llvm parameter attributes.
static StringRef getAlignAttrName() { return "llvm.align"; }
More information about the Mlir-commits
mailing list