[Mlir-commits] [mlir] [MLIR] Avoid resolving callable outside the analysis scope in DeadCodeAnalysis (NFC) (PR #155088)

Erick Ochoa Lopez llvmlistbot at llvm.org
Thu Sep 11 07:48:28 PDT 2025


amd-eochoalo wrote:

@joker-eph I've tested the patch and it works. Thanks Mehdi. 

Here is the reduced test case:

```mlir
module {
  func.func public @expect_true_of_false() {
    call @_expect_true_of_false() : () -> ()
    return
  }
  func.func private @_expect_true_of_false() {
    %c0_i32 = arith.constant 0 : i32
    return
  }
}
```

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


More information about the Mlir-commits mailing list