eliminate warning when asserts disabled.
authorChris Lattner <sabre@nondot.org>
Sun, 14 Dec 2008 21:36:23 +0000 (21:36 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 14 Dec 2008 21:36:23 +0000 (21:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61012 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/SimplifyHalfPowrLibCalls.cpp

index 530ad038cbe20566045a3a2c367c50eee32bed95..4aad17d7236d454c02bd0fc98062b94d5e90ef1c 100644 (file)
@@ -96,7 +96,7 @@ SimplifyHalfPowrLibCalls::InlineHalfPowrs(const std::vector<Instruction *> &Half
     NewBlock = SplitBlock(NextInst->getParent(), NextInst, this);
 
     bool B = InlineFunction(Call, 0, TD);
-    assert(B && "half_powr didn't inline?");
+    assert(B && "half_powr didn't inline?"); B=B;
 
     BasicBlock *NewBody = NewBlock->getSinglePredecessor();
     assert(NewBody);