We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 610f41d commit e874c23Copy full SHA for e874c23
llvm/include/llvm/SYCLLowerIR/GlobalOffset.h
@@ -51,8 +51,8 @@ class GlobalOffsetPass : public PassInfoMixin<GlobalOffsetPass> {
51
llvm::DenseMap<Function *, Value *> ProcessedFunctions;
52
// Keep a map of all entry point functions with metadata
53
llvm::DenseMap<Function *, MDNode *> EntryPointMetadata;
54
- llvm::Type *KernelImplicitArgumentType;
55
- llvm::Type *ImplicitOffsetPtrType;
+ llvm::Type *KernelImplicitArgumentType = nullptr;
+ llvm::Type *ImplicitOffsetPtrType = nullptr;
56
57
ArchType AT;
58
unsigned TargetAS = 0;
0 commit comments