aboutsummaryrefslogtreecommitdiff
path: root/libc/test/src/math/performance_testing
diff options
context:
space:
mode:
authorTwice <twice@apache.org>2026-02-24 10:34:58 +0800
committerGitHub <noreply@github.com>2026-02-24 10:34:58 +0800
commit3b2c1db8709766e8c2252e9fb19fcff493869c16 (patch)
treee4f891d61b726f061438ba1cf5c0eb7f108ab92b /libc/test/src/math/performance_testing
parentccfd59a03efbbd9487252697dc57a9ac6b71a698 (diff)
downloadllvm-main.zip
llvm-main.tar.gz
llvm-main.tar.bz2
[MLIR][Python] Support type definitions in Python-defined dialects (#182805)HEADmain
In this PR, we added basic support of type definitions in Python-defined dialects, including: - IRDL codegen for type definitions - Type builders like `MyType.get(..)` and type parameter accessors (e.g. `my_type.param1`) - Use Python-defined types in Python-defined oeprations ```python class TestType(Dialect, name="ext_type"): pass class Array(TestType.Type, name="array"): elem_type: IntegerType[32] | IntegerType[64] length: IntegerAttr class MakeArrayOp(TestType.Operation, name="make_array"): arr: Result[Array] class MakeArray3Op(TestType.Operation, name="make_array3"): arr: Result[Array[IntegerType[32], IntegerAttr[IntegerType[32], 3]]] ```
Diffstat (limited to 'libc/test/src/math/performance_testing')
0 files changed, 0 insertions, 0 deletions