[all-commits] [llvm/llvm-project] 957475: [MC] Delete MCCodePadder
Fangrui Song via All-commits
all-commits at lists.llvm.org
Mon Dec 9 19:24:29 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 9574757dba9d520a90252ba63b3d178e7d9ef00e
https://github.com/llvm/llvm-project/commit/9574757dba9d520a90252ba63b3d178e7d9ef00e
Author: Fangrui Song <maskray at google.com>
Date: 2019-12-09 (Mon, 09 Dec 2019)
Changed paths:
M llvm/include/llvm/CodeGen/AsmPrinter.h
M llvm/include/llvm/MC/MCAsmBackend.h
M llvm/include/llvm/MC/MCAssembler.h
R llvm/include/llvm/MC/MCCodePadder.h
M llvm/include/llvm/MC/MCFragment.h
M llvm/include/llvm/MC/MCObjectStreamer.h
M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
M llvm/lib/MC/CMakeLists.txt
M llvm/lib/MC/MCAsmBackend.cpp
M llvm/lib/MC/MCAssembler.cpp
R llvm/lib/MC/MCCodePadder.cpp
M llvm/lib/MC/MCFragment.cpp
M llvm/lib/MC/MCObjectStreamer.cpp
M llvm/utils/gn/secondary/llvm/lib/MC/BUILD.gn
Log Message:
-----------
[MC] Delete MCCodePadder
D34393 added MCCodePadder as an infrastructure for padding code with
NOP instructions. It lacked tests and was not being worked on since
then.
Intel has now worked on an assembler patch to mitigate performance loss
after applying microcode update for the Jump Conditional Code Erratum.
https://www.intel.com/content/www/us/en/support/articles/000055650/processors.html
This new patch shares similarity with MCCodePadder, but has a concrete
use case in mind and is being actively developed. The infrastructure it
introduces can potentially be used for general performance improvement
via alignment. Delete the unused MCCodePadder so that people can develop
the new feature from a clean state.
Reviewed By: jyknight, skan
Differential Revision: https://reviews.llvm.org/D71106
More information about the All-commits
mailing list