[llvm] 616737c - [TableGen] Use std:vector instead of SmallVector for the list of CompressPatterns. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 22 15:43:10 PDT 2025
Author: Craig Topper
Date: 2025-03-22T15:33:55-07:00
New Revision: 616737c386776b0cfbda888a4d52e6036ccf1af8
URL: https://github.com/llvm/llvm-project/commit/616737c386776b0cfbda888a4d52e6036ccf1af8
DIFF: https://github.com/llvm/llvm-project/commit/616737c386776b0cfbda888a4d52e6036ccf1af8.diff
LOG: [TableGen] Use std:vector instead of SmallVector for the list of CompressPatterns. NFC
There are very likely more than 4 compress patterns.
Added:
Modified:
llvm/utils/TableGen/CompressInstEmitter.cpp
Removed:
################################################################################
diff --git a/llvm/utils/TableGen/CompressInstEmitter.cpp b/llvm/utils/TableGen/CompressInstEmitter.cpp
index 1def8b1ab2290..fe6db222f6b36 100644
--- a/llvm/utils/TableGen/CompressInstEmitter.cpp
+++ b/llvm/utils/TableGen/CompressInstEmitter.cpp
@@ -122,7 +122,7 @@ class CompressInstEmitter {
enum EmitterType { Compress, Uncompress, CheckCompress };
const RecordKeeper &Records;
const CodeGenTarget Target;
- SmallVector<CompressPat, 4> CompressPatterns;
+ std::vector<CompressPat> CompressPatterns;
void addDagOperandMapping(const Record *Rec, const DagInit *Dag,
const CodeGenInstruction &Inst,
More information about the llvm-commits
mailing list