Skip to content

Commit 78232a8

Browse files
committed
comment move
1 parent f167f2c commit 78232a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/Target/NVPTX/NVVMReflect.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ namespace {
5656
class NVVMReflect : public ModulePass {
5757
private:
5858
StringMap<int> VarMap;
59-
/// Process a reflect function by finding all its uses and replacing them with
60-
/// appropriate constant values. For __CUDA_FTZ, uses the module flag value.
61-
/// For __CUDA_ARCH, uses SmVersion * 10. For all other strings, uses 0.
6259
void handleReflectFunction(Function *F);
6360
void setVarMap(Module &M);
6461
void foldReflectCall(CallInst *Call, Constant *NewValue);
@@ -135,6 +132,9 @@ void NVVMReflect::setVarMap(Module &M) {
135132
}
136133
}
137134

135+
/// Process a reflect function by finding all its uses and replacing them with
136+
/// appropriate constant values. For __CUDA_FTZ, uses the module flag value.
137+
/// For __CUDA_ARCH, uses SmVersion * 10. For all other strings, uses 0.
138138
void NVVMReflect::handleReflectFunction(Function *F) {
139139
// Validate _reflect function
140140
assert(F->isDeclaration() && "_reflect function should not have a body");

0 commit comments

Comments
 (0)