Fix typo "indicies" (#92232)
This commit is contained in:
1 parent
ccbf908b08
commit
1650f1b3d7
36 files changed
+114
-113
No files matched your search
@@ -986,7 +986,7 @@ void ModuleBitcodeWriter::writeTypeTable() {
|
||||
Stream.EnterSubblock(bitc::TYPE_BLOCK_ID_NEW, 4 /*count from # abbrevs */);
|
||||
SmallVector<uint64_t, 64> TypeVals;
|
||||
|
||||
uint64_t NumBits = VE.computeBitsRequiredForTypeIndicies();
|
||||
uint64_t NumBits = VE.computeBitsRequiredForTypeIndices();
|
||||
|
||||
// Abbrev for TYPE_CODE_OPAQUE_POINTER.
|
||||
auto Abbv = std::make_shared<BitCodeAbbrev>();
|
||||
@@ -3721,7 +3721,7 @@ void ModuleBitcodeWriter::writeBlockInfo() {
|
||||
auto Abbv = std::make_shared<BitCodeAbbrev>();
|
||||
Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_SETTYPE));
|
||||
Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed,
|
||||
VE.computeBitsRequiredForTypeIndicies()));
|
||||
VE.computeBitsRequiredForTypeIndices()));
|
||||
if (Stream.EmitBlockInfoAbbrev(bitc::CONSTANTS_BLOCK_ID, Abbv) !=
|
||||
CONSTANTS_SETTYPE_ABBREV)
|
||||
llvm_unreachable("Unexpected abbrev ordering!");
|
||||
@@ -3741,7 +3741,7 @@ void ModuleBitcodeWriter::writeBlockInfo() {
|
||||
Abbv->Add(BitCodeAbbrevOp(bitc::CST_CODE_CE_CAST));
|
||||
Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // cast opc
|
||||
Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, // typeid
|
||||
VE.computeBitsRequiredForTypeIndicies()));
|
||||
VE.computeBitsRequiredForTypeIndices()));
|
||||
Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 8)); // value id
|
||||
|
||||
if (Stream.EmitBlockInfoAbbrev(bitc::CONSTANTS_BLOCK_ID, Abbv) !=
|
||||
@@ -3763,7 +3763,7 @@ void ModuleBitcodeWriter::writeBlockInfo() {
|
||||
Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_LOAD));
|
||||
Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // Ptr
|
||||
Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, // dest ty
|
||||
VE.computeBitsRequiredForTypeIndicies()));
|
||||
VE.computeBitsRequiredForTypeIndices()));
|
||||
Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 4)); // Align
|
||||
Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 1)); // volatile
|
||||
if (Stream.EmitBlockInfoAbbrev(bitc::FUNCTION_BLOCK_ID, Abbv) !=
|
||||
@@ -3815,7 +3815,7 @@ void ModuleBitcodeWriter::writeBlockInfo() {
|
||||
Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_CAST));
|
||||
Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // OpVal
|
||||
Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, // dest ty
|
||||
VE.computeBitsRequiredForTypeIndicies()));
|
||||
VE.computeBitsRequiredForTypeIndices()));
|
||||
Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // opc
|
||||
if (Stream.EmitBlockInfoAbbrev(bitc::FUNCTION_BLOCK_ID, Abbv) !=
|
||||
FUNCTION_INST_CAST_ABBREV)
|
||||
@@ -3826,7 +3826,7 @@ void ModuleBitcodeWriter::writeBlockInfo() {
|
||||
Abbv->Add(BitCodeAbbrevOp(bitc::FUNC_CODE_INST_CAST));
|
||||
Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // OpVal
|
||||
Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, // dest ty
|
||||
VE.computeBitsRequiredForTypeIndicies()));
|
||||
VE.computeBitsRequiredForTypeIndices()));
|
||||
Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 4)); // opc
|
||||
Abbv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Fixed, 8)); // flags
|
||||
if (Stream.EmitBlockInfoAbbrev(bitc::FUNCTION_BLOCK_ID, Abbv) !=
|
||||
|
||||
Reference in new issue
Block a user