[all-commits] [llvm/llvm-project] 3d86ab: [X86][MC] Emit instructions into SmallVector
aengelke via All-commits
all-commits at lists.llvm.org
Tue Apr 11 02:50:24 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3d86ab9d462fbde82197ca095df6510b83d83eb7
https://github.com/llvm/llvm-project/commit/3d86ab9d462fbde82197ca095df6510b83d83eb7
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2023-04-11 (Tue, 11 Apr 2023)
Changed paths:
M llvm/include/llvm/MC/MCCodeEmitter.h
M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
M llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
Log Message:
-----------
[X86][MC] Emit instructions into SmallVector
Depends on 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).
Reviewed By: MaskRay, Amir
Differential Revision: https://reviews.llvm.org/D145792
More information about the All-commits
mailing list