]> granicus.if.org Git - clang/commit
[CodeGen] Propagate LValueBaseInfo instead of AlignmentSource
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Thu, 18 May 2017 17:07:11 +0000 (17:07 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Thu, 18 May 2017 17:07:11 +0000 (17:07 +0000)
commite593e0f4671cd626b208f7340725005118192e8d
treecb565aee03f128bfd5bee1f4af735724a872a870
parent88423634c5b7688be89586484a68e5a1167b1280
[CodeGen] Propagate LValueBaseInfo instead of AlignmentSource

The functions creating LValues propagated information about alignment
source. Extend the propagated data to also include information about
possible unrestricted aliasing. A new class LValueBaseInfo will
contain both AlignmentSource and MayAlias info.

This patch should not introduce any functional changes.

Differential Revision: https://reviews.llvm.org/D33284

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@303358 91177308-0d34-0410-b5e6-96231b3b80d8
13 files changed:
lib/CodeGen/CGAtomic.cpp
lib/CodeGen/CGBlocks.cpp
lib/CodeGen/CGBuiltin.cpp
lib/CodeGen/CGClass.cpp
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGExprCXX.cpp
lib/CodeGen/CGObjC.cpp
lib/CodeGen/CGObjCRuntime.cpp
lib/CodeGen/CGOpenMPRuntime.cpp
lib/CodeGen/CGStmtOpenMP.cpp
lib/CodeGen/CGValue.h
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenFunction.h