aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
diff options
context:
space:
mode:
authorUday Bondhugula <uday@polymagelabs.com>2022-12-03 16:29:07 +0530
committerUday Bondhugula <uday@polymagelabs.com>2022-12-03 16:30:44 +0530
commit5ceaeed65962a1d93442718cf72fa055c6b94d83 (patch)
tree7a203610034dc008f3c1d6fff71a066146447ee1 /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
parent6272f87ba06132a1b479068759d72178e5fe4472 (diff)
downloadllvm-5ceaeed65962a1d93442718cf72fa055c6b94d83.zip
llvm-5ceaeed65962a1d93442718cf72fa055c6b94d83.tar.gz
llvm-5ceaeed65962a1d93442718cf72fa055c6b94d83.tar.bz2
Improve type conversion error propagation/failure during LLVM lowering
Improve type conversion error propagation/failure during LLVM lowering. BEFORE ``` llvm-mlir/mlir/lib/Conversion/LLVMCommon/TypeConverter.cpp:304: SmallVector<mlir::Type, 5> mlir::LLVMTypeConverter::getMemRefDescriptorFields(mlir::MemRefType, bool): Assertion `isStrided(type) && "Non-strided layout maps must have been normalized away"' failed. PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace. Stack dump: ... ``` AFTER ``` <unknown>:0: error: integer overflow during size computation <unknown>:0: error: Conversion to strided form failed either due to non-strided layout maps (which should have been normalized away) or other reasons <unknown>:0: error: failed to legalize operation 'gpu.func' that was explicitly marked illegal <unknown>:0: note: see current operation: "gpu.func"() ( { ... ``` Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D139072
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions