diff options
author | Florian Hahn <flo@fhahn.com> | 2024-10-16 07:21:57 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2024-10-16 07:21:58 +0100 |
commit | bbff5b8891c0ce929d6ace2d86ea6891425042e2 (patch) | |
tree | 07801cf1ce25a8e4209306d54a42a7c81b1e98c5 /llvm/lib/CodeGen/MachineTraceMetrics.cpp | |
parent | 484c02780bad58aa99baf3621530d334c6c0d59b (diff) | |
download | llvm-bbff5b8891c0ce929d6ace2d86ea6891425042e2.zip llvm-bbff5b8891c0ce929d6ace2d86ea6891425042e2.tar.gz llvm-bbff5b8891c0ce929d6ace2d86ea6891425042e2.tar.bz2 |
[VPlan] Use alloc-type to compute interleave group offset.
Use getAllocTypeSize to get compute the offset to the start of
interleave groups instead getScalarSizeInBits, which may return 0 for
pointers. This is in line with the analysis building the interleave
groups and fixes a mis-compile reported for
https://github.com/llvm/llvm-project/pull/106431.
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions