llvm.org GIT mirror llvm / 6483d8a
[llvm-exegesis] deserializeMCInst(): bump SmallVector small size up to 16 Summary: ... from 8. `VALIGNDZ128rmbik XMM0 XMM0 K1 XMM3 RDI i_0x1 i_0x0 i_0x1` instruction already has 9 components. It does not matter much in terms of performance, but avoiding allocation seems to come with low cost here.. Reviewers: courbet, gchatelet Reviewed By: courbet Subscribers: tschuett, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D57654 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@353022 91177308-0d34-0410-b5e6-96231b3b80d8 Roman Lebedev 1 year, 9 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
3939 }
4040
4141 void deserializeMCInst(llvm::StringRef String, llvm::MCInst &Value) {
42 llvm::SmallVector8> Pieces;
42 llvm::SmallVector16> Pieces;
4343 String.split(Pieces, " ", /* MaxSplit */ -1, /* KeepEmpty */ false);
4444 if (Pieces.empty()) {
4545 ErrorStream << "Unknown Instruction: '" << String << "'";