diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-03-07 10:46:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-07 10:46:27 +0000 |
commit | 55304d0d907fb26c298b84447a85e3a987d0adbc (patch) | |
tree | bc8c94605a1a4479c3972bdaafe1304bf42cbcfa /clang/lib/Analysis/FlowSensitive/ControlFlowContext.cpp | |
parent | 245d669f1d1c3f66d0d3d8aa7cffa5ef0d7747ff (diff) | |
download | llvm-55304d0d907fb26c298b84447a85e3a987d0adbc.zip llvm-55304d0d907fb26c298b84447a85e3a987d0adbc.tar.gz llvm-55304d0d907fb26c298b84447a85e3a987d0adbc.tar.bz2 |
[CostModel] getInstructionCost - improve estimation of costs for length changing shuffles (#84156)
Fix gap in the cost estimation for length changing shuffles, by adjusting the shuffle mask and either widening the shuffle inputs or extracting the lower elements of the result.
A small step towards moving some of this implementation inside improveShuffleKindFromMask and/or target getShuffleCost handlers (and reduce the diffs in cost estimation depending on whether coming from a ShuffleVectorInst or the raw operands / mask components)
Diffstat (limited to 'clang/lib/Analysis/FlowSensitive/ControlFlowContext.cpp')
0 files changed, 0 insertions, 0 deletions