Revert "[IR] Increase max alignment to 4GB"
This reverts commit df84c1fe78.
Breaks some bots
This commit is contained in:
@@ -3055,11 +3055,7 @@ void ModuleBitcodeWriter::writeInstruction(const Instruction &I,
|
||||
Vals.push_back(VE.getValueID(I.getOperand(0))); // size.
|
||||
using APV = AllocaPackedValues;
|
||||
unsigned Record = 0;
|
||||
unsigned EncodedAlign = getEncodedAlign(AI.getAlign());
|
||||
Bitfield::set<APV::AlignLower>(
|
||||
Record, EncodedAlign & ((1 << APV::AlignLower::Bits) - 1));
|
||||
Bitfield::set<APV::AlignUpper>(Record,
|
||||
EncodedAlign >> APV::AlignLower::Bits);
|
||||
Bitfield::set<APV::Align>(Record, getEncodedAlign(AI.getAlign()));
|
||||
Bitfield::set<APV::UsedWithInAlloca>(Record, AI.isUsedWithInAlloca());
|
||||
Bitfield::set<APV::ExplicitType>(Record, true);
|
||||
Bitfield::set<APV::SwiftError>(Record, AI.isSwiftError());
|
||||
|
||||
Reference in New Issue
Block a user