[llvm] r224833 - Silence GCC's -Wparentheses warning
David Majnemer
david.majnemer at gmail.com
Thu Dec 25 02:03:23 PST 2014
Author: majnemer
Date: Thu Dec 25 04:03:23 2014
New Revision: 224833
URL: http://llvm.org/viewvc/llvm-project?rev=224833&view=rev
Log:
Silence GCC's -Wparentheses warning
No functionality change intended.
Modified:
llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp
Modified: llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp?rev=224833&r1=224832&r2=224833&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp (original)
+++ llvm/trunk/lib/CodeGen/RegisterCoalescer.cpp Thu Dec 25 04:03:23 2014
@@ -1817,7 +1817,7 @@ JoinVals::analyzeValue(unsigned ValNo, J
// 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);
More information about the llvm-commits
mailing list