Skip to content
This repository was archived by the owner on Jan 1, 2023. It is now read-only.

Commit 80d9ea3

Browse files
author
Simon Pilgrim
committed
Tidyup comment that was destroyed by clang-format. NFCI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327141 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 28bfb18 commit 80d9ea3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/Target/X86/X86ISelLowering.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8020,9 +8020,10 @@ SDValue createVariablePermute(MVT VT, SDValue SrcVec, SDValue IndicesVec,
80208020
uint64_t IndexOffset = 0;
80218021

80228022
// If we're scaling a smaller permute op, then we need to repeat the
8023-
// indices, scaling and offsetting them as well. e.g. v4i32 -> v16i8 (Scale
8024-
// = 4) IndexScale = v4i32 Splat(4 << 24 | 4 << 16 | 4 << 8 | 4) indexOffset
8025-
// = v4i32 Splat(3 << 24 | 2 << 16 | 1 << 8 | 0)
8023+
// indices, scaling and offsetting them as well.
8024+
// e.g. v4i32 -> v16i8 (Scale = 4)
8025+
// IndexScale = v4i32 Splat(4 << 24 | 4 << 16 | 4 << 8 | 4)
8026+
// IndexOffset = v4i32 Splat(3 << 24 | 2 << 16 | 1 << 8 | 0)
80268027
for (uint64_t i = 0; i != Scale; ++i) {
80278028
IndexScale |= Scale << (i * ShuffleBits);
80288029
IndexOffset |= i << (i * ShuffleBits);

0 commit comments

Comments
 (0)