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
parent
05d7fa79
Please register or sign in to comment