Skip to content
Snippets Groups Projects
Commit 23db46b2 authored by Hashim Sharif's avatar Hashim Sharif
Browse files

Fixed HPVM2NVDLAPass old isVISCIntrinsic usage

parent 027b5fea
No related branches found
No related tags found
No related merge requests found
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment