diff options
author | Alexey Bataev <a.bataev@outlook.com> | 2024-04-15 10:55:41 -0700 |
---|---|---|
committer | Alexey Bataev <a.bataev@outlook.com> | 2024-04-15 11:18:24 -0700 |
commit | b7b183371b54a2c4b5d2a39c594d3967a7384cb8 (patch) | |
tree | cf174936c561dac717c4a2b75a9012957725bef0 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | c0b77e0a4a9bb090e5ad3a28adcd0aa98715cfe5 (diff) | |
download | llvm-b7b183371b54a2c4b5d2a39c594d3967a7384cb8.zip llvm-b7b183371b54a2c4b5d2a39c594d3967a7384cb8.tar.gz llvm-b7b183371b54a2c4b5d2a39c594d3967a7384cb8.tar.bz2 |
[SLP][NFC]Improve perf of BoUpSLP::buildExternalUses function, NFC.
Perform required operations, only when the result is required + check if
value was not inserted already into the list of the externally used
scalars and early exit, if it was.
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions