Correct the form of the atomic opcode names in a comment.
authorDan Gohman <gohman@apple.com>
Thu, 8 Jan 2009 22:14:50 +0000 (22:14 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 8 Jan 2009 22:14:50 +0000 (22:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61947 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAGNodes.h

index 21cf9864d4cd16e03461d3fb940bebc6959143d9..9f866316eb5646c525b7bf358a245f1b90d5a6c6 100644 (file)
@@ -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,