From 94ab2e2fb4a0c663f40ff2551635f7171d58f8ac Mon Sep 17 00:00:00 2001 From: Abdul Rafae Noor <arnoor2@tyler.cs.illinois.edu> Date: Tue, 18 May 2021 12:32:54 -0500 Subject: [PATCH] Fixing Automated tests for DFG2LLVM_WrapperAPI --- hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapAddTanh.ll | 3 --- .../test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapBatchNormRelu.ll | 6 ------ hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapConv.ll | 3 --- hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapMatMul.ll | 4 ---- 4 files changed, 16 deletions(-) diff --git a/hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapAddTanh.ll b/hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapAddTanh.ll index 33c431a78d..0287357e68 100644 --- a/hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapAddTanh.ll +++ b/hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapAddTanh.ll @@ -18,13 +18,10 @@ target triple = "x86_64-unknown-linux-gnu" ; CHECK-NEXT: call void @llvm.hpvm.cleanup() ; CHECK-LABEL: @_Z11matadd_nodePvmS_m_cloned_wrapper_api( -; CHECK: call void @hpvm_request_tensor( -; CHECK: call void @hpvm_request_tensor( ; CHECK: call i8* @wrapper_tensorAdd( ; CHECK: ret ; CHECK-LABEL: @_Z9tanh_nodePvm_cloned_wrapper_api( -; CHECK: call void @hpvm_request_tensor( ; CHECK: call i8* @wrapper_tensorTanh( ; CHECK: ret diff --git a/hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapBatchNormRelu.ll b/hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapBatchNormRelu.ll index f93d325a7f..da2a96ae0b 100644 --- a/hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapBatchNormRelu.ll +++ b/hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapBatchNormRelu.ll @@ -19,16 +19,10 @@ target triple = "x86_64-unknown-linux-gnu" ; CHECK-NEXT: call void @llvm.hpvm.cleanup() ; CHECK-LABEL: @_Z19batchNormLayer_nodePvmS_mS_mS_mS_m_cloned_wrapper_api( -; CHECK: call void @hpvm_request_tensor( -; CHECK: call void @hpvm_request_tensor( -; CHECK: call void @hpvm_request_tensor( -; CHECK: call void @hpvm_request_tensor( -; CHECK: call void @hpvm_request_tensor( ; CHECK: call i8* @wrapper_tensorBatchNorm( ; CHECK: ret ; CHECK-LABEL: @_Z9relu_nodePvm_cloned_wrapper_api( -; CHECK: call void @hpvm_request_tensor( ; CHECK: call i8* @wrapper_tensorRelu( ; CHECK: ret diff --git a/hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapConv.ll b/hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapConv.ll index 3a0ef95944..72e455c441 100644 --- a/hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapConv.ll +++ b/hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapConv.ll @@ -20,9 +20,6 @@ target triple = "x86_64-unknown-linux-gnu" ; CHECK-LABEL: @_Z9conv_nodePvmS_m_cloned__Z13bias_add_nodePvmS_m_cloned__Z9tanh_nodePvm_cloned__Z13pool_max_nodePvm_cloned_wrapper_api( -; CHECK: call void @hpvm_request_tensor( -; CHECK: call void @hpvm_request_tensor( -; CHECK: call void @hpvm_request_tensor( ; CHECK: call i8* @wrapper_ConvLayer2( ; CHECK: ret diff --git a/hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapMatMul.ll b/hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapMatMul.ll index c1546533d8..98ed862667 100644 --- a/hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapMatMul.ll +++ b/hpvm/test/hpvm_pass/DFG2LLVM_WrapperAPI/wrapMatMul.ll @@ -20,14 +20,10 @@ target triple = "x86_64-unknown-linux-gnu" ; CHECK-LABEL: @_Z11matmul_nodePvmS_m_cloned__Z13bias_add_nodePvmS_m_cloned__Z9tanh_nodePvm_cloned_wrapper_api( -; CHECK: call void @hpvm_request_tensor( -; CHECK: call void @hpvm_request_tensor( -; CHECK: call void @hpvm_request_tensor( ; CHECK: call i8* @wrapper_FCLayer( ; CHECK: ret ; CHECK-LABEL: @_Z13pool_max_nodePvm_cloned_wrapper_api( -; CHECK: call void @hpvm_request_tensor(i8* %t1, i32 1) ; CHECK: call i8* @wrapper_tensorPooling( ; CHECK: ret -- GitLab