[Mlir-commits] [mlir] f0ab64b - [MLIR] Use ::llvm:LogicalResult instead of LogicalResult in FunctionInterfaces.td (#140965)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu May 22 02:44:04 PDT 2025
Author: spmok
Date: 2025-05-22T11:44:01+02:00
New Revision: f0ab64bd34232a71ee69a518c76adf327ac70bad
URL: https://github.com/llvm/llvm-project/commit/f0ab64bd34232a71ee69a518c76adf327ac70bad
DIFF: https://github.com/llvm/llvm-project/commit/f0ab64bd34232a71ee69a518c76adf327ac70bad.diff
LOG: [MLIR] Use ::llvm:LogicalResult instead of LogicalResult in FunctionInterfaces.td (#140965)
Fixed a minor typo, which can cause compile error:
error C3646: 'eraseResult': unknown override specifier
Added:
Modified:
mlir/include/mlir/Interfaces/FunctionInterfaces.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Interfaces/FunctionInterfaces.td b/mlir/include/mlir/Interfaces/FunctionInterfaces.td
index cad0e790fdd97..4c8d5b02ed92a 100644
--- a/mlir/include/mlir/Interfaces/FunctionInterfaces.td
+++ b/mlir/include/mlir/Interfaces/FunctionInterfaces.td
@@ -332,7 +332,7 @@ def FunctionOpInterface : OpInterface<"FunctionOpInterface", [
/// Erase a single result at `resultIndex`. Returns failure if the function
/// cannot be updated to have the new signature.
- LogicalResult eraseResult(unsigned resultIndex) {
+ ::llvm::LogicalResult eraseResult(unsigned resultIndex) {
::llvm::BitVector resultsToErase($_op.getNumResults());
resultsToErase.set(resultIndex);
return eraseResults(resultsToErase);
More information about the Mlir-commits
mailing list