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/regparm.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/regparm.c')
| -rw-r--r-- | clang/test/CodeGen/regparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/regparm.c b/clang/test/CodeGen/regparm.c index 86931bc245c..d628b685f94 100644 --- a/clang/test/CodeGen/regparm.c +++ b/clang/test/CodeGen/regparm.c @@ -20,7 +20,7 @@ void f1(int i, int j, int k) { } int main(void) { - // CHECK: call void @reduced(i8 signext inreg 0, {{.*}} %"struct.<anonymous>"* inreg null + // CHECK: call void @reduced(i8 signext inreg 0, {{.*}} %struct.foo* inreg null reduced(0, 0.0, 0, 0.0, 0); // CHECK: call x86_stdcallcc void {{.*}}(i32 inreg 1, i32 inreg 2) bar(1,2); |

