[PATCH] D145792: [X86][MC] Emit instructions into SmallVector
Alexis Engelke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 10 06:57:39 PST 2023
aengelke created this revision.
aengelke added reviewers: RKSimon, MaskRay, craig.topper.
Herald added subscribers: pengfei, hiraditya.
Herald added a project: All.
aengelke requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Depends on D145791 <https://reviews.llvm.org/D145791>
Storing instruction bytes directly in a SmallVector instead of a
raw_ostream yields better encoding performance (in some applications,
the improvment is ~1% of the complete back-end time).
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D145792
Files:
llvm/include/llvm/MC/MCCodeEmitter.h
llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145792.504135.patch
Type: text/x-patch
Size: 36069 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230310/1ef0e6f7/attachment.bin>
More information about the llvm-commits
mailing list