[PATCH] D34393: Adding code padding for performance stability - infrastructure

Omer Paparo Bivas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 12 06:47:49 PDT 2017


opaparo updated this revision to Diff 106196.
opaparo added a comment.
Herald added a subscriber: sdardis.

Removed unwanted dependencies introduces in my previous patch: MC layer no longer depends on CodeGen, Core or Target. This was achieved by introducing a new structure named MCCodePaddingContext that is being created by AsmPrinter and passed on to the MC layer (all the way to MCCodePadder). This replaces the direct use of TargetMachine, MachineBasicBlock, MachineFunction and MachineLoopInfo by the MCCodePadder.
Note: This time I used "svn diff -x -U999999" to create the patch, so comparison between this patch and the previous one may prove to be challenging (This had to be done for future work and review).


https://reviews.llvm.org/D34393

Files:
  include/llvm/CodeGen/AsmPrinter.h
  include/llvm/MC/MCAsmBackend.h
  include/llvm/MC/MCAssembler.h
  include/llvm/MC/MCCodePadder.h
  include/llvm/MC/MCFragment.h
  include/llvm/MC/MCObjectStreamer.h
  include/llvm/MC/MCStreamer.h
  include\llvm\MC\MCCodePadder.h
  lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  lib/MC/CMakeLists.txt
  lib/MC/MCAsmBackend.cpp
  lib/MC/MCAssembler.cpp
  lib/MC/MCCodePadder.cpp
  lib/MC/MCFragment.cpp
  lib/MC/MCObjectStreamer.cpp
  lib/Target/Mips/MipsAsmPrinter.cpp
  lib/Target/X86/X86AsmPrinter.h
  lib\MC\MCCodePadder.cpp
  test/CodeGen/AArch64/arm64-opt-remarks-lazy-bfi.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34393.106196.patch
Type: text/x-patch
Size: 49811 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170712/04d012a5/attachment-0001.bin>


More information about the llvm-commits mailing list