llvm.org GIT mirror llvm / f6f4d23
[ThinLTO] Add parenthesis as per build warning Fixes a warning about "||" and "&&" due to r291108. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291119 91177308-0d34-0410-b5e6-96231b3b80d8 Teresa Johnson 2 years ago
1 changed file(s) with 2 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
5656 return false;
5757
5858 if (isPerformingImport()) {
59 assert(!GlobalsToImport->count(SGV) ||
60 !isNonRenamableLocal(*SGV) &&
61 "Attempting to promote non-renamable local");
59 assert((!GlobalsToImport->count(SGV) || !isNonRenamableLocal(*SGV)) &&
60 "Attempting to promote non-renamable local");
6261 // We don't know for sure yet if we are importing this value (as either
6362 // a reference or a def), since we are simply walking all values in the
6463 // module. But by necessity if we end up importing it and it is local,