Skip to content

Commit 08740a6

Browse files
authored
[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.
1 parent a9ba1b6 commit 08740a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/CodeGen/ISDOpcodes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1304,7 +1304,7 @@ enum NodeType {
13041304
/// This corresponds to "load atomic" instruction.
13051305
ATOMIC_LOAD,
13061306

1307-
/// OUTCHAIN = ATOMIC_STORE(INCHAIN, ptr, val)
1307+
/// OUTCHAIN = ATOMIC_STORE(INCHAIN, val, ptr)
13081308
/// This corresponds to "store atomic" instruction.
13091309
ATOMIC_STORE,
13101310

0 commit comments

Comments
 (0)