[llvm] fa23405 - [GlobalISel][Legalizer] Bump up a smallvector size that was found to be too small. NFC.
Amara Emerson via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 29 14:41:41 PDT 2021
Author: Amara Emerson
Date: 2021-04-29T14:41:34-07:00
New Revision: fa2340574c5b3208eaa17bf021be92cda7b6d308
URL: https://github.com/llvm/llvm-project/commit/fa2340574c5b3208eaa17bf021be92cda7b6d308
DIFF: https://github.com/llvm/llvm-project/commit/fa2340574c5b3208eaa17bf021be92cda7b6d308.diff
LOG: [GlobalISel][Legalizer] Bump up a smallvector size that was found to be too small. NFC.
Added:
Modified:
llvm/lib/CodeGen/GlobalISel/LegalizerInfo.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/GlobalISel/LegalizerInfo.cpp b/llvm/lib/CodeGen/GlobalISel/LegalizerInfo.cpp
index dfc4034e11ac..5a7908ed8118 100644
--- a/llvm/lib/CodeGen/GlobalISel/LegalizerInfo.cpp
+++ b/llvm/lib/CodeGen/GlobalISel/LegalizerInfo.cpp
@@ -485,7 +485,7 @@ LegalizerInfo::getAction(const LegalityQuery &Query) const {
LegalizeActionStep
LegalizerInfo::getAction(const MachineInstr &MI,
const MachineRegisterInfo &MRI) const {
- SmallVector<LLT, 2> Types;
+ SmallVector<LLT, 8> Types;
SmallBitVector SeenTypes(8);
const MCOperandInfo *OpInfo = MI.getDesc().OpInfo;
// FIXME: probably we'll need to cache the results here somehow?
More information about the llvm-commits
mailing list