[Attributor][NFC] Cleanup some AAMemoryLocation code
authorJohannes Doerfert <johannes@jdoerfert.de>
Tue, 5 May 2020 20:14:36 +0000 (15:14 -0500)
committerJohannes Doerfert <johannes@jdoerfert.de>
Wed, 6 May 2020 04:15:33 +0000 (23:15 -0500)
commitf01497244667d82a1d32b7e0c7b3059e7eeed995
tree8dae43d293a34dcdc0c775a4a2bfa48e8e457c2d
parent0cc9c022550e5dd8b0efd4526274ab082b86dc5c
[Attributor][NFC] Cleanup some AAMemoryLocation code

This is the first step to resolve a TODO in AAMemoryLocation and to fix
a bug we have when handling `byval` arguments of `readnone` call sites.

No functional change intended.
llvm/lib/Transforms/IPO/AttributorAttributes.cpp