[llvm-commits] [llvm] r61947 - /llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
Dan Gohman
gohman at apple.com
Thu Jan 8 14:14:50 PST 2009
Author: djg
Date: Thu Jan 8 16:14:50 2009
New Revision: 61947
URL: http://llvm.org/viewvc/llvm-project?rev=61947&view=rev
Log:
Correct the form of the atomic opcode names in a comment.
Modified:
llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h?rev=61947&r1=61946&r2=61947&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h (original)
+++ llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h Thu Jan 8 16:14:50 2009
@@ -633,8 +633,8 @@
// 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,
More information about the llvm-commits
mailing list