diff options
| author | Serge Pavlov <sepavloff@gmail.com> | 2014-05-11 08:46:12 +0000 |
|---|---|---|
| committer | Serge Pavlov <sepavloff@gmail.com> | 2014-05-11 08:46:12 +0000 |
| commit | 86118b4532f0790fe7168fcf00e61a09fa2e5362 (patch) | |
| tree | 246c01308e3e871a15cf1821ef239a5256faad67 /lib/Bitcode/Reader | |
| parent | 4ccf0ebb19ffcd22ee730d3c90112dea31d619f4 (diff) | |
| download | llvm-86118b4532f0790fe7168fcf00e61a09fa2e5362.tar.gz llvm-86118b4532f0790fe7168fcf00e61a09fa2e5362.tar.bz2 llvm-86118b4532f0790fe7168fcf00e61a09fa2e5362.tar.xz | |
Reorder shuffle and binary operation.
This patch enables transformations:
BinOp(shuffle(v1), shuffle(v2)) -> shuffle(BinOp(v1, v2))
BinOp(shuffle(v1), const1) -> shuffle(BinOp, const2)
They allow to eliminate extra shuffles in some cases.
Differential Revision: http://reviews.llvm.org/D3525
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208488 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader')
0 files changed, 0 insertions, 0 deletions
