[PATCH] D18996: [PPC] Enable shuffling of VSX vectors

Hal Finkel via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 26 15:30:32 PDT 2016


hfinkel accepted this revision.
This revision is now accepted and ready to land.

================
Comment at: lib/Target/PowerPC/PPCISelLowering.cpp:11928
@@ -11929,3 +11927,3 @@
 }
 
 Sched::Preference PPCTargetLowering::getSchedulingPreference(SDNode *N) const {
----------------
You can remove this too:

  if (VT == MVT::v2i64)
    return Subtarget.hasDirectMove(); // Don't need stack ops with direct moves

With that, LGTM.


http://reviews.llvm.org/D18996





More information about the llvm-commits mailing list