[Mlir-commits] [mlir] [mlir][llvm] Drop unreachable basic block during import (PR #78467)

Mehdi Amini llvmlistbot at llvm.org
Wed Jan 17 14:23:05 PST 2024


joker-eph wrote:

> The revision indeed deletes unreachable basic blocks before the import since importing an unreachable block is not possible in the general case. The problem is that instructions can use a value that they define themselves. This is possible since an unreachable block can dominate itself.

I know about self-referencing instructions, but I don't quite get why we can't import this in MLIR?

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


More information about the Mlir-commits mailing list