[llvm-commits] [llvm] r150921 - /llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
Benjamin Kramer
benny.kra at googlemail.com
Sun Feb 19 04:25:07 PST 2012
Author: d0k
Date: Sun Feb 19 06:25:07 2012
New Revision: 150921
URL: http://llvm.org/viewvc/llvm-project?rev=150921&view=rev
Log:
Silence operator precedence warning.
Modified:
llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
Modified: llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp?rev=150921&r1=150920&r2=150921&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp (original)
+++ llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp Sun Feb 19 06:25:07 2012
@@ -1358,7 +1358,7 @@
// Becoming a new entering range.
assert(BR[LI->reg].Dead == 0 && BR[LI->reg].Def == 0 &&
"Bundle shouldn't be re-defining reg mid-range.");
- assert(BR[LI->reg].Use == 0 || BR[LI->reg].Use == LR &&
+ assert((BR[LI->reg].Use == 0 || BR[LI->reg].Use == LR) &&
"Bundle shouldn't have different use range for same reg.");
LR->end = LastUse.getRegSlot();
BR[LI->reg].Use = LR;
More information about the llvm-commits
mailing list