HomePhabricator

[MC] Adding code padding for performance stability - infrastructure. NFC.
Audit RequiredrL316413

Description

[MC] Adding code padding for performance stability - infrastructure. NFC.

Infrastructure designed for padding code with nop instructions in key places such that preformance improvement will be achieved.
The infrastructure is implemented such that the padding is done in the Assembler after the layout is done and all IPs and alignments are known.
This patch by itself in a NFC. Future patches will make use of this infrastructure to implement required policies for code padding.

Reviewers:
aaboud
zvi
craig.topper
gadi.haber

Differential revision: https://reviews.llvm.org/D34393

Change-Id: I92110d0c0a757080a8405636914a93ef6f8ad00e

Details

Auditors
grosbach
Committed
opaparoOct 23 2017, 11:16 PM
Differential Revision
D34393: [MC] Adding code padding for performance stability - infrastructure. NFC.
Parents
rL316412: X86: Register the X86CallFrameOptimization pass
Branches
Unknown
Tags
Unknown