[X86] Fix typo in comment. NFC
authorCraig Topper <craig.topper@intel.com>
Sun, 29 Oct 2017 06:51:02 +0000 (06:51 +0000)
committerCraig Topper <craig.topper@intel.com>
Sun, 29 Oct 2017 06:51:02 +0000 (06:51 +0000)
llvm-svn: 316859

llvm/lib/Target/X86/X86ISelLowering.cpp

index 900c99b..7fdfc32 100644 (file)
@@ -31058,7 +31058,7 @@ static SDValue combineSetCCAtomicArith(SDValue Cmp, X86::CondCode &CC,
   APInt Comparison = CmpRHSC->getAPIntValue();
 
   // If the addend is the negation of the comparison value, then we can do
-  // a full comparison by emitting the atomic arithmetic is a locked sub.
+  // a full comparison by emitting the atomic arithmetic as a locked sub.
   if (Comparison == -Addend) {
     // The CC is fine, but we need to rewrite the LHS of the comparison as an
     // atomic sub.