]> granicus.if.org Git - llvm/commit
[DAGCombine] Fold overlapping constant stores
authorNirav Dave <niravd@google.com>
Fri, 22 Feb 2019 16:00:19 +0000 (16:00 +0000)
committerNirav Dave <niravd@google.com>
Fri, 22 Feb 2019 16:00:19 +0000 (16:00 +0000)
commit4eee65a5d35fb33cea7c60726600fc49a7acf38e
treebc0617a63b9e6fe2dbbf5542fb18c29221c6fdf0
parent8ed2d5e37993fc0204b433e56d655b97e60a49a2
[DAGCombine] Fold overlapping constant stores

Fold a smaller constant store into larger constant stores immediately
preceeding it.

Reviewers: rnk, courbet

Subscribers: javed.absar, hiraditya, llvm-commits

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354676 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/SelectionDAGAddressAnalysis.h
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp
test/CodeGen/AArch64/ldst-paired-aliasing.ll
test/CodeGen/PowerPC/constant-combines.ll
test/CodeGen/X86/stores-merging.ll