From 7a60e291858ecfc27d4bc014bf68014ed1312959 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Sun, 29 Oct 2017 06:51:02 +0000 Subject: [PATCH] [X86] Fix typo in comment. NFC llvm-svn: 316859 --- llvm/lib/Target/X86/X86ISelLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp index 900c99b..7fdfc32 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.cpp +++ b/llvm/lib/Target/X86/X86ISelLowering.cpp @@ -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. -- 2.7.4