Skip to content
Commit 8c1e5ec8 authored by Michael Kruse's avatar Michael Kruse
Browse files

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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment