The linalg-detensorize Pass can only be run on FunctionOpInterface Ops and will crash when run on other ops. The TableGen definition of the pass did not enforce that.
Github issue here: https://github.com/llvm/llvm-project/issues/61845
Differential D147384
[mlir] [Linalg] Limit Detensorize pass to FunctionOpInterface ubfx on Apr 1 2023, 12:39 PM. Authored by
Details The linalg-detensorize Pass can only be run on FunctionOpInterface Ops and will crash when run on other ops. The TableGen definition of the pass did not enforce that. Github issue here: https://github.com/llvm/llvm-project/issues/61845
Diff Detail
Event TimelineComment Actions Is the cast still needed now? I would think that getOperation() returns directly the interface now |