diff options
| author | Yingwei Zheng <dtcxzyw2333@gmail.com> | 2024-10-09 16:39:02 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-09 16:39:02 +0800 |
| commit | 6004f5550c8032f4c632cdbf5dbc0894bb33e51f (patch) | |
| tree | c3e1d4830e38a7f2aee107c99c3c1338a5ba62e6 /lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py | |
| parent | baa1fc9825ca29a81f98146da6036e3415182f16 (diff) | |
[ADT][APFloat] Make sure EBO is performed on APFloat (#111641)
Since both APFloat and (Double)IEEEFloat inherit from APFloatBase, empty
base optimization is not performed by GCC/Clang (Minimal reproducer:
https://godbolt.org/z/dY8cM3Wre). This patch removes inheritance
relation between (Double)IEEEFloat and APFloatBase to make sure EBO is
performed on APFloat. After this patch, the size of `ConstantFPRange`
will be reduced from 72 to 56.
Address comment
https://github.com/llvm/llvm-project/pull/111544#discussion_r1792398427.
Diffstat (limited to 'lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py')
0 files changed, 0 insertions, 0 deletions
