r229196 - Adjust test case to be compatible with future changes to explicitly pass the type to getelementptr

David Blaikie dblaikie at gmail.com
Fri Feb 13 16:26:13 PST 2015


Author: dblaikie
Date: Fri Feb 13 18:26:13 2015
New Revision: 229196

URL: http://llvm.org/viewvc/llvm-project?rev=229196&view=rev
Log:
Adjust test case to be compatible with future changes to explicitly pass the type to getelementptr

Modified:
    cfe/trunk/test/CodeGen/pointer-signext.c

Modified: cfe/trunk/test/CodeGen/pointer-signext.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/pointer-signext.c?rev=229196&r1=229195&r2=229196&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/pointer-signext.c (original)
+++ cfe/trunk/test/CodeGen/pointer-signext.c Fri Feb 13 18:26:13 2015
@@ -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)))





More information about the cfe-commits mailing list