diff options
author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2018-04-20 19:38:37 +0000 |
---|---|---|
committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2018-04-20 19:38:37 +0000 |
commit | 41a24b7b139a63225c03b8dd8c25c335d611dec3 (patch) | |
tree | 92d22188d7ce5008e3612fdf687680a7f3b1cf40 /clang/unittests/libclang/LibclangTest.cpp | |
parent | aadbabc070427fd3eaa85bb406d3d1db4ea2bac7 (diff) | |
download | llvm-41a24b7b139a63225c03b8dd8c25c335d611dec3.zip llvm-41a24b7b139a63225c03b8dd8c25c335d611dec3.tar.gz llvm-41a24b7b139a63225c03b8dd8c25c335d611dec3.tar.bz2 |
[Hexagon] Improve HVX instruction selection (bitcast, vsplat)
There was some unfortunate interaction between VSPLAT and BITCAST
related to the selection of constant vectors (coming from selecting
shuffles). Introduce VSPLATW that always splats a 32-bit word, and
can have arbitrary result type (to avoid BITCASTs of VSPLAT).
Clean up the previous selection of BITCAST/VSPLAT.
llvm-svn: 330471
Diffstat (limited to 'clang/unittests/libclang/LibclangTest.cpp')
0 files changed, 0 insertions, 0 deletions