aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
diff options
context:
space:
mode:
authorTimm Baeder <tbaeder@redhat.com>2025-03-02 09:40:56 +0100
committerGitHub <noreply@github.com>2025-03-02 09:40:56 +0100
commit2c1e9f14be32c30f6f561274292bef1f52635f82 (patch)
tree872fec93e0c83296e5c223f6620edcf02241f8f3 /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp
parent81a8b5c579acc7597fdb1069355e733aaa7466d4 (diff)
downloadllvm-2c1e9f14be32c30f6f561274292bef1f52635f82.zip
llvm-2c1e9f14be32c30f6f561274292bef1f52635f82.tar.gz
llvm-2c1e9f14be32c30f6f561274292bef1f52635f82.tar.bz2
[clang][bytecode] Explicit composite array descriptor types (#129376)
When creating descriptor for array element types, we only save the original source, e.g. int[2][2][2]. So later calls to getType() of the element descriptors will also return int[2][2][2], instead of e.g. int[2][2] for the second dimension. Fix this by explicitly tracking the array types. The last attached test case used to have an lvalue offset of 32 instead of 24. We should do this for more desriptor types though and not just composite array, but I'm leaving that to a later patch.
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions