search for: phynod

Displaying 2 results from an estimated 2 matches for "phynod".

Did you mean: phynode
2011 Jun 19
3
[LLVMdev] Question about IndVarSimplify
...; preds = %for.cond ret void } Running *opt -loop-simplify < test.il -S* gives me the same output, which is what i would expect. The problem is that running *opt -indvars < test.il -S* gives, again, the same output, but i would expect that i starts from 0 and is, eventualy, defined using a PHYNode. What it's wrong with what i'm doing? Thank you. Have a nice day -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110619/b3ec22bc/attachment.html>
2011 Jun 19
0
[LLVMdev] Question about IndVarSimplify
...> } > > Running opt -loop-simplify < test.il -S gives me the same output, which is > what i would expect. > The problem is that running opt -indvars < test.il -S gives, again, the same > output, but i would expect that i starts from 0 and is, eventualy,  defined > using a PHYNode. > > What it's wrong with what i'm doing? You aren't running a normal pass pipeline; in particular, not running mem2reg/scalarrepl first prevents a lot of optimizations from working as expected. -Eli