forked from OSchip/llvm-project
NFC: Actually expose the implementation of createGPUToSPIRVLoweringPass.
A mismatch in the function declaration and function definition, prevented the implementation of the createGPUToSPIRVLoweringPass from being exposed. PiperOrigin-RevId: 282419815
This commit is contained in:
parent
7fd46bf258
commit
f87b2fd41b
|
@ -19,6 +19,7 @@
|
|||
// into a spv.module operation
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#include "mlir/Conversion/GPUToSPIRV/ConvertGPUToSPIRVPass.h"
|
||||
#include "mlir/Conversion/GPUToSPIRV/ConvertGPUToSPIRV.h"
|
||||
#include "mlir/Conversion/StandardToSPIRV/ConvertStandardToSPIRV.h"
|
||||
#include "mlir/Dialect/GPU/GPUDialect.h"
|
||||
|
@ -93,8 +94,8 @@ void GPUToSPIRVPass::runOnModule() {
|
|||
}
|
||||
}
|
||||
|
||||
OpPassBase<ModuleOp> *createConvertGPUToSPIRVPass() {
|
||||
return new GPUToSPIRVPass();
|
||||
std::unique_ptr<OpPassBase<ModuleOp>> mlir::createConvertGPUToSPIRVPass() {
|
||||
return std::make_unique<GPUToSPIRVPass>();
|
||||
}
|
||||
|
||||
static PassRegistration<GPUToSPIRVPass>
|
||||
|
|
Loading…
Reference in New Issue