summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCQPXLoadSplat.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2018-10-30 10:32:11 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2018-10-30 10:32:11 +0000
commit858303b827f0cfcc242ed7852cc36b7dd5a0e95c (patch)
tree6214b0a7f678e413bd8a8f97deebc32f97fdc9d7 /llvm/lib/Target/PowerPC/PPCQPXLoadSplat.cpp
parent4538ed3b85b1b77a1ca4cec1c1dc57a9a0d38fee (diff)
downloadbcm5719-llvm-858303b827f0cfcc242ed7852cc36b7dd5a0e95c.tar.gz
bcm5719-llvm-858303b827f0cfcc242ed7852cc36b7dd5a0e95c.zip
[SelectionDAG] Add FoldBUILD_VECTOR to simplify new BUILD_VECTOR nodes
Similar to FoldCONCAT_VECTORS, this patch adds FoldBUILD_VECTOR to simplify cases that can avoid the creation of the BUILD_VECTOR - if all the operands are UNDEF or if the BUILD_VECTOR simplifies to a copy. This exposed an assumption in some AMDGPU code that getBuildVector was guaranteed to be a BUILD_VECTOR node that I've tried to handle. Differential Revision: https://reviews.llvm.org/D53760 llvm-svn: 345578
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCQPXLoadSplat.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud