aboutsummaryrefslogtreecommitdiff
path: root/lib/Basic/Targets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Basic/Targets.cpp')
-rw-r--r--lib/Basic/Targets.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp
index 43a21f2734..45d313b2ed 100644
--- a/lib/Basic/Targets.cpp
+++ b/lib/Basic/Targets.cpp
@@ -5102,8 +5102,11 @@ public:
// the direction suggested here:
// https://bugzilla.mozilla.org/show_bug.cgi?id=904913#c21
// We can still set the preferred alignment to 16 bytes though.
+ //
+ // Set the natural stack alignment to 16 bytes to accomodate 128-bit
+ // aligned vectors.
DescriptionString = "e-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-"
- "f32:32:32-f64:64:64-p:32:32:32-v128:32:128-n32";
+ "f32:32:32-f64:64:64-p:32:32:32-v128:32:128-n32-S128";
}
void getDefaultFeatures(llvm::StringMap<bool> &Features) const {