[PATCH] Add VSX Scalar loads and stores to the PPC back end

Nemanja Ivanovic nemanja.i.ibm at gmail.com
Fri May 1 11:52:48 PDT 2015


REPOSITORY
  rL LLVM

================
Comment at: lib/Target/PowerPC/PPCInstrVSX.td:937
@@ +936,3 @@
+def : Pat<(f64 (extloadf32 xoaddr:$src)),
+          (COPY_TO_REGCLASS (LXSSPX xaddr:$src), VSFRC)>;
+def : Pat<(f64 (fextend f32:$src)),
----------------
There is no semantic difference, but for consistency, this will be updated to replace xaddr with xoaddr.

================
Comment at: lib/Target/PowerPC/PPCInstrVSX.td:1033
@@ -972,3 +1032,3 @@
 
-let Predicates = [HasDirectMove, HasVSX] in {
+let Predicates = [HasVSX] in {
 // VSX direct move instructions
----------------
This was removed in response to a comment to the commit for the "direct moves" patch. The requirement is redundant since the DAG nodes only come from the custom lowering code and that code is guarded for direct moves.

http://reviews.llvm.org/D9440

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list