[LICM] Suppress a compiler warning noticed by one of the bots
authorPhilip Reames <listmail@philipreames.com>
Thu, 9 Aug 2018 21:15:33 +0000 (21:15 +0000)
committerPhilip Reames <listmail@philipreames.com>
Thu, 9 Aug 2018 21:15:33 +0000 (21:15 +0000)
llvm-svn: 339388

llvm/lib/Transforms/Scalar/LICM.cpp

index dbb9bc6..4150d9f 100644 (file)
@@ -697,6 +697,7 @@ bool llvm::canSinkOrHoistInst(Instruction &I, AAResults *AA, DominatorTree *DT,
     if (!UniqueI)
       // other memory op, give up
       return false;
+    (void)FI; //suppress unused variable warning
     assert(UniqueI == FI && "AS must contain FI");
     return true;
   }