[all-commits] [llvm/llvm-project] 521134: [NFC][llvm-dwarfdump] Don't calculate unnecessary ...

Djordje Todorovic via All-commits all-commits at lists.llvm.org
Mon Feb 22 00:32:14 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 52113451fbee6c34a6024cf82186709431ff6f3a
      https://github.com/llvm/llvm-project/commit/52113451fbee6c34a6024cf82186709431ff6f3a
  Author: Djordje Todorovic <djordje.todorovic at syrmia.com>
  Date:   2021-02-22 (Mon, 22 Feb 2021)

  Changed paths:
    M llvm/tools/llvm-dwarfdump/Statistics.cpp

  Log Message:
  -----------
  [NFC][llvm-dwarfdump] Don't calculate unnecessary stats

Small optimization of the code -- No need to calculate any stats
for NULL nodes, and also no need to call the collectStatsForDie()
if it is the CU itself.

Differential Revision: https://reviews.llvm.org/D96871




More information about the All-commits mailing list