aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2020-08-08 12:22:40 -0400
committerMatt Arsenault <Matthew.Arsenault@amd.com>2020-08-20 16:17:30 -0400
commit79ce9bb3803998fc2a20ce1c88392cf292f35f92 (patch)
treed86367187c2f2518625d928715122bdf048c4715 /llvm/lib/CodeGen/MachineInstr.cpp
parent18b218007db69627bb651bb2a548afe92d615cd3 (diff)
downloadllvm-79ce9bb3803998fc2a20ce1c88392cf292f35f92.zip
llvm-79ce9bb3803998fc2a20ce1c88392cf292f35f92.tar.gz
llvm-79ce9bb3803998fc2a20ce1c88392cf292f35f92.tar.bz2
CodeGen: Don't drop AA metadata when splitting MachineMemOperands
Assuming this is used to split a memory access into smaller pieces, the new access should still have the same aliasing properties as the original memory access. As far as I can tell, this wasn't intentionally dropped. It may be necessary to drop this if you are moving the operand outside of the bounds of the original object in such a way that it may alias another IR object, but I don't think any of the existing users are doing this. Some of the uses widen into unused alignment padding, which I think is OK.
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions