aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/APInt.cpp
diff options
context:
space:
mode:
authorMary Kassayova <mary.kassayova@arm.com>2025-08-21 11:31:34 +0100
committerGitHub <noreply@github.com>2025-08-21 11:31:34 +0100
commit98867bf8de1ec093447f7efc490628fbeed3dfb3 (patch)
tree5883e9786b7f63a62bd7a99f93901cd0a3d8c8b7 /llvm/lib/Support/APInt.cpp
parentacda808304e32d1cf51d520e8710cbb7362fc961 (diff)
downloadllvm-98867bf8de1ec093447f7efc490628fbeed3dfb3.zip
llvm-98867bf8de1ec093447f7efc490628fbeed3dfb3.tar.gz
llvm-98867bf8de1ec093447f7efc490628fbeed3dfb3.tar.bz2
[AArch64] [CostModel] Fix cost modelling for saturating arithmetic intrinsics (#152333)
The cost model previously overestimating throughput costs to wide fixed-length saturating arithmetic intrinsics when using SVE with a fixed vscale of 2. These costs ended up much higher than for the same operations using NEON, despite being fully legal and efficient with SVE. This patch adjusts the cost model to avoid penalising these intrinsics under SVE.
Diffstat (limited to 'llvm/lib/Support/APInt.cpp')
0 files changed, 0 insertions, 0 deletions