diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-01 00:59:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-01 00:59:19 +0000 |
commit | e87da6656250f7b9e0062f55a1e8490ba7b649c0 (patch) | |
tree | e0c8192993c4c1abb6a5468742c9f40f515e5baf /clang | |
parent | 9ef10f4638bce8c83cf08454bcbea036094ac465 (diff) | |
download | bcm5719-llvm-e87da6656250f7b9e0062f55a1e8490ba7b649c0.tar.gz bcm5719-llvm-e87da6656250f7b9e0062f55a1e8490ba7b649c0.zip |
adjust to changes in the mainline llvm .ll printer.
llvm-svn: 65745
Diffstat (limited to 'clang')
-rw-r--r-- | clang/test/CodeGen/cast-to-union.c | 4 | ||||
-rw-r--r-- | clang/test/CodeGen/const-init.c | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/clang/test/CodeGen/cast-to-union.c b/clang/test/CodeGen/cast-to-union.c index 2f10d6ce56d..9f0b080d950 100644 --- a/clang/test/CodeGen/cast-to-union.c +++ b/clang/test/CodeGen/cast-to-union.c @@ -1,7 +1,7 @@ // RUN: clang -emit-llvm < %s -o %t && // RUN: grep "store i32 351, i32*" %t && -// RUN: grep "w = global <{ i32, i8, i8, i8, i8 }> <{ i32 2, i8 0, i8 0, i8 0, i8 0 }>" %t && -// RUN: grep "y = global <{ double }> <{ double 7.300000e+01 }>" %t +// RUN: grep "w = global %0 <{ i32 2, i8 0, i8 0, i8 0, i8 0 }>" %t && +// RUN: grep "y = global %1 <{ double 7.300000e+01 }>" %t union u { int i; double d; }; diff --git a/clang/test/CodeGen/const-init.c b/clang/test/CodeGen/const-init.c index d88add36a92..30fc7552465 100644 --- a/clang/test/CodeGen/const-init.c +++ b/clang/test/CodeGen/const-init.c @@ -22,21 +22,21 @@ union s2 { int g0 = (int)(&(((union s2 *) 0)->f0.f0) - 0); -// RUN: grep '@g1x = global { double, double } { double 1.000000e+00, double 0.000000e+00 }' %t && +// RUN: grep '@g1x = global %. { double 1.000000e+00, double 0.000000e+00 }' %t && _Complex double g1x = 1.0f; -// RUN: grep '@g1y = global { double, double } { double 0.000000e+00, double 1.000000e+00 }' %t && +// RUN: grep '@g1y = global %. { double 0.000000e+00, double 1.000000e+00 }' %t && _Complex double g1y = 1.0fi; -// RUN: grep '@g1 = global { i8, i8 } { i8 1, i8 10 }' %t && +// RUN: grep '@g1 = global %. { i8 1, i8 10 }' %t && _Complex char g1 = (char) 1 + (char) 10 * 1i; // RUN: grep '@g2 = global .struct.__block_descriptor { i32 1, i32 10 }' %t && _Complex int g2 = 1 + 10i; -// RUN: grep '@g3 = global { float, float } { float 1.000000e+00, float 1.000000e+01 }' %t && +// RUN: grep '@g3 = global %. { float 1.000000e+00, float 1.000000e+01 }' %t && _Complex float g3 = 1.0 + 10.0i; -// RUN: grep '@g4 = global { double, double } { double 1.000000e+00, double 1.000000e+01 }' %t && +// RUN: grep '@g4 = global %. { double 1.000000e+00, double 1.000000e+01 }' %t && _Complex double g4 = 1.0 + 10.0i; // RUN: grep '@g5 = global .struct.__block_descriptor zeroinitializer' %t && _Complex int g5 = (2 + 3i) == (5 + 7i); -// RUN: grep '@g6 = global { double, double } { double -1.100000e+01, double 2.900000e+01 }' %t && +// RUN: grep '@g6 = global %. { double -1.100000e+01, double 2.900000e+01 }' %t && _Complex double g6 = (2.0 + 3.0i) * (5.0 + 7.0i); // RUN: grep '@g7 = global i32 1' %t && int g7 = (2 + 3i) * (5 + 7i) == (-11 + 29i); |