diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-03-26 08:02:59 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-03-26 08:02:59 +0000 |
commit | 150c4a1a89478f36af776f9146288afd528b33da (patch) | |
tree | 06ccdd85476d621f3f43e21a08ac8512ffeb7967 /lib/Analysis/ConstantFolding.cpp | |
parent | c77a10fe0a40861bcb4bd2a0c170c948a57be688 (diff) |
Rework the logic that determines if a store completely overlaps an ealier store.
There are two ways that a later store can comletely overlap a previous store:
1. They both start at the same offset, but the earlier store's size is <= the
later's size, or
2. The earlier store's offset is > the later's offset, but it's offset + size
doesn't extend past the later's offset + size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128332 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ConstantFolding.cpp')
0 files changed, 0 insertions, 0 deletions