diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2014-05-19 13:12:38 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2014-05-19 13:12:38 +0000 |
commit | f3ad23551ddf178496892c0e42d6df380ec13c89 (patch) | |
tree | c5d11954de565bc87ff68df835d5f322c20ff295 /clang/tools/driver/cc1as_main.cpp | |
parent | a3afc69b949768a3aa01865132d9e5bf22a7fe2d (diff) | |
download | bcm5719-llvm-f3ad23551ddf178496892c0e42d6df380ec13c89.tar.gz bcm5719-llvm-f3ad23551ddf178496892c0e42d6df380ec13c89.zip |
SDAG: Legalize vector BSWAP into a shuffle if the shuffle is legal but the bswap not.
- On ARM/ARM64 we get a vrev because the shuffle matching code is really smart. We still unroll anything that's not v4i32 though.
- On X86 we get a pshufb with SSSE3. Required more cleverness in isShuffleMaskLegal.
- On PPC we get a vperm for v8i16 and v4i32. v2i64 is unrolled.
llvm-svn: 209123
Diffstat (limited to 'clang/tools/driver/cc1as_main.cpp')
0 files changed, 0 insertions, 0 deletions