summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineRegionInfo.cpp
diff options
context:
space:
mode:
authorIvan A. Kosarev <ikosarev@accesssoftek.com>2017-11-08 11:42:21 +0000
committerIvan A. Kosarev <ikosarev@accesssoftek.com>2017-11-08 11:42:21 +0000
commitd60a3cc395c1cce4f3a205679f3bd8add15991cb (patch)
tree3f0bb5485c3b2556f5d54efee53cd588b1c1b06a /llvm/lib/CodeGen/MachineRegionInfo.cpp
parent789f7ca265e2d8ad33d7c39e2fdcd51a01c83944 (diff)
downloadbcm5719-llvm-d60a3cc395c1cce4f3a205679f3bd8add15991cb.tar.gz
bcm5719-llvm-d60a3cc395c1cce4f3a205679f3bd8add15991cb.zip
[Analysis] Fix merging TBAA tags with different final access types
There are cases when we have to merge TBAA access tags with the same base access type, but different final access types. For example, accesses to different members of the same structure may be vectorized into a single load or store instruction. Since we currently assume that the tags to merge always share the same final access type, we incorrectly return a tag that describes an access to one of the original final access types as the generic tag. This patch fixes that by producing generic tags for the common type and not the final access types of the original tags. Resolves: PR35225: Wrong tbaa metadata after load store vectorizer due to recent change https://bugs.llvm.org/show_bug.cgi?id=35225 Differential Revision: https://reviews.llvm.org/D39732 llvm-svn: 317682
Diffstat (limited to 'llvm/lib/CodeGen/MachineRegionInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud