mirror of
https://github.com/intel/llvm.git
synced 2026-02-05 04:46:27 +08:00
Finish r144971, which was an incomplete commit.
llvm-svn: 144972
This commit is contained in:
@@ -688,7 +688,7 @@ ABIArgInfo X86_32ABIInfo::classifyArgumentType(QualType Ty) const {
|
||||
}
|
||||
|
||||
// Ignore empty structs/unions.
|
||||
if (isEmptyRecord(Context, Ty, true))
|
||||
if (isEmptyRecord(getContext(), Ty, true))
|
||||
return ABIArgInfo::getIgnore();
|
||||
|
||||
// Expand small (<= 128-bit) record types when we know that the stack layout
|
||||
|
||||
@@ -317,7 +317,7 @@ int f63(int i, ...) {
|
||||
return s.y;
|
||||
}
|
||||
|
||||
// CHECK: define i32 @f64(%struct.s64* nocapture byval align 4 %x)
|
||||
// CHECK: define void @f64(%struct.s64* byval align 4 %x)
|
||||
struct s64 { signed char a[0]; signed char b[]; };
|
||||
void f64(struct s64 x) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user