summaryrefslogtreecommitdiffstats
path: root/libclc
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-10-05 19:14:34 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-10-05 19:14:34 +0000
commitdaa1ff985cd19e75860a4fb7ce6491c063354128 (patch)
treecd5871117d2fa0cddde3b29162a3aa55b071b716 /libclc
parent60b8662ea725c0d05a00bb7d944ec98a3dfa4fe6 (diff)
downloadbcm5719-llvm-daa1ff985cd19e75860a4fb7ce6491c063354128.tar.gz
bcm5719-llvm-daa1ff985cd19e75860a4fb7ce6491c063354128.zip
[x86, dag] Teach the DAG combiner to prune inputs toa vector_shuffle
that are unused. This allows the combiner to delete math feeding shuffles where the math isn't actually necessary. This improves some of the vperm2x128 tests that regressed when the vector shuffle lowering started actually generating vperm instructions rather than forcibly decomposing them. Sadly, this isn't enough to get this *really* right because we still form a completely unnecessary permutation. To fix that, we also need to fold shuffles which just rearrange concatenated or inserted subvectors. llvm-svn: 219086
Diffstat (limited to 'libclc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud