We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ec38d6 commit 9079cafCopy full SHA for 9079caf
mlir/test/Conversion/MemRefToLLVM/invalid.mlir
@@ -2,6 +2,13 @@
2
// Since the error is at an unknown location, we use FileCheck instead of
3
// -veri-y-diagnostics here
4
5
+// CHECK: redefinition of reserved function 'malloc' of different type '!llvm.func<void (i64)>' is prohibited
6
+llvm.func @malloc(i64)
7
+func.func @redef_reserved() {
8
+ %alloc = memref.alloc() : memref<1024x64xf32, 1>
9
+ llvm.return
10
+}
11
+
12
// CHECK: conversion of memref memory space "foo" to integer address space failed. Consider adding memory space conversions.
13
// CHECK-LABEL: @bad_address_space
14
func.func @bad_address_space(%a: memref<2xindex, "foo">) {
mlir/test/Conversion/MemRefToLLVM/issue-120950.mlir
0 commit comments