diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-19 12:25:07 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-02-19 12:25:07 +0000 |
commit | 7db76e7ca39905bbe3cb79158af0a93ca66faff8 (patch) | |
tree | 2bf92f92dbd2ce988cc9dcc93ab6eb68ae1f4c3a | |
parent | 273df0b91000d649dee24aab4be0346ada2a9862 (diff) | |
download | external_llvm-7db76e7ca39905bbe3cb79158af0a93ca66faff8.zip external_llvm-7db76e7ca39905bbe3cb79158af0a93ca66faff8.tar.gz external_llvm-7db76e7ca39905bbe3cb79158af0a93ca66faff8.tar.bz2 |
Silence operator precedence warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150921 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/LiveIntervalAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index 0e4c049..24370a3 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -1358,7 +1358,7 @@ private: // 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; |