Skip to content

Commit

Permalink
[NVPTX] Fix comment typos
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalobg committed Jul 15, 2024
1 parent bd517c2 commit d298f16
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -782,11 +782,11 @@ static unsigned int getCodeMemorySemantic(MemSDNode *N,
// behavior due to lack of Independent Forward Progress. Lowering these
// to weak memory operations in sm_60- is therefore fine.
//
// TODO: lower atomic and volatile operatios to memory locations
// in local, const, and param to two PTX operations in sm_70+:
// - the "weak" memory operation we are currently lowering to, and
// - some other memory operation that preserves the side-effect, e.g.,
// a dummy volatile load.
// TODO: lower atomic and volatile operations to memory locations
// in local, const, and param to two PTX instructions in sm_70+:
// - the "weak" memory instruction we are currently lowering to, and
// - some other instruction that preserves the side-effect, e.g.,
// a dead dummy volatile load.

if (CodeAddrSpace == NVPTX::PTXLdStInstCode::LOCAL ||
CodeAddrSpace == NVPTX::PTXLdStInstCode::CONSTANT ||
Expand Down

0 comments on commit d298f16

Please sign in to comment.