[all-commits] [llvm/llvm-project] 3cead5: [mlir][emitc] Add EmitC index types (#93155)
Corentin Ferry via All-commits
all-commits at lists.llvm.org
Mon Jun 17 04:54:17 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3cead572e91d3de5f8cb458f09ab39302e289d22
https://github.com/llvm/llvm-project/commit/3cead572e91d3de5f8cb458f09ab39302e289d22
Author: Corentin Ferry <corentin.ferry at amd.com>
Date: 2024-06-17 (Mon, 17 Jun 2024)
Changed paths:
M mlir/docs/Dialects/emitc.md
M mlir/include/mlir/Dialect/EmitC/IR/EmitC.h
M mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
M mlir/include/mlir/Dialect/EmitC/IR/EmitCTypes.td
A mlir/include/mlir/Dialect/EmitC/Transforms/TypeConversions.h
M mlir/lib/Dialect/EmitC/IR/EmitC.cpp
M mlir/lib/Dialect/EmitC/Transforms/CMakeLists.txt
A mlir/lib/Dialect/EmitC/Transforms/TypeConversions.cpp
M mlir/lib/Target/Cpp/TranslateToCpp.cpp
M mlir/test/Dialect/EmitC/invalid_ops.mlir
M mlir/test/Dialect/EmitC/invalid_types.mlir
M mlir/test/Dialect/EmitC/ops.mlir
M mlir/test/Dialect/EmitC/types.mlir
M mlir/test/Target/Cpp/types.mlir
Log Message:
-----------
[mlir][emitc] Add EmitC index types (#93155)
This commit adds `emitc.size_t`, `emitc.ssize_t` and `emitc.ptrdiff_t`
types to the EmitC dialect. These are used to map `index` types to C/C++
types with an explicit signedness, and are emitted in C/C++ as `size_t`,
`ssize_t` and `ptrdiff_t`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list