[Mlir-commits] [mlir] 7794502 - [MLIR] Add non-regression bytecode test for #170993

Mehdi Amini llvmlistbot at llvm.org
Wed Dec 17 11:49:40 PST 2025


Author: Mehdi Amini
Date: 2025-12-17T11:49:19-08:00
New Revision: 7794502b33e4ad38d2241784fd3b65d9bc6a358d

URL: https://github.com/llvm/llvm-project/commit/7794502b33e4ad38d2241784fd3b65d9bc6a358d
DIFF: https://github.com/llvm/llvm-project/commit/7794502b33e4ad38d2241784fd3b65d9bc6a358d.diff

LOG: [MLIR] Add non-regression bytecode test for #170993

This is a bytecode round-trip test with a deeply nested attribute.

Added: 
    mlir/test/Bytecode/op_with_properties_deeply_nested_attr.mlir

Modified: 
    

Removed: 
    


################################################################################
diff  --git a/mlir/test/Bytecode/op_with_properties_deeply_nested_attr.mlir b/mlir/test/Bytecode/op_with_properties_deeply_nested_attr.mlir
new file mode 100644
index 0000000000000..a7d964927a6ec
--- /dev/null
+++ b/mlir/test/Bytecode/op_with_properties_deeply_nested_attr.mlir
@@ -0,0 +1,6 @@
+// RUN: mlir-opt %s  --verify-roundtrip
+
+func.func @deeply_nested_attribute() -> i32 {
+  %0 = "test.constant"() {value = [[[[[[[[[[[[1]]]]]]]]]]]]} : () -> i32
+  return %0 : i32
+}
\ No newline at end of file


        


More information about the Mlir-commits mailing list