================ ---------------- KrxGu wrote: Done, switched to `llvm::cast<FunctionOpInterface>(getOperation())` and removed the if-check entirely. The InterfacePass guarantee makes it safe. https://github.com/llvm/llvm-project/pull/205125