From: David Blaikie Date: Sat, 14 Feb 2015 00:26:13 +0000 (+0000) Subject: Adjust test case to be compatible with future changes to explicitly pass the type... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a8e112272be9d82ba964e4b1694539b4606b2436;p=clang Adjust test case to be compatible with future changes to explicitly pass the type to getelementptr git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@229196 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/pointer-signext.c b/test/CodeGen/pointer-signext.c index e809effb2b..ac51ffcdfb 100644 --- a/test/CodeGen/pointer-signext.c +++ b/test/CodeGen/pointer-signext.c @@ -4,8 +4,8 @@ // cause any sign extensions. // CHECK: [[P:%.*]] = add i64 %param, -8 -// CHECK-NEXT: [[Q:%.*]] = inttoptr i64 [[P]] to [[R:%.*\*]] -// CHECK-NEXT: {{%.*}} = getelementptr inbounds [[R]] [[Q]], i64 0, i32 0 +// 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)))