aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-01-08 22:14:50 +0000
committerDan Gohman <gohman@apple.com>2009-01-08 22:14:50 +0000
commita82a91850779f7c3a173a5828333dfd5162f855d (patch)
tree320be44f493d91b2489821f6f7530b6cdabe1d8f /include
parent4362387c74d8fb07ec914b3173abf834d639ff39 (diff)
downloadexternal_llvm-a82a91850779f7c3a173a5828333dfd5162f855d.zip
external_llvm-a82a91850779f7c3a173a5828333dfd5162f855d.tar.gz
external_llvm-a82a91850779f7c3a173a5828333dfd5162f855d.tar.bz2
Correct the form of the atomic opcode names in a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61947 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h
index 21cf986..9f86631 100644
--- a/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -633,8 +633,8 @@ namespace ISD {
// the return is always the original value in *ptr
ATOMIC_SWAP,
- // Val, OUTCHAIN = ATOMIC_L[OpName]S(INCHAIN, ptr, amt)
- // this corresponds to the atomic.[OpName] intrinsic.
+ // Val, OUTCHAIN = ATOMIC_LOAD_[OpName](INCHAIN, ptr, amt)
+ // this corresponds to the atomic.load.[OpName] intrinsic.
// op(*ptr, amt) is stored to *ptr atomically.
// the return is always the original value in *ptr
ATOMIC_LOAD_ADD,