[llvm] [AArch64] Adjust costs for masked CompressStore and ExpandLoad (PR #226950)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 28 03:35:28 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-aarch64
Author: Jack Styles (Stylie777)
<details>
<summary>Changes</summary>
Currently, costs for the `llvm.expand.compressstore` and `llvm.masked.expandload` are costs simply at 2 x the type legalization cost. However, this does not properly represent the instructions that are generated for these intrinsics.
The costs have been adjusted to better represent the cost of using these intrinsics with SVE Instructions.
---
Full diff: https://github.com/llvm/llvm-project/pull/226950.diff
3 Files Affected:
- (modified) llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp (+8-2)
- (modified) llvm/test/Analysis/CostModel/AArch64/masked_compress_load.ll (+85-85)
- (modified) llvm/test/Analysis/CostModel/AArch64/masked_expand_load.ll (+108-108)
``````````diff
The server is unavailable at this time. Please wait a few minutes before you try again.
``````````
</details>
https://github.com/llvm/llvm-project/pull/226950
More information about the llvm-commits
mailing list