1; RUN: opt < %s -cost-model -analyze -mtriple=systemz-unknown -mcpu=z13 | FileCheck %s
2
3; Test that the cost for the number of vector registers is returned for a
4; non-power-of-two vector type.
5define <6 x double> @fun0(<6 x double> %lhs, <6 x double> %rhs) {
6  %a = fadd <6 x double> %lhs, %rhs
7  ret <6 x double> %a
8; CHECK: Printing analysis 'Cost Model Analysis' for function 'fun0':
9; CHECK: Cost Model: Found an estimated cost of 3 for instruction:   %a = fadd <6 x double>
10}
11