[Mlir-commits] [mlir] [mlir][tosa] Fold 'small' constant 1D concat operations (PR #128080)
Jack Frankland
llvmlistbot at llvm.org
Thu Feb 27 08:01:48 PST 2025
================
@@ -1226,16 +1226,54 @@ OpFoldResult tosa::AbsOp::fold(FoldAdaptor adaptor) {
}
OpFoldResult ConcatOp::fold(FoldAdaptor adaptor) {
+ const auto operands = getOperands();
----------------
FranklandJack wrote:
`getOperands()` returns returns an `OperandRange` which is derived from `Value` which I don't think is `const` correct?
https://github.com/llvm/llvm-project/pull/128080
More information about the Mlir-commits
mailing list