From 23db46b27f00a051d02f7907f5b42fc16592acd4 Mon Sep 17 00:00:00 2001 From: Hashim Sharif <hsharif3@miranda.cs.illinois.edu> Date: Tue, 8 Jun 2021 02:17:24 -0500 Subject: [PATCH] Fixed HPVM2NVDLAPass old isVISCIntrinsic usage --- hpvm/lib/Transforms/HPVM2NVDLA/HPVM2NVDLAPass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hpvm/lib/Transforms/HPVM2NVDLA/HPVM2NVDLAPass.cpp b/hpvm/lib/Transforms/HPVM2NVDLA/HPVM2NVDLAPass.cpp index 300d557518..87f706a77e 100644 --- a/hpvm/lib/Transforms/HPVM2NVDLA/HPVM2NVDLAPass.cpp +++ b/hpvm/lib/Transforms/HPVM2NVDLA/HPVM2NVDLAPass.cpp @@ -1143,7 +1143,7 @@ void CGT_NVDLA::codeGen(DFLeafNode *N) { for (inst_iterator i = inst_begin(F), e = inst_end(F); i != e; ++i) { Instruction *I = &(*i); - if (BuildDFG::isViscIntrinsic(I)) { + if (BuildDFG::isHPVMIntrinsic(I)) { auto *II = dyn_cast<IntrinsicInst>(I); assert((II->getCalledFunction()->getName()).startswith("llvm.hpvm.tensor") && "Only HPVM tensor intrinsics allowed in ApproxHPVM leaf nodes\n"); -- GitLab