summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-10-29 06:51:02 +0000
committerCraig Topper <craig.topper@intel.com>2017-10-29 06:51:02 +0000
commit7a60e291858ecfc27d4bc014bf68014ed1312959 (patch)
tree8e599c90d9ce2659a8963bc971406f3a1958bc27 /llvm/lib
parent8ba8b028796e8802ef469adb442e1f279fce89c6 (diff)
downloadbcm5719-llvm-7a60e291858ecfc27d4bc014bf68014ed1312959.tar.gz
bcm5719-llvm-7a60e291858ecfc27d4bc014bf68014ed1312959.zip
[X86] Fix typo in comment. NFC
llvm-svn: 316859
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 900c99be808..7fdfc32780e 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.
OpenPOWER on IntegriCloud