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

Omer Paparo Bivas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 20 04:25:30 PDT 2017


opaparo created this revision.
Herald added subscribers: javed.absar, mgorny.

Implementation of padding code with nop instructions in key places that will cause performance improvement.
The implementation is such that the adding of the nops is done in the Assembler after the layout is done and all IPs and alignments are known.
The patch is the result of this RFC: http://lists.llvm.org/pipermail/llvm-dev/2016-November/107223.html
This is the first patch of the implemented solution, and contains only the infrastructure needed for this change (this by itself is a NFC).


Repository:
  rL LLVM

https://reviews.llvm.org/D34393

Files:
  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\MC\MCCodePadder.cpp
  test/CodeGen/AArch64/arm64-opt-remarks-lazy-bfi.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34393.103181.patch
Type: text/x-patch
Size: 49375 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170620/8c37880f/attachment-0001.bin>


More information about the llvm-commits mailing list