aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zinenko <zinenko@google.com>2023-11-23 13:37:13 +0000
committerAlex Zinenko <zinenko@google.com>2023-11-23 13:37:13 +0000
commitc50972d67e40d7ded23f65d600a7f668bfed3824 (patch)
tree1ae44b53dc505a7c5bfc793857df518b2604573b
parent78148064c60353af5ec7505c90119870a5cb536d (diff)
downloadllvm-c50972d67e40d7ded23f65d600a7f668bfed3824.zip
llvm-c50972d67e40d7ded23f65d600a7f668bfed3824.tar.gz
llvm-c50972d67e40d7ded23f65d600a7f668bfed3824.tar.bz2
[mlir] fix CAPI/translation.c test
It should not have been checking for irrelevant function injections in the first place.
-rw-r--r--mlir/test/CAPI/translation.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mlir/test/CAPI/translation.c b/mlir/test/CAPI/translation.c
index 5a555e4..e58a01d 100644
--- a/mlir/test/CAPI/translation.c
+++ b/mlir/test/CAPI/translation.c
@@ -46,8 +46,6 @@ static void testToLLVMIR(MlirContext ctx) {
LLVMModuleRef llvmModule = mlirTranslateModuleToLLVMIR(operation, llvmCtx);
// clang-format off
- // CHECK: declare ptr @malloc(i64 %{{.*}})
- // CHECK: declare void @free(ptr %{{.*}})
// CHECK: define i64 @add(i64 %[[arg1:.*]], i64 %[[arg2:.*]]) {
// CHECK-NEXT: %[[arg3:.*]] = add i64 %[[arg1]], %[[arg2]]
// CHECK-NEXT: ret i64 %[[arg3]]