diff options
| author | Pierre van Houtryve <pierre.vanhoutryve@amd.com> | 2023-10-30 07:48:24 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-30 07:48:24 +0100 |
| commit | 30ca16ec87206294f4ad0e9688c88f32421b343e (patch) | |
| tree | a3a6c6c6fba9b1e3ed0e3f9c68a2826b67b1d312 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 9925801c7efec8c70a6e2c1da99ee0e558586e16 (diff) | |
[mlir][spirv] Handle failed conversions of struct elements (#70005)
LLVMStructTypes could be emitted with some null elements. This caused a
crash later in the LLVMDialect verifier.
We now use `convertTypes` and check that all types were successfully converted before passing them to the `LLVMStructType` constructor.
See #59990
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
