================
@@ -37,8 +41,66 @@ bool TargetInfo::isPromotableInteger(const IntegerType *IT)
const {
return BitWidth < 32;
}
-ArgInfo TargetInfo::getNaturalAlignIndirect(const Type *Ty, bool ByVal) const {
- return ArgInfo::getIndirect(Ty->getAlignment(), ByVal);
+ArgInfo TargetInfo::getNaturalAlignIndirect(const Type *Ty, bool ByVal,
+ unsigned AddrSpace) const {
+ return ArgInfo::getIndirect(Ty->getAlignment(), ByVal, AddrSpace);
+}
+
+const Type *TargetInfo::isSingleElementStruct(const Type *Ty) const {
----------------
aobolensk wrote:
Reverted this part for now. Yes, let's re-apply it later
https://github.com/llvm/llvm-project/pull/223259
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits