Displaying 3 results from an estimated 3 matches for "indvars2".
Did you mean:
indvars
2017 Aug 09
2
ind variable
...l.01 = phi i32 [ 0, %0 ], [ %4, %2 ]
%3 = tail call i32 (i8*, ...) @printf(i8* nonnull getelementptr inbounds
([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %l.01)
%4 = add nuw nsw i32 %l.01, 4
%5 = icmp slt i32 %4, 1000
br i1 %5, label %2, label %1
}
I have this assembler.
I know there is indvars2 pass ( it is under llvm license but used only in
LegUp project - as I understood, surfing the Internet), which is good in
changing induction variables.
How can I achieve that this cycle will have a canonical indvar?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: &l...
2017 Aug 09
4
ind variable
...* nonnull getelementptr inbounds
> > ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i32 %l.01)
> > %4 = add nuw nsw i32 %l.01, 4
> > %5 = icmp slt i32 %4, 1000
> > br i1 %5, label %2, label %1
> > }
> >
> > I have this assembler.
> > I know there is indvars2 pass ( it is under llvm license but used only in
> > LegUp project - as I understood, surfing the Internet), which is good in
> > changing induction variables.
> >
> > How can I achieve that this cycle will have a canonical indvar?
> >
> ____________________________...
2017 Aug 14
2
PHI nodes and connected ICMp
Hi,
On Sun, Aug 13, 2017 at 5:58 AM, Anastasiya Ruzhanskaya via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> And still, aren't there any possibilities to find that phi node, that led
> SCEV to compute max trip count?
So there is no good answer to your question since in most cases SCEV
does not directly look at PHI nodes (or expressions based off of the
PHI node). It converts