]> granicus.if.org Git - llvm/commitdiff
[x86] Remove some essentially lying comments from the v4f64 path of the
authorChandler Carruth <chandlerc@gmail.com>
Sun, 21 Sep 2014 10:27:14 +0000 (10:27 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 21 Sep 2014 10:27:14 +0000 (10:27 +0000)
new vector shuffle lowering.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218204 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index b00709c2488ba2e40baec0eabd0652aec3c25b5e..cdc4cfdfc9a0c198e0c4e8df17d1187e1aa7ddb3 100644 (file)
@@ -9199,10 +9199,6 @@ static SDValue lowerV4F64VectorShuffle(SDValue Op, SDValue V1, SDValue V2,
   ArrayRef<int> Mask = SVOp->getMask();
   assert(Mask.size() == 4 && "Unexpected mask size for v4 shuffle!");
 
-  // FIXME: If we have AVX2, we should delegate to generic code as crossing
-  // shuffles aren't a problem and FP and int have the same patterns.
-
-  // FIXME: We can handle these more cleverly than splitting for v4f64.
   if (is128BitLaneCrossingShuffleMask(MVT::v4f64, Mask))
     return splitAndLower256BitVectorShuffle(Op, V1, V2, Subtarget, DAG);
 
@@ -9221,8 +9217,6 @@ static SDValue lowerV4F64VectorShuffle(SDValue Op, SDValue V1, SDValue V2,
     return DAG.getNode(X86ISD::UNPCKL, DL, MVT::v4f64, V1, V2);
   if (isShuffleEquivalent(Mask, 1, 5, 3, 7))
     return DAG.getNode(X86ISD::UNPCKH, DL, MVT::v4f64, V1, V2);
-  // FIXME: It would be nice to find a way to get canonicalization to commute
-  // these patterns.
   if (isShuffleEquivalent(Mask, 4, 0, 6, 2))
     return DAG.getNode(X86ISD::UNPCKL, DL, MVT::v4f64, V2, V1);
   if (isShuffleEquivalent(Mask, 5, 1, 7, 3))