[MCA] Fix -Wparentheses warning breaking the -Werror build.

Waring was introduced at r357074.

llvm-svn: 357085
This commit is contained in:
Andrea Di Biagio 2019-03-27 16:22:36 +00:00
parent 28f97f1dbc
commit a194656fa2
1 changed files with 2 additions and 1 deletions

View File

@ -64,7 +64,8 @@ Error Pipeline::runCycle() {
// Update stages in preparation for a new cycle.
for (const std::unique_ptr<Stage> &S : Stages) {
if (Err = S->cycleEnd())
Err = S->cycleEnd();
if (Err)
break;
}