OSDN Git Service

[X86] Fix typo in comment. NFC
authorCraig Topper <craig.topper@intel.com>
Mon, 30 Jul 2018 17:34:31 +0000 (17:34 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 30 Jul 2018 17:34:31 +0000 (17:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338274 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index b4407e8..85e9f41 100644 (file)
@@ -38911,7 +38911,7 @@ static SDValue matchPMADDWD_2(SelectionDAG &DAG, SDValue N0, SDValue N1,
       std::swap(IdxN00, IdxN10);
       std::swap(IdxN01, IdxN11);
     }
-    // N0 indices be the even elemtn. N1 indices must be the next odd element.
+    // N0 indices be the even element. N1 indices must be the next odd element.
     if (IdxN00 != 2 * i || IdxN10 != 2 * i + 1 ||
         IdxN01 != 2 * i || IdxN11 != 2 * i + 1)
       return SDValue();