Remove the 's' DataLayout specification
[oota-llvm.git] / lib / Target / AArch64 / AArch64ISelLowering.cpp
index 548e76e52189ff00aa84f9ef7dd4482b41222607..882b5280fa14a0e374abcf9dd0e1870cab5d4634 100644 (file)
@@ -1346,6 +1346,12 @@ AArch64TargetLowering::LowerReturn(SDValue Chain,
                      &RetOps[0], RetOps.size());
 }
 
+unsigned AArch64TargetLowering::getByValTypeAlignment(Type *Ty) const {
+  // This is a new backend. For anything more precise than this a FE should
+  // set an explicit alignment.
+  return 4;
+}
+
 SDValue
 AArch64TargetLowering::LowerCall(CallLoweringInfo &CLI,
                                  SmallVectorImpl<SDValue> &InVals) const {