diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2022-02-24 17:29:31 -0600 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2022-03-06 21:28:38 -0600 |
commit | 5859ae6a5dbe341cd5fae963644ce40ad083e592 (patch) | |
tree | c6d01a8301cf4d2af29ed849df51032715432008 /clang/lib/Basic/Module.cpp | |
parent | 1fcd4d0e3b5046198f23f81f7ede9d47911ebcdc (diff) | |
download | llvm-5859ae6a5dbe341cd5fae963644ce40ad083e592.zip llvm-5859ae6a5dbe341cd5fae963644ce40ad083e592.tar.gz llvm-5859ae6a5dbe341cd5fae963644ce40ad083e592.tar.bz2 |
[Attributor][FIX] Use maximal access for dereferenceability deduction
While we can use range information when we derive dereferenceability we
must make sure to pick he right end of the range. Before we always went
with the minimal offset, which is not correct if we want to combine
the base dereferenceability with some offset. In that case it's the
maximum that gives the correct result.
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions