Skip to content

Commit af3b119

Browse files
committed
[NVPTX] Fix comment typos
1 parent bb593c2 commit af3b119

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
@@ -768,11 +768,11 @@ static unsigned int getCodeMemorySemantic(MemSDNode *N,
768768
// behavior due to lack of Independent Forward Progress. Lowering these
769769
// to weak memory operations in sm_60- is therefore fine.
770770
//
771-
// TODO: lower atomic and volatile operatios to memory locations
772-
// in local, const, and param to two PTX operations in sm_70+:
773-
// - the "weak" memory operation we are currently lowering to, and
774-
// - some other memory operation that preserves the side-effect, e.g.,
775-
// a dummy volatile load.
771+
// TODO: lower atomic and volatile operations to memory locations
772+
// in local, const, and param to two PTX instructions in sm_70+:
773+
// - the "weak" memory instruction we are currently lowering to, and
774+
// - some other instruction that preserves the side-effect, e.g.,
775+
// a dead dummy volatile load.
776776

777777
if (CodeAddrSpace == NVPTX::PTXLdStInstCode::LOCAL ||
778778
CodeAddrSpace == NVPTX::PTXLdStInstCode::CONSTANT ||

0 commit comments

Comments
 (0)