[llvm] [AArch64][TTI] Improve `LegalVF` when computing gather-loads cost (PR #69617)

David Green via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 19 12:43:55 PDT 2023


================
@@ -0,0 +1,37 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
+; RUN: opt -S -passes=slp-vectorizer -mtriple=aarch64-unknown-linux-gnu -mcpu=neoverse-512tvb -pass-remarks-output=%t.yaml < %s | FileCheck %s
+; RUN: cat %t.yaml | FileCheck -check-prefix=REMARK %s
+
+; REMARK-LABEL: Function:        gather_load_fp128
+; REMARK:       Args:
+; REMARK-NEXT:    - String:          'List vectorization was possible but not beneficial with cost '
+; REMARK-NEXT:    - Cost:            '0'
+; REMARK-NEXT:    - String:          ' >= '
+; REMARK-NEXT:    - Treshold:        '0'
+
+define void @gather_load_fp128(ptr %arg) #0 {
----------------
davemgreen wrote:

Can you add a variant with i128 too?

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


More information about the llvm-commits mailing list