[all-commits] [llvm/llvm-project] 179abb: [X86][Disassembler] Replace custom logger with LLV...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Jan 11 12:17:10 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 179abb091d8a1d67115d21b54001d10250756042
      https://github.com/llvm/llvm-project/commit/179abb091d8a1d67115d21b54001d10250756042
  Author: Fangrui Song <maskray at google.com>
  Date:   2020-01-11 (Sat, 11 Jan 2020)

  Changed paths:
    M llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
    M llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.cpp
    M llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.h

  Log Message:
  -----------
  [X86][Disassembler] Replace custom logger with LLVM_DEBUG

llvm-objdump -d on clang is decreased from 7.8s to 7.4s.

The improvement is likely due to the elimination of logger setup and
dbgprintf(), which has a large overhead.




More information about the All-commits mailing list