Skip to content

Commit 01045b7

Browse files
committed
[CUDA] Add missing zero initializer for reflect
1 parent dd860bc commit 01045b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/NVPTX/NVVMReflect.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ bool NVVMReflect::runOnFunction(Function &F) {
221221
return runNVVMReflect(F, SmVersion);
222222
}
223223

224-
NVVMReflectPass::NVVMReflectPass() {}
224+
NVVMReflectPass::NVVMReflectPass() : NVVMReflectPass(0) {}
225225

226226
PreservedAnalyses NVVMReflectPass::run(Function &F,
227227
FunctionAnalysisManager &AM) {

0 commit comments

Comments
 (0)