summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2018-02-16 16:22:14 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2018-02-16 16:22:14 +0000
commitff53a4a23467dde54233e1b7fe51e8049dfb6dda (patch)
tree87ab1d8f3dc4727df9d63888d6cf87a94c7f4551 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent65da14d6c8538428356e8450d9bd50a140abd04e (diff)
downloadbcm5719-llvm-ff53a4a23467dde54233e1b7fe51e8049dfb6dda.tar.gz
bcm5719-llvm-ff53a4a23467dde54233e1b7fe51e8049dfb6dda.zip
[SelectionDAG] Enable SimplifyDemandedVectorElts support for simplifying shuffle masks
Based off the DemandedElts mask the and UNDEF elements returned from the SimplifyDemandedVectorElts calls to the shuffle operands, we can attempt to simplify the shuffle mask. I had to be very conservative here as accepting post-legalized shuffle masks could cause problems for targets that legalize UNDEF mask elements back to inrange values (PowerPC), similarly combining to identity shuffle masks could cause too much UNDEF information to disappear for later combines. llvm-svn: 325354
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud