[llvm] [AArch64] Update cost model for extracting halves from 128+ bit vectors (PR #155601)

Sam Tebbs via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 27 07:52:33 PDT 2025


=?utf-8?q?Ga=C3=ABtan?= Bossu <gaetan.bossu at arm.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/155601 at github.com>


================
@@ -96,8 +102,129 @@ define void @extract_half() {
   ret void
 }
 
-define void @extract_qtr() {
-; CHECK-LABEL: 'extract_qtr'
+; Similar as above, but for a 256-bit SVE core.
+; Vectors smaller than 256-bit aren't tested again.
+define void @extract_half_vscale2() vscale_range(2,2) {
----------------
SamTebbs33 wrote:

Right, that makes sense, thank you.

https://github.com/llvm/llvm-project/pull/155601


More information about the llvm-commits mailing list