[Mlir-commits] [mlir] 67c092c - [mlir][transform][python] Add test for AnyValueType binding.

Ingo Müller llvmlistbot at llvm.org
Wed Aug 16 08:08:46 PDT 2023


Author: Ingo Müller
Date: 2023-08-16T15:07:48Z
New Revision: 67c092c8c88356a82147e5f886af15db301009c7

URL: https://github.com/llvm/llvm-project/commit/67c092c8c88356a82147e5f886af15db301009c7
DIFF: https://github.com/llvm/llvm-project/commit/67c092c8c88356a82147e5f886af15db301009c7.diff

LOG: [mlir][transform][python] Add test for AnyValueType binding.

I had forgotten to commit that test as part of
https://reviews.llvm.org/D157638.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D158074

Added: 
    

Modified: 
    mlir/test/python/dialects/transform.py

Removed: 
    


################################################################################
diff  --git a/mlir/test/python/dialects/transform.py b/mlir/test/python/dialects/transform.py
index 3e7e29a9c5b924..9881a929c8dc56 100644
--- a/mlir/test/python/dialects/transform.py
+++ b/mlir/test/python/dialects/transform.py
@@ -22,6 +22,10 @@ def testTypes():
     any_op = transform.AnyOpType.get()
     print(any_op)
 
+    # CHECK: !transform.any_value
+    any_value = transform.AnyValueType.get()
+    print(any_value)
+
     # CHECK: !transform.op<"foo.bar">
     # CHECK: foo.bar
     concrete_op = transform.OperationType.get("foo.bar")


        


More information about the Mlir-commits mailing list