[PATCH] D75357: [X86] Add a local function DeterminePaddingPrefix for X86AsmBackend
Kan Shengchen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 28 08:24:22 PST 2020
skan created this revision.
skan added reviewers: annita.zhang, reames, MaskRay, craig.topper, LuoYuanke, jyknight.
Herald added a project: LLVM.
X86 can reduce the bytes of NOP by padding instructions with prefixes to get a better peformance in some cases. So a local function `DeterminePaddingPrefix` is added to determine which prefix is the most suitable.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D75357
Files:
llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75357.247272.patch
Type: text/x-patch
Size: 3847 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200228/b8048bd2/attachment.bin>
More information about the llvm-commits
mailing list