<div dir="ltr"><div><div><div><div>Hi,<br><br></div>when looking at the available Alias Information after lowering,<br></div>it seems that the expansion of 'llvm.memcpy.p0i8.p0i8.i32' (and variants) onto<br></div>load/store machine instructions is resulting in load/stores for which no AAInfo is available in the MachineMemOperand.<br><br>Because of this we need to assume that they may alias with anything... This is painful if these copies come from copying smaller structs around..<br><br></div>Would the correct solution here be to propagate the tbaa ref on the intrinsic to the load/stores ? Or are there still more subtle dangers (like having a Value in the MachineMemOperand that does not relate to anything ?) <br><br><div><div><div><div><div><div><br></div><div>Greetings,<br></div><div><br><div class="gmail_signature">Jeroen Dobbelaere<br></div>
</div></div></div></div></div></div></div>