[llvm] 08740a6 - [CodeGen] Fix documentation for ISD::ATOMIC_STORE. NFC (#108126)

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 11 21:07:06 PDT 2024


Author: Peilin Ye
Date: 2024-09-11T21:07:03-07:00
New Revision: 08740a6157375c4173023f28fc9e90689afee5ba

URL: https://github.com/llvm/llvm-project/commit/08740a6157375c4173023f28fc9e90689afee5ba
DIFF: https://github.com/llvm/llvm-project/commit/08740a6157375c4173023f28fc9e90689afee5ba.diff

LOG: [CodeGen] Fix documentation for ISD::ATOMIC_STORE. NFC (#108126)

Update ISDOpcodes.h documentation according to commit ad9d13d
("SelectionDAG: Swap operands of atomic_store") for less confusion.

Added: 
    

Modified: 
    llvm/include/llvm/CodeGen/ISDOpcodes.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/CodeGen/ISDOpcodes.h b/llvm/include/llvm/CodeGen/ISDOpcodes.h
index 65514882343dbe..18ed60ebb124dc 100644
--- a/llvm/include/llvm/CodeGen/ISDOpcodes.h
+++ b/llvm/include/llvm/CodeGen/ISDOpcodes.h
@@ -1304,7 +1304,7 @@ enum NodeType {
   /// This corresponds to "load atomic" instruction.
   ATOMIC_LOAD,
 
-  /// OUTCHAIN = ATOMIC_STORE(INCHAIN, ptr, val)
+  /// OUTCHAIN = ATOMIC_STORE(INCHAIN, val, ptr)
   /// This corresponds to "store atomic" instruction.
   ATOMIC_STORE,
 


        


More information about the llvm-commits mailing list