Tidyup comment that was destroyed by clang-format. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 9 Mar 2018 15:50:09 +0000 (15:50 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 9 Mar 2018 15:50:09 +0000 (15:50 +0000)
llvm-svn: 327141

llvm/lib/Target/X86/X86ISelLowering.cpp

index ade6922..18d0cf0 100644 (file)
@@ -8020,9 +8020,10 @@ SDValue createVariablePermute(MVT VT, SDValue SrcVec, SDValue IndicesVec,
     uint64_t IndexOffset = 0;
 
     // If we're scaling a smaller permute op, then we need to repeat the
-    // indices, scaling and offsetting them as well. e.g. v4i32 -> v16i8 (Scale
-    // = 4) IndexScale = v4i32 Splat(4 << 24 | 4 << 16 | 4 << 8 | 4) indexOffset
-    // = v4i32 Splat(3 << 24 | 2 << 16 | 1 << 8 | 0)
+    // indices, scaling and offsetting them as well.
+    // e.g. v4i32 -> v16i8 (Scale = 4)
+    // IndexScale = v4i32 Splat(4 << 24 | 4 << 16 | 4 << 8 | 4)
+    // IndexOffset = v4i32 Splat(3 << 24 | 2 << 16 | 1 << 8 | 0)
     for (uint64_t i = 0; i != Scale; ++i) {
       IndexScale |= Scale << (i * ShuffleBits);
       IndexOffset |= i << (i * ShuffleBits);