Skip to content

Commit e874c23

Browse files
Update llvm/include/llvm/SYCLLowerIR/GlobalOffset.h
Co-authored-by: aelovikov-intel <[email protected]>
1 parent 610f41d commit e874c23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/include/llvm/SYCLLowerIR/GlobalOffset.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ class GlobalOffsetPass : public PassInfoMixin<GlobalOffsetPass> {
5151
llvm::DenseMap<Function *, Value *> ProcessedFunctions;
5252
// Keep a map of all entry point functions with metadata
5353
llvm::DenseMap<Function *, MDNode *> EntryPointMetadata;
54-
llvm::Type *KernelImplicitArgumentType;
55-
llvm::Type *ImplicitOffsetPtrType;
54+
llvm::Type *KernelImplicitArgumentType = nullptr;
55+
llvm::Type *ImplicitOffsetPtrType = nullptr;
5656

5757
ArchType AT;
5858
unsigned TargetAS = 0;

0 commit comments

Comments
 (0)