search for: strong3

Displaying 5 results from an estimated 5 matches for "strong3".

Did you mean: strong
2012 Sep 19
2
[LLVMdev] sign extensions, SCEVs, and wrap flags
Given the following SCEV, *(sext i32 {2,+,1}<nw><%for.body> to i64)* from the following C source, *void strong3(int *A, int *B, int n) {* * for (int i = 0; i < n; i++) {* * A[i + 2] = i;* * ...* * }* *}* Since the No-Wrap flag is set on the addrec, can't I safely rewrite it as *{2,+,1}<nw><%for.body>* If I can, why isn't the SCEV package simplifying things for me? Thanks,...
2012 Sep 19
0
[LLVMdev] sign extensions, SCEVs, and wrap flags
On Sep 18, 2012, at 8:21 PM, Preston Briggs <preston.briggs at gmail.com> wrote: > Given the following SCEV, > > (sext i32 {2,+,1}<nw><%for.body> to i64) > > from the following C source, > > void strong3(int *A, int *B, int n) { > for (int i = 0; i < n; i++) { > A[i + 2] = i; > ... > } > } > > Since the No-Wrap flag is set on the addrec, can't I safely rewrite it as > > {2,+,1}<nw><%for.body> > > If I can, why isn't the SCEV pac...
2012 Sep 19
2
[LLVMdev] sign extensions, SCEVs, and wrap flags
...<atrick at apple.com> wrote: > > On Sep 18, 2012, at 8:21 PM, Preston Briggs <preston.briggs at gmail.com> > wrote: > > Given the following SCEV, > > *(sext i32 {2,+,1}<nw><%for.body> to i64)* > > > from the following C source, > > *void strong3(int *A, int *B, int n) {* > * for (int i = 0; i < n; i++) {* > * A[i + 2] = i;* > * ...* > * }* > *}* > > > Since the No-Wrap flag is set on the addrec, can't I safely rewrite it as > > *{2,+,1}<nw><%for.body>* > > > If I can, why is...
2012 Sep 20
0
[LLVMdev] sign extensions, SCEVs, and wrap flags
...e.com> wrote: > > On Sep 18, 2012, at 8:21 PM, Preston Briggs <preston.briggs at gmail.com> wrote: > >> Given the following SCEV, >> >> (sext i32 {2,+,1}<nw><%for.body> to i64) >> >> from the following C source, >> >> void strong3(int *A, int *B, int n) { >> for (int i = 0; i < n; i++) { >> A[i + 2] = i; >> ... >> } >> } >> >> Since the No-Wrap flag is set on the addrec, can't I safely rewrite it as >> >> {2,+,1}<nw><%for.body> >> &...
2012 Sep 20
3
[LLVMdev] sign extensions, SCEVs, and wrap flags
...t;> On Sep 18, 2012, at 8:21 PM, Preston Briggs <preston.briggs at gmail.com> >> wrote: >> >> Given the following SCEV, >> >> *(sext i32 {2,+,1}<nw><%for.body> to i64)* >> >> >> from the following C source, >> >> *void strong3(int *A, int *B, int n) {* >> * for (int i = 0; i < n; i++) {* >> * A[i + 2] = i;* >> * ...* >> * }* >> *}* >> >> >> Since the No-Wrap flag is set on the addrec, can't I safely rewrite it as >> >> *{2,+,1}<nw><%for.b...