aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api
diff options
context:
space:
mode:
authorDominik Steenken <dost@de.ibm.com>2024-12-03 17:08:51 +0100
committerGitHub <noreply@github.com>2024-12-03 17:08:51 +0100
commit866b9f43a0772faee64aa421886eb101118f3167 (patch)
treef131b2f8dd79aa8db7aa6598eb3e5cdde5749106 /lldb/test/API/python_api
parentc7babfa6a375d1094cf5e5d7ce4b36b2b9a6b717 (diff)
downloadllvm-866b9f43a0772faee64aa421886eb101118f3167.zip
llvm-866b9f43a0772faee64aa421886eb101118f3167.tar.gz
llvm-866b9f43a0772faee64aa421886eb101118f3167.tar.bz2
[SystemZ] Add realistic cost estimates for vector reduction intrinsics (#118319)
This PR adds more realistic cost estimates for these reduction intrinsics - `llvm.vector.reduce.umax` - `llvm.vector.reduce.umin` - `llvm.vector.reduce.smax` - `llvm.vector.reduce.smin` - `llvm.vector.reduce.fadd` - `llvm.vector.reduce.fmul` - `llvm.vector.reduce.fmax` - `llvm.vector.reduce.fmin` - `llvm.vector.reduce.fmaximum` - `llvm.vector.reduce.fminimum` - `llvm.vector.reduce.mul ` The pre-existing cost estimates for `llvm.vector.reduce.add` are moved to `getArithmeticReductionCosts` to reduce complexity in `getVectorIntrinsicInstrCost` and enable other passes, like the SLP vectorizer, to benefit from these updated calculations. These are not expected to provide noticable performance improvements and are rather provided for the sake of completeness and correctness. This PR is in draft mode pending benchmark confirmation of this. This also provides and/or updates cost tests for all of these intrinsics. This PR was co-authored by me and @JonPsson1 .
Diffstat (limited to 'lldb/test/API/python_api')
0 files changed, 0 insertions, 0 deletions