From 5fac9279da0467660b9c1dd01264232249873ebd 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316859 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86ISelLowering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 900c99be808..7fdfc32780e 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/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.40.0