Skip to content

Commit 9079caf

Browse files
committed
[mlir] [Test] Moved & renamed test case
1 parent 5ec38d6 commit 9079caf

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

mlir/test/Conversion/MemRefToLLVM/invalid.mlir

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
// Since the error is at an unknown location, we use FileCheck instead of
33
// -veri-y-diagnostics here
44

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+
512
// CHECK: conversion of memref memory space "foo" to integer address space failed. Consider adding memory space conversions.
613
// CHECK-LABEL: @bad_address_space
714
func.func @bad_address_space(%a: memref<2xindex, "foo">) {

mlir/test/Conversion/MemRefToLLVM/issue-120950.mlir

-11
This file was deleted.

0 commit comments

Comments
 (0)