diff options
author | Slava Zakharin <szakharin@nvidia.com> | 2024-01-29 09:14:47 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-29 09:14:47 -0800 |
commit | 3e47e75febc8fefa19afe1e8ef2b15a106d2f791 (patch) | |
tree | 85e4da690751592369ed4e5199ad6df62ed4ab78 /lldb/source/Plugins/ScriptInterpreter/Python | |
parent | 72d4fc1b4d5cfc4f7d50cc5cf1b315543c088f4d (diff) | |
download | llvm-3e47e75febc8fefa19afe1e8ef2b15a106d2f791.zip llvm-3e47e75febc8fefa19afe1e8ef2b15a106d2f791.tar.gz llvm-3e47e75febc8fefa19afe1e8ef2b15a106d2f791.tar.bz2 |
[flang] Use DataLayout for computing type size in LoopVersioning. (#79778)
The existing type size computation in LoopVersioning does not work
for REAL*10, because the compute element size is 10 bytes,
which violates the power-of-two assertion.
We'd better use the DataLayout for computing the storage size
of each element of an array of the given type.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions