[Mlir-commits] [mlir] [MLIR][LLVMIR] Issue when importing LLVM modules which contain LandingPad Instructions (PR #171107)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Dec 8 04:33:29 PST 2025
Men-cotton wrote:
The Windows test failure shows that your change successfully simplified the IR generation for aggregate zero initializers.
Previously, it generated a sequence of `undef` and `insertvalue` ops, but now it produces a single `llvm.mlir.zero` op. This is a good improvement!
Since the generated IR has changed, the old `CHECK` lines for `undef` and `insertvalue` no longer match. Please update `mlir/test/Target/LLVMIR/Import/zeroinitializer.ll` to verify the new behavior:
```
; CHECK: %[[RES:.+]] = llvm.mlir.zero : !llvm.struct<"Domain", (ptr, ptr)>
; CHECK: llvm.return %[[RES]]
```
https://github.com/llvm/llvm-project/pull/171107
More information about the Mlir-commits
mailing list