[cfe-commits] r144972 - in /cfe/trunk: lib/CodeGen/TargetInfo.cpp test/CodeGen/x86_32-arguments-darwin.c
Eli Friedman
eli.friedman at gmail.com
Thu Nov 17 20:01:36 PST 2011
Author: efriedma
Date: Thu Nov 17 22:01:36 2011
New Revision: 144972
URL: http://llvm.org/viewvc/llvm-project?rev=144972&view=rev
Log:
Finish r144971, which was an incomplete commit.
Modified:
cfe/trunk/lib/CodeGen/TargetInfo.cpp
cfe/trunk/test/CodeGen/x86_32-arguments-darwin.c
Modified: cfe/trunk/lib/CodeGen/TargetInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/TargetInfo.cpp?rev=144972&r1=144971&r2=144972&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/TargetInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/TargetInfo.cpp Thu Nov 17 22:01:36 2011
@@ -688,7 +688,7 @@
}
// 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
Modified: cfe/trunk/test/CodeGen/x86_32-arguments-darwin.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/x86_32-arguments-darwin.c?rev=144972&r1=144971&r2=144972&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/x86_32-arguments-darwin.c (original)
+++ cfe/trunk/test/CodeGen/x86_32-arguments-darwin.c Thu Nov 17 22:01:36 2011
@@ -317,7 +317,7 @@
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) {}
More information about the cfe-commits
mailing list