[llvm-commits] [llvm] r61012 - /llvm/trunk/lib/Transforms/Scalar/SimplifyHalfPowrLibCalls.cpp
Chris Lattner
sabre at nondot.org
Sun Dec 14 13:36:23 PST 2008
Author: lattner
Date: Sun Dec 14 15:36:23 2008
New Revision: 61012
URL: http://llvm.org/viewvc/llvm-project?rev=61012&view=rev
Log:
eliminate warning when asserts disabled.
Modified:
llvm/trunk/lib/Transforms/Scalar/SimplifyHalfPowrLibCalls.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/SimplifyHalfPowrLibCalls.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/SimplifyHalfPowrLibCalls.cpp?rev=61012&r1=61011&r2=61012&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/SimplifyHalfPowrLibCalls.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/SimplifyHalfPowrLibCalls.cpp Sun Dec 14 15:36:23 2008
@@ -96,7 +96,7 @@
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);
More information about the llvm-commits
mailing list