mirror of
https://github.com/intel/llvm.git
synced 2026-02-03 02:26:27 +08:00
Silence 'variable unused' warning in release mode
llvm-svn: 177515
This commit is contained in:
@@ -330,6 +330,7 @@ bool CloogInfo::runOnScop(Scop &S) {
|
||||
C = new Cloog(&S);
|
||||
|
||||
Function *F = S.getRegion().getEntry()->getParent();
|
||||
(void)F;
|
||||
|
||||
DEBUG(dbgs() << ":: " << F->getName());
|
||||
DEBUG(dbgs() << " : " << S.getRegion().getNameStr() << "\n");
|
||||
|
||||
@@ -326,6 +326,7 @@ IslAst::IslAst(Scop *Scop, Dependences &D) : S(Scop) {
|
||||
isl_union_map *Schedule = getSchedule();
|
||||
|
||||
Function *F = Scop->getRegion().getEntry()->getParent();
|
||||
(void)F;
|
||||
|
||||
DEBUG(dbgs() << ":: isl ast :: " << F->getName()
|
||||
<< " :: " << Scop->getRegion().getNameStr() << "\n");
|
||||
|
||||
@@ -126,6 +126,7 @@ void RuntimeDebugBuilder::createStrPrinter(std::string String) {
|
||||
|
||||
void RuntimeDebugBuilder::createIntPrinter(Value *V) {
|
||||
IntegerType *Ty = dyn_cast<IntegerType>(V->getType());
|
||||
(void)Ty;
|
||||
assert(Ty && Ty->getBitWidth() == 64 &&
|
||||
"Cannot insert printer for this type.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user