summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/DAGDeltaAlgorithm.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2014-09-30 22:43:40 +0000
committerHal Finkel <hfinkel@anl.gov>2014-09-30 22:43:40 +0000
commitfd8631798970c5b527ec2ad071fe1582e5146ab5 (patch)
tree5d179a31335f22fa94cf84085c8270f195e81c3f /llvm/lib/Support/DAGDeltaAlgorithm.cpp
parent1cae849c04f343abb30817982633c369b6d90cda (diff)
downloadbcm5719-llvm-fd8631798970c5b527ec2ad071fe1582e5146ab5.tar.gz
bcm5719-llvm-fd8631798970c5b527ec2ad071fe1582e5146ab5.zip
[BasicAA] Make better use of zext and sign information
Two related things: 1. Fixes a bug when calculating the offset in GetLinearExpression. The code previously used zext to extend the offset, so negative offsets were converted to large positive ones. 2. Enhance aliasGEP to deduce that, if the difference between two GEP allocations is positive and all the variables that govern the offset are also positive (i.e. the offset is strictly after the higher base pointer), then locations that fit in the gap between the two base pointers are NoAlias. Patch by Nick White! llvm-svn: 218714
Diffstat (limited to 'llvm/lib/Support/DAGDeltaAlgorithm.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud