Skip to content

Commit d298f16

Browse files
committed
[NVPTX] Fix comment typos
1 parent bd517c2 commit d298f16

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -782,11 +782,11 @@ static unsigned int getCodeMemorySemantic(MemSDNode *N,
782782
// behavior due to lack of Independent Forward Progress. Lowering these
783783
// to weak memory operations in sm_60- is therefore fine.
784784
//
785-
// TODO: lower atomic and volatile operatios to memory locations
786-
// in local, const, and param to two PTX operations in sm_70+:
787-
// - the "weak" memory operation we are currently lowering to, and
788-
// - some other memory operation that preserves the side-effect, e.g.,
789-
// a dummy volatile load.
785+
// TODO: lower atomic and volatile operations to memory locations
786+
// in local, const, and param to two PTX instructions in sm_70+:
787+
// - the "weak" memory instruction we are currently lowering to, and
788+
// - some other instruction that preserves the side-effect, e.g.,
789+
// a dead dummy volatile load.
790790

791791
if (CodeAddrSpace == NVPTX::PTXLdStInstCode::LOCAL ||
792792
CodeAddrSpace == NVPTX::PTXLdStInstCode::CONSTANT ||

0 commit comments

Comments
 (0)