Skip to content

Commit c50972d

Browse files
committed
[mlir] fix CAPI/translation.c test
It should not have been checking for irrelevant function injections in the first place.
1 parent 7814806 commit c50972d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mlir/test/CAPI/translation.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ static void testToLLVMIR(MlirContext ctx) {
4646
LLVMModuleRef llvmModule = mlirTranslateModuleToLLVMIR(operation, llvmCtx);
4747

4848
// clang-format off
49-
// CHECK: declare ptr @malloc(i64 %{{.*}})
50-
// CHECK: declare void @free(ptr %{{.*}})
5149
// CHECK: define i64 @add(i64 %[[arg1:.*]], i64 %[[arg2:.*]]) {
5250
// CHECK-NEXT: %[[arg3:.*]] = add i64 %[[arg1]], %[[arg2]]
5351
// CHECK-NEXT: ret i64 %[[arg3]]

0 commit comments

Comments
 (0)