]> granicus.if.org Git - clang/commitdiff
Adjust test case to be compatible with future changes to explicitly pass the type...
authorDavid Blaikie <dblaikie@gmail.com>
Sat, 14 Feb 2015 00:26:13 +0000 (00:26 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sat, 14 Feb 2015 00:26:13 +0000 (00:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@229196 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/pointer-signext.c

index e809effb2b10086b8327e59937c7ca4e0d2be3d5..ac51ffcdfb3cacc02cd15361d69e5295f050f9f8 100644 (file)
@@ -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)))