[Mlir-commits] [mlir] [mlir][loops] Add getters for multi dim loop variables in `LoopLikeOpInterface` (PR #94516)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Jun 6 09:34:07 PDT 2024
================
@@ -93,51 +93,47 @@ def LoopLikeOpInterface : OpInterface<"LoopLikeOpInterface"> {
}]
>,
InterfaceMethod<[{
- If there is a single induction variable return it, otherwise return
- std::nullopt.
+ Return all induction variables.
}],
- /*retTy=*/"::std::optional<::mlir::Value>",
- /*methodName=*/"getSingleInductionVar",
+ /*retTy=*/"::mlir::ValueRange",
----------------
srcarroll wrote:
resolved the errors. but to be honest, i dont quite know why what i did fixed it. could someone take a look at this commit to make sure i didn't do something stupid. https://github.com/llvm/llvm-project/pull/94516/commits/1babe681d7858a4992303c62e22684cb73d82472
https://github.com/llvm/llvm-project/pull/94516
More information about the Mlir-commits
mailing list