aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorSam Tebbs <samuel.tebbs@arm.com>2025-10-01 16:01:54 +0100
committerGitHub <noreply@github.com>2025-10-01 16:01:54 +0100
commit664b227089a2d3a72b15018018c5e8e4e639f944 (patch)
tree34c11f005b0502f89529ad864928b4cb160f24aa /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parentedb80a8d7fb2e1e29a4cb792148b4ffd441eb114 (diff)
downloadllvm-664b227089a2d3a72b15018018c5e8e4e639f944.zip
llvm-664b227089a2d3a72b15018018c5e8e4e639f944.tar.gz
llvm-664b227089a2d3a72b15018018c5e8e4e639f944.tar.bz2
[LV] Keep duplicate recipes in VPExpressionRecipe (#156976)
The VPExpressionRecipe class uses a set to store its bundled recipes. If repeated recipes are bundled then the duplicates will be lost, causing the following recipes to not be at the expected place in the set. When printing a reduce.add(mul(ext, ext)) bundle, for example, if the extends are the same then the 3rd element of the set will be the reduction, rather than the expected mul, causing a cast error. With this change, the recipes are at the expected index in the set. Fixes #156464
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions