Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
llvm/test/Transforms/SLPVectorizer/RISCV/rvv-min-vector-size.ll
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py | ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py | ||||
; RUN: opt < %s -slp-vectorizer -mtriple=riscv64 -mattr=+v \ | ; RUN: opt < %s -slp-vectorizer -mtriple=riscv64 -mattr=+v \ | ||||
; RUN: -riscv-v-vector-bits-min=128 -S | FileCheck %s --check-prefixes=CHECK,CHECK-128 | ; RUN: -riscv-v-vector-bits-min=128 -riscv-v-slp-max-vf=0 -S | FileCheck %s --check-prefixes=CHECK,CHECK-128 | ||||
; RUN: opt < %s -slp-vectorizer -mtriple=riscv64 -mattr=+v \ | ; RUN: opt < %s -slp-vectorizer -mtriple=riscv64 -mattr=+v \ | ||||
; RUN: -riscv-v-vector-bits-min=256 -S | FileCheck %s --check-prefixes=CHECK,CHECK-256 | ; RUN: -riscv-v-vector-bits-min=256 -riscv-v-slp-max-vf=0 -S | FileCheck %s --check-prefixes=CHECK,CHECK-256 | ||||
; RUN: opt < %s -slp-vectorizer -mtriple=riscv64 -mattr=+v \ | ; RUN: opt < %s -slp-vectorizer -mtriple=riscv64 -mattr=+v \ | ||||
; RUN: -riscv-v-vector-bits-min=512 -S | FileCheck %s --check-prefixes=CHECK,CHECK-512 | ; RUN: -riscv-v-vector-bits-min=512 -riscv-v-slp-max-vf=0 -S | FileCheck %s --check-prefixes=CHECK,CHECK-512 | ||||
target datalayout = "e-m:e-p:64:64-i64:64-i128:128-n64-S128" | target datalayout = "e-m:e-p:64:64-i64:64-i128:128-n64-S128" | ||||
target triple = "riscv64" | target triple = "riscv64" | ||||
define void @foo(i64* nocapture writeonly %da) { | define void @foo(i64* nocapture writeonly %da) { | ||||
; CHECK-128-LABEL: @foo( | ; CHECK-128-LABEL: @foo( | ||||
; CHECK-128-NEXT: entry: | ; CHECK-128-NEXT: entry: | ||||
; CHECK-128-NEXT: store i64 0, i64* [[DA:%.*]], align 8 | ; CHECK-128-NEXT: store i64 0, i64* [[DA:%.*]], align 8 | ||||
▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines |