Skip to content

Commit bdb69fc

Browse files
committed
[mlir] Add test
1 parent 3b892e6 commit bdb69fc

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// RUN: mlir-opt %s -finalize-memref-to-llvm 2>&1 | FileCheck %s
2+
3+
#map = affine_map<(d0) -> (d0 + 1)>
4+
module {
5+
// CHECK: redefinition of reserved function 'malloc' of different type '!llvm.func<void (i64)>' is prohibited
6+
llvm.func @malloc(i64)
7+
func.func @issue_120950() {
8+
%alloc = memref.alloc() : memref<1024x64xf32, 1>
9+
llvm.return
10+
}
11+
}

0 commit comments

Comments
 (0)