diff options
author | Timm Baeder <tbaeder@redhat.com> | 2024-11-25 12:15:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-25 12:15:31 +0100 |
commit | ceaf6e912a846b88f19df682c6bdbe9516be04e9 (patch) | |
tree | 44b88a7b4d3a0ceb3f81407c4b24cdd049081e32 /llvm/lib/CodeGen/SelectOptimize.cpp | |
parent | e477989a055f92f6ca63fc8f76929cde81d33e44 (diff) | |
download | llvm-ceaf6e912a846b88f19df682c6bdbe9516be04e9.zip llvm-ceaf6e912a846b88f19df682c6bdbe9516be04e9.tar.gz llvm-ceaf6e912a846b88f19df682c6bdbe9516be04e9.tar.bz2 |
[clang][bytecode] Support ImplicitValueInitExpr for multi-dim arrays (#117312)
The attached test case from
https://github.com/llvm/llvm-project/issues/117294 used to cause an
assertion because we called classifPrim() on an array type.
The new result doesn't crash but isn't exactly perfect either. Since the
problem arises when evaluating an ImplicitValueInitExpr, we have no
proper source location to point to. Point to the caller instead.
Diffstat (limited to 'llvm/lib/CodeGen/SelectOptimize.cpp')
0 files changed, 0 insertions, 0 deletions