summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--polly/test/Isl/CodeGen/pointer-type-expressions.ll2
-rw-r--r--polly/test/Isl/CodeGen/pointer-type-pointer-type-comparison.ll2
2 files changed, 2 insertions, 2 deletions
diff --git a/polly/test/Isl/CodeGen/pointer-type-expressions.ll b/polly/test/Isl/CodeGen/pointer-type-expressions.ll
index 1e941cdb3a0..913905b9fb2 100644
--- a/polly/test/Isl/CodeGen/pointer-type-expressions.ll
+++ b/polly/test/Isl/CodeGen/pointer-type-expressions.ll
@@ -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;
; }
diff --git a/polly/test/Isl/CodeGen/pointer-type-pointer-type-comparison.ll b/polly/test/Isl/CodeGen/pointer-type-pointer-type-comparison.ll
index 32912e34395..ee9ce5c04be 100644
--- a/polly/test/Isl/CodeGen/pointer-type-pointer-type-comparison.ll
+++ b/polly/test/Isl/CodeGen/pointer-type-pointer-type-comparison.ll
@@ -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;
; }
;
OpenPOWER on IntegriCloud