[FIX] Correct two C snippets in test cases
authorJohannes Doerfert <doerfert@cs.uni-saarland.de>
Thu, 29 Jan 2015 00:50:46 +0000 (00:50 +0000)
committerJohannes Doerfert <doerfert@cs.uni-saarland.de>
Thu, 29 Jan 2015 00:50:46 +0000 (00:50 +0000)
llvm-svn: 227407

polly/test/Isl/CodeGen/pointer-type-expressions.ll
polly/test/Isl/CodeGen/pointer-type-pointer-type-comparison.ll

index 1e941cd..913905b 100644 (file)
@@ -4,7 +4,7 @@
 ; void f(int a[], int N, float *P) {
 ;   int i;
 ;   for (i = 0; i < N; ++i)
-;     if (*P != 0)
+;     if (P != 0)
 ;       a[i] = i;
 ; }
 
index 32912e3..ee9ce5c 100644 (file)
@@ -4,7 +4,7 @@
 ;    void f(int a[], int N, float *P, float *Q) {
 ;      int i;
 ;      for (i = 0; i < N; ++i)
-;        if ((P + 1) != Q)
+;        if (P != Q)
 ;          a[i] = i;
 ;    }
 ;