diff options
author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2018-10-26 03:19:13 +0000 |
---|---|---|
committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | 2018-10-26 03:19:13 +0000 |
commit | 6a74bfba20489e3707673c393bf7a1495cd1506a (patch) | |
tree | aa2b94d1b2e8a782fc4166dd459367897b3be4a8 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 98ac9984b0ffecb050eb3d70ca0c1132e797b3f1 (diff) | |
download | llvm-6a74bfba20489e3707673c393bf7a1495cd1506a.zip llvm-6a74bfba20489e3707673c393bf7a1495cd1506a.tar.gz llvm-6a74bfba20489e3707673c393bf7a1495cd1506a.tar.bz2 |
[PowerPC] Keep vector int to fp conversions in vector domain
At present a v2i16 -> v2f64 convert is implemented by extracts to scalar,
scalar converts, and merge back into a vector. Use vector converts instead,
with the int data permuted into the proper position and extended if necessary.
Patch by RolandF.
Differential revision: https://reviews.llvm.org/D53346
llvm-svn: 345361
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions