diff options
author | Luke Lau <luke@igalia.com> | 2025-03-18 01:00:54 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-18 00:00:54 +0800 |
commit | eef5ea0c42fc07ef2c948be59b57d0df8ec801ca (patch) | |
tree | bed8453c547c02769edac2cf055a15267d964b14 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | e2c43ba981620cf71ce3ccf004db7c0db4caf8a7 (diff) | |
download | llvm-eef5ea0c42fc07ef2c948be59b57d0df8ec801ca.zip llvm-eef5ea0c42fc07ef2c948be59b57d0df8ec801ca.tar.gz llvm-eef5ea0c42fc07ef2c948be59b57d0df8ec801ca.tar.bz2 |
[VPlan] Account for dead FOR splice simplification in cost model (#131486)
Fixes #131359
After #129645, a first-order recurrence will no longer have it's splice
costed if the VPInstruction::FirstOrderRecurrenceSplice has no users and
is dead.
The legacy cost model didn't account for this, so this accounts for it
in planContainsAdditionalSimplifications to avoid the "VPlan cost model
and legacy cost model disagreed" assertion.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions