Return nullptr if MemoryAccess list is empty
Other places (e.g. hoistInvariantLoads) assume that an empty lookup will return nullptr. The situation can currently not arise because MemoryAccesses are not removed before hoistInvariantLoads. llvm-svn: 250627
Loading
Please sign in to comment