This patch introduces the index dialect and associated boilerplate for
adding ops and enums (comparison predicates).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/include/mlir/Dialect/Index/IR/IndexDialect.td | ||
---|---|---|
25 | index type (builtin.index) ? Just to be clear that for here it is the concrete type instance of interest | |
38 | the maximum -> maximum | |
41 | You've switched here to consider what happens for 32 bit targets, but it's a bit abrupt/you need to read to the end before having the context for the start. | |
mlir/lib/Dialect/Index/IR/IndexAttrs.cpp | ||
2 | Same | |
mlir/lib/Dialect/Index/IR/IndexDialect.cpp | ||
2 | No need to specify file type in .cpp file |
mlir/include/mlir/Dialect/Index/IR/IndexDialect.td | ||
---|---|---|
41 | I clarified the paragraph a bit. |
Comment Actions
This has broken our sanitizer buildbot: https://lab.llvm.org/buildbot/#/builders/5/builds/28427/steps/9/logs/stdio
[4543/6866] Building IndexOpsDialect.h.inc... FAILED: tools/mlir/include/mlir/Dialect/Index/IR/IndexOpsDialect.h.inc /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/mlir/include/mlir/Dialect/Index/IR/IndexOpsDialect.h.inc cd /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan && /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/mlir-tblgen -gen-dialect-decls -dialect=index -I /b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/include/mlir/Dialect/Index/IR -I/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/include -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/include -I/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/mlir/include /b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/include/mlir/Dialect/Index/IR/IndexOps.td --write-if-changed -o tools/mlir/include/mlir/Dialect/Index/IR/IndexOpsDialect.h.inc -d tools/mlir/include/mlir/Dialect/Index/IR/IndexOpsDialect.h.inc.d /b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/include/mlir/Dialect/Index/IR/IndexOps.td:25:35: error: Variable not defined: 'NoSideEffect' : Op<IndexDialect, mnemonic, [NoSideEffect] # traits>; ^ [4544/6866] Building IndexOpsTypes.cpp.inc... FAILED: tools/mlir/include/mlir/Dialect/Index/IR/IndexOpsTypes.cpp.inc /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/mlir/include/mlir/Dialect/Index/IR/IndexOpsTypes.cpp.inc cd /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan && /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/mlir-tblgen -gen-typedef-defs -typedefs-dialect=index -I /b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/include/mlir/Dialect/Index/IR -I/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/include -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/include -I/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/mlir/include /b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/include/mlir/Dialect/Index/IR/IndexOps.td --write-if-changed -o tools/mlir/include/mlir/Dialect/Index/IR/IndexOpsTypes.cpp.inc -d tools/mlir/include/mlir/Dialect/Index/IR/IndexOpsTypes.cpp.inc.d /b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/include/mlir/Dialect/Index/IR/IndexOps.td:25:35: error: Variable not defined: 'NoSideEffect' : Op<IndexDialect, mnemonic, [NoSideEffect] # traits>; ^ [4545/6866] Building BufferizationOps.cpp.inc... [4546/6866] Building BufferizationOps.h.inc... [4547/6866] Building IndexOpsTypes.h.inc... FAILED: tools/mlir/include/mlir/Dialect/Index/IR/IndexOpsTypes.h.inc /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/mlir/include/mlir/Dialect/Index/IR/IndexOpsTypes.h.inc cd /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan && /b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/bin/mlir-tblgen -gen-typedef-decls -typedefs-dialect=index -I /b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/include/mlir/Dialect/Index/IR -I/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/include -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include -I/b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/include -I/b/sanitizer-x86_64-linux-fast/build/llvm_build_msan/tools/mlir/include /b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/include/mlir/Dialect/Index/IR/IndexOps.td --write-if-changed -o tools/mlir/include/mlir/Dialect/Index/IR/IndexOpsTypes.h.inc -d tools/mlir/include/mlir/Dialect/Index/IR/IndexOpsTypes.h.inc.d /b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/include/mlir/Dialect/Index/IR/IndexOps.td:25:35: error: Variable not defined: 'NoSideEffect' : Op<IndexDialect, mnemonic, [NoSideEffect] # traits>;
index type (builtin.index) ? Just to be clear that for here it is the concrete type instance of interest