aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SampleProfileInference.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2025-10-01 22:30:18 +0100
committerFlorian Hahn <flo@fhahn.com>2025-10-01 22:30:18 +0100
commit1a850279c5a6e3662f3a7b40a9ea097838c2aca0 (patch)
tree4e2c0a61b562d3a8eb0802543f9653376f7a800c /llvm/lib/Transforms/Utils/SampleProfileInference.cpp
parent69a53b8d54a6876dd322923a148d47749b76c5fc (diff)
downloadllvm-1a850279c5a6e3662f3a7b40a9ea097838c2aca0.zip
llvm-1a850279c5a6e3662f3a7b40a9ea097838c2aca0.tar.gz
llvm-1a850279c5a6e3662f3a7b40a9ea097838c2aca0.tar.bz2
[LV] Re-compute cost of scalarized load users.
If there are direct memory op users of the newly scalarized load, their cost may have changed because there's no scalarization overhead for the operand. Update it. This ensures assigning consistent costs to scalarized memory instructions that themselves have scalarized memory instructions as operands.
Diffstat (limited to 'llvm/lib/Transforms/Utils/SampleProfileInference.cpp')
0 files changed, 0 insertions, 0 deletions