From 72e31ea3816b41ccc2c0fe15b0a3a256aca5fc90 Mon Sep 17 00:00:00 2001 From: Matthias Springer Date: Sat, 5 Oct 2024 21:42:49 +0200 Subject: [PATCH] [mlir][SPIRV] Fix build error Fix build error that was introduced by #111250. Also, the deleted function is not needed at all. --- mlir/include/mlir/Conversion/SPIRVToLLVM/SPIRVToLLVM.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/mlir/include/mlir/Conversion/SPIRVToLLVM/SPIRVToLLVM.h b/mlir/include/mlir/Conversion/SPIRVToLLVM/SPIRVToLLVM.h index e59373c955fc3..e78b954d5e0d5 100644 --- a/mlir/include/mlir/Conversion/SPIRVToLLVM/SPIRVToLLVM.h +++ b/mlir/include/mlir/Conversion/SPIRVToLLVM/SPIRVToLLVM.h @@ -29,12 +29,6 @@ class SPIRVToLLVMConversion : public OpConversionPattern { const LLVMTypeConverter &typeConverter, PatternBenefit benefit = 1) : OpConversionPattern(typeConverter, context, benefit) {} - -protected: - const LLVMTypeConverter *getTypeConverter() const { - return static_cast( - ConversionPattern::getTypeConverter()); - } }; /// Encodes global variable's descriptor set and binding into its name if they