summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-12-14 21:36:23 +0000
committerChris Lattner <sabre@nondot.org>2008-12-14 21:36:23 +0000
commitf5eef9f6db5b33aaafb5b8c1959bd6ac13fb430b (patch)
tree580b71550bb3014685d13957c51f4d90b7bcd350 /llvm/lib
parenta236dc44d6acfd5dd0fe330c346029316a153d2b (diff)
downloadbcm5719-llvm-f5eef9f6db5b33aaafb5b8c1959bd6ac13fb430b.tar.gz
bcm5719-llvm-f5eef9f6db5b33aaafb5b8c1959bd6ac13fb430b.zip
eliminate warning when asserts disabled.
llvm-svn: 61012
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Transforms/Scalar/SimplifyHalfPowrLibCalls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/SimplifyHalfPowrLibCalls.cpp b/llvm/lib/Transforms/Scalar/SimplifyHalfPowrLibCalls.cpp
index 530ad038cbe..4aad17d7236 100644
--- a/llvm/lib/Transforms/Scalar/SimplifyHalfPowrLibCalls.cpp
+++ b/llvm/lib/Transforms/Scalar/SimplifyHalfPowrLibCalls.cpp
@@ -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);
OpenPOWER on IntegriCloud