diff options
| author | Yingwei Zheng <dtcxzyw2333@gmail.com> | 2025-10-19 00:58:05 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-19 00:58:05 +0800 |
| commit | 5d22980ed46c175848e8f9e896216eb64e0f54a7 (patch) | |
| tree | e392dbee9b8a48d892462d8f4cae1535f73f6afd /clang/unittests/Format/FormatTestJava.cpp | |
| parent | 6420da68972782c37c4f147409dadcb970583d9e (diff) | |
| download | llvm-5d22980ed46c175848e8f9e896216eb64e0f54a7.zip llvm-5d22980ed46c175848e8f9e896216eb64e0f54a7.tar.gz llvm-5d22980ed46c175848e8f9e896216eb64e0f54a7.tar.bz2 | |
[LVI][SCCP] Avoid copying ValueLatticeElement (#163901)
Copying ValueLatticeElement becomes expensive after
https://github.com/llvm/llvm-project/pull/111544. This patch eliminates
some redundant copies to improve performance. The code change has been
carefully reviewed to ensure that there is no dangling reference.
Compile-time improvement:
https://llvm-compile-time-tracker.com/compare.php?from=f4359301c033694d36865c7560714164d2050240&to=4ea449bd53feef43403c35d8b815ddca752dbc17&stat=instructions%3Au
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions
