[PATCH] Add direct moves to/from VSR and exploit them for FP/INT conversions

Nemanja Ivanovic nemanja.i.ibm at gmail.com
Thu Apr 9 20:48:32 PDT 2015


REPOSITORY
  rL LLVM

================
Comment at: lib/Target/PowerPC/PPCISelLowering.cpp:6060
@@ +6059,3 @@
+    FP = DAG.getNode(PPCISD::MTVSRA, dl, MVT::f64, Src);
+    // To prevent unnecessary double rounding, convert directly to single
+    // precision if the target value is single precision
----------------
This comment is now redundant. I forgot to remove it prior to uploading the patch. It is removed from my source tree so it won't show up in the final commit (or the next review if one is necessary).

http://reviews.llvm.org/D8928

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






More information about the llvm-commits mailing list