<div dir="ltr"><div>Hello, thanks to your advices now my pass is on good way (i hope), but i've faced one problem that i cannot solve by myself:<br>Running
all these passes (-basicaa -mem2reg -simplifycfg -loop-simplify
-loop-rotate -simplifycfg -instcombine -indvars -da) helped a lot, but
now i'm unable to find dependencies that are outside of the loop. <a href="http://f.eg">f.eg</a>.
code like this returns no dependencies (and no store/load instruction at
all).<br><br>int nonLoopDep( int A, int B, int C ) {<br> A = B + C;<br> B = A / C; <br> return B;<br>}<br><br></div>I've
figured out that removing -mem2reg and -instcombine helps a little but
it reports more dependencies than it should and also it messes up
looking for dependencies inside loops completly.<br></div>