diff options
Diffstat (limited to 'clang/lib/Basic/Targets/OSTargets.h')
-rw-r--r-- | clang/lib/Basic/Targets/OSTargets.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/Basic/Targets/OSTargets.h b/clang/lib/Basic/Targets/OSTargets.h index 18239a2ec77..6cc3c095557 100644 --- a/clang/lib/Basic/Targets/OSTargets.h +++ b/clang/lib/Basic/Targets/OSTargets.h @@ -113,6 +113,9 @@ public: } this->MCountName = "\01mcount"; + + // Cap vector alignment at 16 bytes for all Darwin platforms. + this->MaxVectorAlign = 128; } std::string isValidSectionSpecifier(StringRef SR) const override { |