Skip to content

Commit 51437fc

Browse files
committed
update explanatory comment
1 parent 83ec81c commit 51437fc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/lib/Target/AArch64/AArch64PerfectShuffle.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6708,8 +6708,9 @@ inline bool isTRNMask(ArrayRef<int> M, unsigned NumElts,
67086708
if (NumElts % 2 != 0)
67096709
return false;
67106710

6711-
// "Variant" refers to the distinction bwetween trn1 and trn2, while
6712-
// "Order" refers to sequence of input registers (matching vs flipped).
6711+
// "Result" corresponds to "WhichResultOut", selecting between trn1 and trn2.
6712+
// "Order" corresponds to "OperandOrderOut", selecting the order of operands
6713+
// for the instruction (flipped or not).
67136714
bool Result0Order0 = true; // WhichResultOut = 0, OperandOrderOut = 0
67146715
bool Result1Order0 = true; // WhichResultOut = 1, OperandOrderOut = 0
67156716
bool Result0Order1 = true; // WhichResultOut = 0, OperandOrderOut = 1

0 commit comments

Comments
 (0)