Skip to content

Commit 7a61c1b

Browse files
AlexeySachkovmlychkov
authored andcommitted
[SYCL] Properly register LowerWGLocalMemory
Fixed registration of the pass with the new pass manager, so it can be launched through `opt`.
1 parent c18f43c commit 7a61c1b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

llvm/lib/Passes/PassBuilder.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
#include "llvm/IR/Verifier.h"
7979
#include "llvm/SYCLLowerIR/ESIMDVerifier.h"
8080
#include "llvm/SYCLLowerIR/LowerESIMD.h"
81+
#include "llvm/SYCLLowerIR/LowerWGLocalMemory.h"
8182
#include "llvm/SYCLLowerIR/LowerWGScope.h"
8283
#include "llvm/SYCLLowerIR/MutatePrintfAddrspace.h"
8384
#include "llvm/Support/CommandLine.h"

llvm/lib/Passes/PassRegistry.def

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ MODULE_PASS("esimd-verifier", ESIMDVerifierPass())
122122
MODULE_PASS("SYCLMutatePrintfAddrspace", SYCLMutatePrintfAddrspacePass())
123123
MODULE_PASS("SPIRITTAnnotations", SPIRITTAnnotationsPass())
124124
MODULE_PASS("deadargelim-sycl", DeadArgumentEliminationSYCLPass())
125+
MODULE_PASS("sycllowerwglocalmemory", SYCLLowerWGLocalMemoryPass())
125126
#undef MODULE_PASS
126127

127128
#ifndef MODULE_PASS_WITH_PARAMS

0 commit comments

Comments
 (0)