diff options
author | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2019-03-27 16:22:36 +0000 |
---|---|---|
committer | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2019-03-27 16:22:36 +0000 |
commit | a194656fa2452aba7bd3e46cd282d8e7f1aeab3f (patch) | |
tree | 79f03c950ad0ff489389b25aa3364d78ad08870f /llvm/lib/MCA | |
parent | 28f97f1dbc877ef386c3715cba17d5dcfa748c03 (diff) | |
download | bcm5719-llvm-a194656fa2452aba7bd3e46cd282d8e7f1aeab3f.tar.gz bcm5719-llvm-a194656fa2452aba7bd3e46cd282d8e7f1aeab3f.zip |
[MCA] Fix -Wparentheses warning breaking the -Werror build.
Waring was introduced at r357074.
llvm-svn: 357085
Diffstat (limited to 'llvm/lib/MCA')
-rw-r--r-- | llvm/lib/MCA/Pipeline.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/MCA/Pipeline.cpp b/llvm/lib/MCA/Pipeline.cpp index 6860a8caf55..22b9d0799f7 100644 --- a/llvm/lib/MCA/Pipeline.cpp +++ b/llvm/lib/MCA/Pipeline.cpp @@ -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; } |