diff options
author | Sanjay Patel <spatel@rotateright.com> | 2019-06-24 15:20:49 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2019-06-24 15:20:49 +0000 |
commit | 89efefb170e893ad7dfe90cf973485ae8dac1af8 (patch) | |
tree | dcc37d4246f580b46a21660404f0c52c4fd9d19a /clang/test/OpenMP/parallel_codegen.cpp | |
parent | 5dbd9228c44716614f3ae2747fbd241be83382b6 (diff) | |
download | bcm5719-llvm-89efefb170e893ad7dfe90cf973485ae8dac1af8.tar.gz bcm5719-llvm-89efefb170e893ad7dfe90cf973485ae8dac1af8.zip |
[InstCombine] reduce funnel-shift i16 X, X, 8 to bswap X
Prefer the more exact intrinsic to remove a use of the input value
and possibly make further transforms easier (we will still need
to match patterns with funnel-shift of wider types as pieces of
bswap, especially if we want to canonicalize to funnel-shift with
constant shift amount). Discussed in D46760.
llvm-svn: 364187
Diffstat (limited to 'clang/test/OpenMP/parallel_codegen.cpp')
0 files changed, 0 insertions, 0 deletions