[Mlir-commits] [mlir] [mlir][SPIRV] Fix build error (PR #111264)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sat Oct 5 12:45:49 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir
Author: Matthias Springer (matthias-springer)
<details>
<summary>Changes</summary>
Fix build error that was introduced by #<!-- -->111250. Also, the deleted function is not needed at all.
---
Full diff: https://github.com/llvm/llvm-project/pull/111264.diff
1 Files Affected:
- (modified) mlir/include/mlir/Conversion/SPIRVToLLVM/SPIRVToLLVM.h (-6)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/111264
More information about the Mlir-commits
mailing list