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 | 9ef66a8266dc52cb60610096ca302c5d82700bf4 (patch) | |
tree | 5c10e665bad7b4c6a996e81f109d7eccc6ed9bf8 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 0e3d1cb5d6df971f02960f4d6433faed7c0b1367 (diff) | |
download | llvm-9ef66a8266dc52cb60610096ca302c5d82700bf4.zip llvm-9ef66a8266dc52cb60610096ca302c5d82700bf4.tar.gz llvm-9ef66a8266dc52cb60610096ca302c5d82700bf4.tar.bz2 |
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
llvm-svn: 208488
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions