Ignore, /// Ignore the argument (treat as void). Useful for
/// void and empty structs.
- Expand, /// Only valid for aggregate argument types. The
+ Expand, /// Only valid for aggregate argument types. The
/// structure should be expanded into consecutive
/// arguments for its constituent fields. Currently
/// expand is only allowed on structures whose fields
}
case ABIArgInfo::Extend:
- case ABIArgInfo::Direct:
+ case ABIArgInfo::Direct: {
// If the coerce-to type is a first class aggregate, flatten it. Either
// way is semantically identical, but fast-isel and the optimizer
// generally likes scalar values better than FCAs.
ArgTys.push_back(ArgTy);
}
break;
+ }
case ABIArgInfo::Expand:
GetExpandedTypes(it->type, ArgTys, IsRecursive);