[MemoryLocation] Use getForArgument in getForSource/getForDest. (NFC)
getForArgument already knows how to extract a memory location for all memory intrinsics. Use it instead of duplicating the logic.
Loading
Please sign in to comment
getForArgument already knows how to extract a memory location for all memory intrinsics. Use it instead of duplicating the logic.