[llvm] r316859 - [X86] Fix typo in comment. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 28 23:51:02 PDT 2017


Author: ctopper
Date: Sat Oct 28 23:51:02 2017
New Revision: 316859

URL: http://llvm.org/viewvc/llvm-project?rev=316859&view=rev
Log:
[X86] Fix typo in comment. NFC

Modified:
    llvm/trunk/lib/Target/X86/X86ISelLowering.cpp

Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=316859&r1=316858&r2=316859&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Sat Oct 28 23:51:02 2017
@@ -31058,7 +31058,7 @@ static SDValue combineSetCCAtomicArith(S
   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.




More information about the llvm-commits mailing list