summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAllocFast.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2019-05-27 20:26:21 +0000
committerSanjay Patel <spatel@rotateright.com>2019-05-27 20:26:21 +0000
commit2f99d009c1f7557ca5ee8eb55a02dd605710976d (patch)
tree84324b5bed2219ac5aa650d38e465269d11df9a2 /llvm/lib/CodeGen/RegAllocFast.cpp
parente32ff096858578f526b6d05ab97c8f083f2e1834 (diff)
downloadbcm5719-llvm-2f99d009c1f7557ca5ee8eb55a02dd605710976d.tar.gz
bcm5719-llvm-2f99d009c1f7557ca5ee8eb55a02dd605710976d.zip
[SelectionDAG] fold concat of extract subvectors
This is derived from the related fold for build vectors. We also have a version of this in DAGCombiner. The benefit of having this fold at node creation time is (1) efficiency and (2) preventing infinite looping from creating patterns that should not exist in the first place. Currently, the inf-loop could happen with MergeConsecutiveStores() because it naively creates concat of extracts when forming a wider vector store. That could fight with target-specific store narrowing. llvm-svn: 361780
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocFast.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud