[all-commits] [llvm/llvm-project] 4b8602: [BasicAA] Unify struct/other offset (NFC)
Nikita Popov via All-commits
all-commits at lists.llvm.org
Sat Nov 7 09:56:29 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 4b860240a6e540d95f0d8b3453de93e73603b37e
https://github.com/llvm/llvm-project/commit/4b860240a6e540d95f0d8b3453de93e73603b37e
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2020-11-07 (Sat, 07 Nov 2020)
Changed paths:
M llvm/include/llvm/Analysis/BasicAliasAnalysis.h
M llvm/lib/Analysis/BasicAliasAnalysis.cpp
Log Message:
-----------
[BasicAA] Unify struct/other offset (NFC)
The distinction between StructOffset and OtherOffset has been
originally introduced by 82069c44ca39df9d506e16bfb0ca2481866dd0bb,
which applied different reasoning to both offset kinds. However,
this distinction was not actually correct, and has been fixed by
c84e77aeaefccb8d0c4c508b8017dcad80607f53. Since then, we only ever
consider the sum StructOffset + OtherOffset, so we may as well
store it in that form directly.
More information about the All-commits
mailing list