[Mlir-commits] [mlir] [MLIR][NFC] Stop depending on func.func in affine LoopUtils (PR #82079)

Mehdi Amini llvmlistbot at llvm.org
Fri Feb 16 18:06:31 PST 2024


joker-eph wrote:

But `getFunctionBody()` can be replaced by `getRegion(0)` for example. 

Basically I'm wondering why we can't replace this with "Operation" without more restriction,and `walk()` the IR regardless the operation that is the anchor for the pass.

https://github.com/llvm/llvm-project/pull/82079


More information about the Mlir-commits mailing list