1; RUN: opt < %s -passes='print<cost-model>' 2>&1 -disable-output -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: function 'fun0'
9; CHECK: Cost Model: Found an estimated cost of 3 for instruction:   %a = fadd <6 x double>
10}
11