diff options
author | Dan Gohman <gohman@apple.com> | 2009-01-08 22:14:50 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-01-08 22:14:50 +0000 |
commit | 385d246e0d452bd9647fb91e49c63b91db9fd7be (patch) | |
tree | 66a4c4341db13db4a7f378ab27287376647c0707 | |
parent | b48fc71fc63a00ca9351b9bff5710615853d4e28 (diff) | |
download | bcm5719-llvm-385d246e0d452bd9647fb91e49c63b91db9fd7be.tar.gz bcm5719-llvm-385d246e0d452bd9647fb91e49c63b91db9fd7be.zip |
Correct the form of the atomic opcode names in a comment.
llvm-svn: 61947
-rw-r--r-- | llvm/include/llvm/CodeGen/SelectionDAGNodes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h index 21cf9864d4c..9f866316eb5 100644 --- a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/llvm/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, |