diff options
author | Cameron Esfahani <dirty@apple.com> | 2010-09-15 10:52:02 +0000 |
---|---|---|
committer | Cameron Esfahani <dirty@apple.com> | 2010-09-15 10:52:02 +0000 |
commit | 70004ec4567a7eda48a82962b59512837a054dc5 (patch) | |
tree | 60ffbbd6342c6260900c13ea077598a7bb3b0e41 /clang/test/CodeGen/pointer-signext.c | |
parent | 5a948500c5a101e8d96acbd4f0824e2f37bc0fc8 (diff) | |
download | bcm5719-llvm-70004ec4567a7eda48a82962b59512837a054dc5.tar.gz bcm5719-llvm-70004ec4567a7eda48a82962b59512837a054dc5.zip |
Fix pointer-signext.c test case: it was relying on value names, which don't appear in the non-assert build. Switch to using check-next as well.
llvm-svn: 113964
Diffstat (limited to 'clang/test/CodeGen/pointer-signext.c')
-rw-r--r-- | clang/test/CodeGen/pointer-signext.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CodeGen/pointer-signext.c b/clang/test/CodeGen/pointer-signext.c index e6bdbcc86e4..23395a19cf6 100644 --- a/clang/test/CodeGen/pointer-signext.c +++ b/clang/test/CodeGen/pointer-signext.c @@ -3,9 +3,9 @@ // Under Windows 64, int and long are 32-bits. Make sure pointer math doesn't // cause any sign extensions. -// CHECK: %sub.ptr.sub = add i64 %param, -8 -// CHECK: %0 = inttoptr i64 %sub.ptr.sub to %struct.anon* -// CHECK: %tmp3 = getelementptr inbounds %struct.anon* %0, i64 0, i32 0 +// CHECK: [[P:%.*]] = add i64 %param, -8 +// CHECK-NEXT: [[Q:%.*]] = inttoptr i64 [[P]] to [[R:%.*]] +// CHECK-NEXT: {{%.*}} = getelementptr inbounds [[R]] [[Q]], i64 0, i32 0 #define CR(Record, TYPE, Field) \ ((TYPE *) ((unsigned char *) (Record) - (unsigned char *) &(((TYPE *) 0)->Field))) |