[PATCH] D19825: Power9 - Add exploitation of vector load and store that do not require swaps
Nemanja Ivanovic via llvm-commits
llvm-commits at lists.llvm.org
Tue May 3 12:55:05 PDT 2016
nemanjai added inline comments.
================
Comment at: lib/Target/PowerPC/PPCInstrVSX.td:2159
@@ +2158,3 @@
+
+ let AddedComplexity = 500 in {
+ def : Pat<(v2f64 (load xoaddr:$src)), (LXVX xoaddr:$src)>;
----------------
I'll add to the readme that patterns can be added to emit lxvd2x and friends in cases where we happen to want the elements in the reverse order (i.e. something like the vec_xl use as well as if the load is followed by a vector_shuffle that will reverse the elements).
Repository:
rL LLVM
http://reviews.llvm.org/D19825
More information about the llvm-commits
mailing list