Skip to content

Commit 6b54518

Browse files
committed
[X86] Fix typo in comment. NFC
llvm-svn: 333382
1 parent c58f9b7 commit 6b54518

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/X86/X86InstrInfo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5182,7 +5182,7 @@ static bool commuteVPTERNLOG(MachineInstr &MI, unsigned SrcOpIdx1,
51825182
return true;
51835183
}
51845184

5185-
// Returns true if this is a VPERMI2 or VPERMT2 instrution that can be
5185+
// Returns true if this is a VPERMI2 or VPERMT2 instruction that can be
51865186
// commuted.
51875187
static bool isCommutableVPERMV3Instruction(unsigned Opcode) {
51885188
#define VPERM_CASES(Suffix) \
@@ -5223,7 +5223,7 @@ static bool isCommutableVPERMV3Instruction(unsigned Opcode) {
52235223
}
52245224

52255225
// Returns commuted opcode for VPERMI2 and VPERMT2 instructions by switching
5226-
// from the I opcod to the T opcode and vice versa.
5226+
// from the I opcode to the T opcode and vice versa.
52275227
static unsigned getCommutedVPERMV3Opcode(unsigned Opcode) {
52285228
#define VPERM_CASES(Orig, New) \
52295229
case X86::Orig##128rr: return X86::New##128rr; \

0 commit comments

Comments
 (0)