diff options
author | Eric Liu <ioeric@google.com> | 2016-07-04 12:10:08 +0000 |
---|---|---|
committer | Eric Liu <ioeric@google.com> | 2016-07-04 12:10:08 +0000 |
commit | e617adea12927a578fa551f3c2c74c9a2494a62d (patch) | |
tree | 31542249b3ec2dec6b3026caf1d5a39f04d60567 | |
parent | c1926075c39b350743d58f3b1db4397d0f3fbef3 (diff) | |
download | bcm5719-llvm-e617adea12927a578fa551f3c2c74c9a2494a62d.tar.gz bcm5719-llvm-e617adea12927a578fa551f3c2c74c9a2494a62d.zip |
Fixed warning caused by r274402.
llvm-svn: 274497
-rw-r--r-- | llvm/lib/CodeGen/PeepholeOptimizer.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/PeepholeOptimizer.cpp b/llvm/lib/CodeGen/PeepholeOptimizer.cpp index 11ff79cb9f3..b9b905375b9 100644 --- a/llvm/lib/CodeGen/PeepholeOptimizer.cpp +++ b/llvm/lib/CodeGen/PeepholeOptimizer.cpp @@ -1886,11 +1886,11 @@ ValueTrackerResult ValueTracker::getNextSourceFromPHI() { ValueTrackerResult ValueTracker::getNextSourceImpl() { assert(Def && "This method needs a valid definition"); - assert( - (Def->getOperand(DefIdx).isDef() && - (DefIdx < Def->getDesc().getNumDefs() || Def->getDesc().isVariadic()) || - Def->getOperand(DefIdx).isImplicit()) && - "Invalid DefIdx"); + assert(((Def->getOperand(DefIdx).isDef() && + (DefIdx < Def->getDesc().getNumDefs() || + Def->getDesc().isVariadic())) || + Def->getOperand(DefIdx).isImplicit()) && + "Invalid DefIdx"); if (Def->isCopy()) return getNextSourceFromCopy(); if (Def->isBitcast()) |