summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-12-25 10:03:23 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-12-25 10:03:23 +0000
commit25b383ac663e0406164cd951958a22e8ddfc13c1 (patch)
tree69b020ccb46e476897227f714fcea3bda1143a19 /llvm/lib/CodeGen
parent3d13f1c82c00b549467d85094a3af40117baaf26 (diff)
downloadbcm5719-llvm-25b383ac663e0406164cd951958a22e8ddfc13c1.tar.gz
bcm5719-llvm-25b383ac663e0406164cd951958a22e8ddfc13c1.zip
Silence GCC's -Wparentheses warning
No functionality change intended. llvm-svn: 224833
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/RegisterCoalescer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegisterCoalescer.cpp b/llvm/lib/CodeGen/RegisterCoalescer.cpp
index cc4d5590b6a..ad9aec36a97 100644
--- a/llvm/lib/CodeGen/RegisterCoalescer.cpp
+++ b/llvm/lib/CodeGen/RegisterCoalescer.cpp
@@ -1817,7 +1817,7 @@ JoinVals::analyzeValue(unsigned ValNo, JoinVals &Other) {
// not important.
if (Redef) {
V.RedefVNI = LR.Query(VNI->def).valueIn();
- assert(TrackSubRegLiveness || V.RedefVNI &&
+ assert((TrackSubRegLiveness || V.RedefVNI) &&
"Instruction is reading nonexistent value");
if (V.RedefVNI != nullptr) {
computeAssignment(V.RedefVNI->id, Other);
OpenPOWER on IntegriCloud