File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -56,9 +56,6 @@ namespace {
5656class NVVMReflect : public ModulePass {
5757private:
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.
138138void NVVMReflect::handleReflectFunction (Function *F) {
139139 // Validate _reflect function
140140 assert (F->isDeclaration () && " _reflect function should not have a body" );
You can’t perform that action at this time.
0 commit comments