forked from OSchip/llvm-project
[CodeGen] Initialize MaxBytesForAlignment in TargetLoweringBase::TargetLoweringBase.
This appears to be missing from D114590, causing sanitizer errors.
This commit is contained in:
parent
1a97138a1c
commit
fffd663c87
|
@ -715,6 +715,7 @@ TargetLoweringBase::TargetLoweringBase(const TargetMachine &tm) : TM(tm) {
|
|||
SchedPreferenceInfo = Sched::ILP;
|
||||
GatherAllAliasesMaxDepth = 18;
|
||||
IsStrictFPEnabled = DisableStrictNodeMutation;
|
||||
MaxBytesForAlignment = 0;
|
||||
// TODO: the default will be switched to 0 in the next commit, along
|
||||
// with the Target-specific changes necessary.
|
||||
MaxAtomicSizeInBitsSupported = 1024;
|
||||
|
|
Loading…
Reference in New Issue