diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-04-16 16:01:22 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-04-16 16:01:22 +0000 | 
| commit | 71d5a2540a98c81f5bcaeb48805e0e2881f530ef (patch) | |
| tree | 5343938942df402b49ec7300a1c25a2d4ccd5821 /test/Analysis/LoopAccessAnalysis/multiple-strides-rt-memory-checks.ll | |
| parent | 31bbf64f3a4974a2d6c8b3b27ad2f519caf74057 (diff) | |
Diffstat (limited to 'test/Analysis/LoopAccessAnalysis/multiple-strides-rt-memory-checks.ll')
| -rw-r--r-- | test/Analysis/LoopAccessAnalysis/multiple-strides-rt-memory-checks.ll | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Analysis/LoopAccessAnalysis/multiple-strides-rt-memory-checks.ll b/test/Analysis/LoopAccessAnalysis/multiple-strides-rt-memory-checks.ll index 87a6c18ab303..60c2a3930b5c 100644 --- a/test/Analysis/LoopAccessAnalysis/multiple-strides-rt-memory-checks.ll +++ b/test/Analysis/LoopAccessAnalysis/multiple-strides-rt-memory-checks.ll @@ -13,9 +13,9 @@  ;	int v3[Z][Z];  ; } s;  ; -; void slow_function (s* const obj) { +; void slow_function (s* const obj, int z) {  ;    for (int j=0; j<Z; j++) { -;        for (int k=0; k<Z; k++) { +;        for (int k=0; k<z; k++) {  ;            int x = obj->v1[k] + obj->v2[j];  ;            obj->v3[j][k] += x;  ;        } @@ -35,7 +35,7 @@ target triple = "x86_64-unknown-linux-gnu"  %struct.s = type { [32 x i32], [32 x i32], [32 x [32 x i32]] } -define void @Test(%struct.s* nocapture %obj) #0 { +define void @Test(%struct.s* nocapture %obj, i64 %z) #0 {    br label %.outer.preheader @@ -63,6 +63,6 @@ define void @Test(%struct.s* nocapture %obj) #0 {    %8 = add nsw i32 %5, %7    store i32 %8, i32* %6      %j.next = add nuw nsw i64 %j, 1 -  %exitcond.inner = icmp eq i64 %j.next, 32 +  %exitcond.inner = icmp eq i64 %j.next, %z    br i1 %exitcond.inner, label %.outer, label %.inner  }  | 
