diff options
author | Gaƫtan Bossu <gaetan.bossu@arm.com> | 2025-04-29 14:47:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-29 14:47:22 +0100 |
commit | c5c4f0d11ca033acaab2d92b713cdab25c8ba555 (patch) | |
tree | 69359f7b97c7a2b25d276b936d6cd56145ae572a /lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp | |
parent | 1433c3e997ef7cc29f460d7b2f5da813acd0cafa (diff) | |
download | llvm-c5c4f0d11ca033acaab2d92b713cdab25c8ba555.zip llvm-c5c4f0d11ca033acaab2d92b713cdab25c8ba555.tar.gz llvm-c5c4f0d11ca033acaab2d92b713cdab25c8ba555.tar.bz2 |
[SLP] Simplify tryToFindDuplicates() (NFC) (#135766)
This NFC aims to simplify the control-flow and interfaces used in tryToFindDuplicates(). The point is to make it easier to understand where decisions for scalar de-duplication are made.
In particular:
- Limit indentation
- Rename some variables to better match their use case
- Always give consistent outputs for VL and ReuseShuffleIndices. This makes it possible to use the same code for building gather TreeEntry everywhere. This also allows to remove the TryToFindDuplicates lambda.
Diffstat (limited to 'lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp')
0 files changed, 0 insertions, 0 deletions