aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@outlook.com>2024-04-15 10:55:41 -0700
committerAlexey Bataev <a.bataev@outlook.com>2024-04-15 11:18:24 -0700
commitb7b183371b54a2c4b5d2a39c594d3967a7384cb8 (patch)
treecf174936c561dac717c4a2b75a9012957725bef0 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parentc0b77e0a4a9bb090e5ad3a28adcd0aa98715cfe5 (diff)
downloadllvm-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