From d298f169288aebfabbd1326ab9cb11078967e0c1 Mon Sep 17 00:00:00 2001 From: Gonzalo Brito Gadeschi Date: Fri, 12 Jul 2024 14:56:18 -0700 Subject: [PATCH] [NVPTX] Fix comment typos --- llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp b/llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp index 99b7701186458..371ec8596ef63 100644 --- a/llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp +++ b/llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp @@ -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 ||