[PATCH] D57511: [DebugInfo] Stop changing labels for register-described parameter DBG_VALUEs

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 7 13:18:26 PST 2019


aprantl added inline comments.


================
Comment at: lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp:240
           const DIExpression *Fragment = I->first->getDebugExpression();
           if (std::all_of(Ranges.begin(), I,
                           [&](DbgValueHistoryMap::InstrRange Pred) {
----------------
Does this become more readable by changing it to

```
   if (!std::all_of(...))
    break;
  if (!IsDescribedByRef(...))
```
?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57511/new/

https://reviews.llvm.org/D57511





More information about the llvm-commits mailing list