File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
mlir/test/Conversion/LLVMCommon Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change
1
+ // RUN: mlir-opt %s --convert-func-to-llvm --split-input-file | FileCheck %s
2
+
3
+ // CHECK: @create_clashes_on_conversion(!llvm.struct<"foo", (index)>)
4
+ func.func private @clashing_struct_name (!llvm.struct <" _Converted.foo" , (f32 )>)
5
+ func.func private @create_clashes_on_conversion (!llvm.struct <" foo" , (index )>)
6
+
7
+ // -----
8
+
9
+ // CHECK: @merge_on_conversion(!llvm.struct<"_Converted.foo", (i64)>) attributes {sym_visibility = "private"}
10
+ func.func private @clashing_struct_name (!llvm.struct <" _Converted.foo" , (i64 )>)
11
+ func.func private @merge_on_conversion (!llvm.struct <" foo" , (index )>)
12
+
13
+ // -----
14
+
15
+ // CHECK: @create_clashes_on_conversion_recursive(!llvm.struct<"foo", (!llvm.struct<"foo">, index)>)
16
+ func.func private @clashing_struct_name (!llvm.struct <" _Converted.foo" , (struct <" _Converted.foo" >, f32 )>)
17
+ func.func private @create_clashes_on_conversion_recursive (!llvm.struct <" foo" , (struct <" foo" >, index )>)
18
+
19
+ // -----
20
+
21
+ // CHECK: @merge_on_conversion_recursive(!llvm.struct<"_Converted.foo", (struct<"_Converted.foo">, i64)>)
22
+ func.func private @clashing_struct_name (!llvm.struct <" _Converted.foo" , (struct <" _Converted.foo" >, i64 )>)
23
+ func.func private @merge_on_conversion_recursive (!llvm.struct <" foo" , (struct <" foo" >, index )>)
You can’t perform that action at this time.
0 commit comments