[PATCH] D14346: Reduce size of MCRelaxableFragment

Akira Hatanaka via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 5 15:32:47 PST 2015


ahatanak updated this revision to Diff 39425.
ahatanak added a comment.

Ah, thanks. I've made changes to use SpecificBumpPtrAllocator instead of SmallVector for copies of MCSubtargetInfo.

With this patch is applied, the memory usage when I run llc on verify-uselistorder.lto.bc (without debug info) decreased about 4%.


http://reviews.llvm.org/D14346

Files:
  include/llvm/MC/MCAssembler.h
  include/llvm/MC/MCContext.h
  include/llvm/MC/MCTargetAsmParser.h
  include/llvm/Support/TargetRegistry.h
  lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp
  lib/MC/MCContext.cpp
  lib/MC/MCParser/MCTargetAsmParser.cpp
  lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
  lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
  lib/Target/ARM/AsmParser/ARMAsmParser.cpp
  lib/Target/Mips/AsmParser/MipsAsmParser.cpp
  lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
  lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
  lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
  lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp
  lib/Target/X86/AsmParser/X86AsmInstrumentation.h
  lib/Target/X86/AsmParser/X86AsmParser.cpp
  utils/TableGen/AsmMatcherEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14346.39425.patch
Type: text/x-patch
Size: 42861 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151105/ea05f060/attachment-0001.bin>


More information about the llvm-commits mailing list