Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit 5fac927

Browse files
committed
[X86] Fix typo in comment. NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316859 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent e821fb0 commit 5fac927

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Target/X86/X86ISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31058,7 +31058,7 @@ static SDValue combineSetCCAtomicArith(SDValue Cmp, X86::CondCode &CC,
3105831058
APInt Comparison = CmpRHSC->getAPIntValue();
3105931059

3106031060
// If the addend is the negation of the comparison value, then we can do
31061-
// a full comparison by emitting the atomic arithmetic is a locked sub.
31061+
// a full comparison by emitting the atomic arithmetic as a locked sub.
3106231062
if (Comparison == -Addend) {
3106331063
// The CC is fine, but we need to rewrite the LHS of the comparison as an
3106431064
// atomic sub.

0 commit comments

Comments
 (0)