summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-05-28 19:33:06 +0000
committerCraig Topper <craig.topper@intel.com>2018-05-28 19:33:06 +0000
commit6b545182fbab96e6656a09e6d75d66935843d356 (patch)
tree744b1d7067b2d151b042cad8f195c802a4862b81
parentc58f9b787f209e2296f482cf4de77ff3dfa70f81 (diff)
downloadbcm5719-llvm-6b545182fbab96e6656a09e6d75d66935843d356.tar.gz
bcm5719-llvm-6b545182fbab96e6656a09e6d75d66935843d356.zip
[X86] Fix typo in comment. NFC
llvm-svn: 333382
-rw-r--r--llvm/lib/Target/X86/X86InstrInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/X86InstrInfo.cpp b/llvm/lib/Target/X86/X86InstrInfo.cpp
index b836b940c93..fc36879a169 100644
--- a/llvm/lib/Target/X86/X86InstrInfo.cpp
+++ b/llvm/lib/Target/X86/X86InstrInfo.cpp
@@ -5182,7 +5182,7 @@ static bool commuteVPTERNLOG(MachineInstr &MI, unsigned SrcOpIdx1,
return true;
}
-// Returns true if this is a VPERMI2 or VPERMT2 instrution that can be
+// Returns true if this is a VPERMI2 or VPERMT2 instruction that can be
// commuted.
static bool isCommutableVPERMV3Instruction(unsigned Opcode) {
#define VPERM_CASES(Suffix) \
@@ -5223,7 +5223,7 @@ static bool isCommutableVPERMV3Instruction(unsigned Opcode) {
}
// Returns commuted opcode for VPERMI2 and VPERMT2 instructions by switching
-// from the I opcod to the T opcode and vice versa.
+// from the I opcode to the T opcode and vice versa.
static unsigned getCommutedVPERMV3Opcode(unsigned Opcode) {
#define VPERM_CASES(Orig, New) \
case X86::Orig##128rr: return X86::New##128rr; \
OpenPOWER on IntegriCloud