Skip to content

Commit

Permalink
Remove stray debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
pchintalapudi committed Mar 3, 2023
1 parent 65e6de2 commit 5561223
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/llvm-multiversioning.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,6 @@ static inline std::vector<T*> consume_gv(Module &M, const char *name, bool allow
// Strip them from the Module so that it's easier to handle the uses.
GlobalVariable *gv = M.getGlobalVariable(name);
assert(gv && gv->hasInitializer());
dbgs() << "Consume " << *gv << ":\n";
dbgs() << *gv->getType() << "\n";
ArrayType *Ty = cast<ArrayType>(gv->getInitializer()->getType());
unsigned nele = Ty->getArrayNumElements();
std::vector<T*> res(nele);
Expand All @@ -421,7 +419,6 @@ static inline std::vector<T*> consume_gv(Module &M, const char *name, bool allow
nele--;
continue;
}
dbgs() << *val << ": " << *val->getType() << "\n";
res[i++] = cast<T>(val);
}
res.resize(nele);
Expand Down

0 comments on commit 5561223

Please sign in to comment.