File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -116,9 +116,10 @@ class LLVM_LIBRARY_VISIBILITY NVPTXDAGToDAGISel : public SelectionDAGISel {
116
116
117
117
static unsigned GetConvertOpcode (MVT DestTy, MVT SrcTy, LoadSDNode *N);
118
118
119
- // Returns Memory Order and Scope of a memory instruction, and
120
- // inserts any fence before the instruction that's required to
121
- // implement its memory ordering.
119
+ // Returns the Memory Order and Scope that the PTX memory instruction should
120
+ // use, and inserts appropriate fence instruction before the memory
121
+ // instruction, if needed to implement the instructions memory order. Required
122
+ // fences after the instruction need to be handled elsewhere.
122
123
std::pair<NVPTX::Ordering, NVPTX::Scope>
123
124
insertMemoryInstructionFence (SDLoc DL, SDValue &Chain, MemSDNode *N);
124
125
NVPTX::Scope getOperationScope (MemSDNode *N, NVPTX::Ordering O) const ;
You can’t perform that action at this time.
0 commit comments