[PATCH] D39840: [MC][X86] Code padding for performance stability - Branch instructions and targets alignment

Omer Paparo Bivas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 13 08:45:44 PST 2017


opaparo updated this revision to Diff 122662.
opaparo added a comment.

Now using MCInstrDesc via MCInstrInfo instead of checking for specific opcodes.
Checked in the test and rebased to make changes more clear.
Added a negative test.
Fixed some typos.


https://reviews.llvm.org/D39840

Files:
  lib/MC/MCCodePadder.cpp
  lib/Target/X86/MCTargetDesc/CMakeLists.txt
  lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
  lib/Target/X86/MCTargetDesc/X86MCCodePadder.cpp
  lib/Target/X86/MCTargetDesc/X86MCCodePadder.h
  test/CodeGen/X86/branch_instruction_and_target_split_perf_nops.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39840.122662.patch
Type: text/x-patch
Size: 14888 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171113/7795dfa7/attachment.bin>


More information about the llvm-commits mailing list