diff options
author | Chris Lattner <sabre@nondot.org> | 2011-07-12 05:53:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-07-12 05:53:08 +0000 |
commit | 73e3004e75fcb0a27786c6cc333dc2ffeaeba7e1 (patch) | |
tree | 3e123e50c6d1ecf1b281b834a6de92ec2b564d33 /clang/test/CodeGen/x86_64-arguments.c | |
parent | 6ebfbf5092e34836b17087f7b13af8afb20e1604 (diff) | |
download | bcm5719-llvm-73e3004e75fcb0a27786c6cc333dc2ffeaeba7e1.tar.gz bcm5719-llvm-73e3004e75fcb0a27786c6cc333dc2ffeaeba7e1.zip |
fix an unintended behavior change in the type system rewrite, which caused us to compile
stuff like this:
typedef struct {
int x, y, z;
} foo_t;
foo_t g;
into:
%"struct.<anonymous>" = type { i32, i32, i32 }
we now get:
%struct.foo_t = type { i32, i32, i32 }
This doesn't change the behavior of the compiler, but makes the IR much easier to read.
llvm-svn: 134969
Diffstat (limited to 'clang/test/CodeGen/x86_64-arguments.c')
-rw-r--r-- | clang/test/CodeGen/x86_64-arguments.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/x86_64-arguments.c b/clang/test/CodeGen/x86_64-arguments.c index b0218351657..221c7d38a73 100644 --- a/clang/test/CodeGen/x86_64-arguments.c +++ b/clang/test/CodeGen/x86_64-arguments.c @@ -58,7 +58,7 @@ struct s9 { int a; int b; int : 0; } f9(void) { while (1) {} } struct s10 { int a; int b; int : 0; }; void f10(struct s10 a0) {} -// CHECK: define void @f11(%"union.<anonymous>"* sret %agg.result) +// CHECK: define void @f11(%union.anon* sret %agg.result) union { long double a; float b; } f11() { while (1) {} } // CHECK: define i32 @f12_0() |