[Mlir-commits] [mlir] [mlir][SPIRV] Fix build error (PR #111264)
Matthias Springer
llvmlistbot at llvm.org
Sat Oct 5 12:45:18 PDT 2024
https://github.com/matthias-springer created https://github.com/llvm/llvm-project/pull/111264
Fix build error that was introduced by #111250. Also, the deleted function is not needed at all.
>From 72e31ea3816b41ccc2c0fe15b0a3a256aca5fc90 Mon Sep 17 00:00:00 2001
From: Matthias Springer <mspringer at nvidia.com>
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 e59373c955fc3b..e78b954d5e0d52 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<SPIRVOp> {
const LLVMTypeConverter &typeConverter,
PatternBenefit benefit = 1)
: OpConversionPattern<SPIRVOp>(typeConverter, context, benefit) {}
-
-protected:
- const LLVMTypeConverter *getTypeConverter() const {
- return static_cast<const LLVMTypeConverter *>(
- ConversionPattern::getTypeConverter());
- }
};
/// Encodes global variable's descriptor set and binding into its name if they
More information about the Mlir-commits
mailing list