<div dir="ltr">Hello all,<div>I'm using the <i>DependenceAnalysisWrapperPass</i> to compute memory dependencies between instructions. However, for the following code, it finds no dependencies at all. </div><div>Is this Pass working?<div><br></div><div><div>define i32 @foo(i32 %a, float %b) {</div><div> %1 = alloca i32, align 4 </div><div> store i32 %a, i32* %1, align 4</div><div> %2 = load i32, i32* %1, align 4</div><div> ret i32 %2</div><div>} </div><div><br></div><div>I also noticed that there is a <i>MemoryDependenceAnalysis</i> Pass. Which one should I use? </div></div><div><br><div>Thanks,</div><div>Juan</div></div></div></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><p dir="ltr">Juan Manuel Martinez Caamaño</p>
</div>