1 ; RUN: opt < %s -passes="print<cost-model>" 2>&1 -disable-output -mtriple=powerpc64le-unknown-linux-gnu \
2 ; RUN: -mcpu=future | FileCheck %s --check-prefix=FUTURE
3 ; RUN: opt < %s -passes="print<cost-model>" 2>&1 -disable-output -mtriple=powerpc64le-unknown-linux-gnu \
4 ; RUN: -mcpu=pwr9 | FileCheck %s --check-prefix=PWR9
6 define void @test(i16 %p1, i16 %p2, <4 x i16> %p3, <4 x i16> %p4) {
8 %v1 = add <4 x i16> %p3, %p4
10 ; FUTURE: cost of 1 {{.*}} add
11 ; FUTURE: cost of 1 {{.*}} add
13 ; PWR9: cost of 1 {{.*}} add
14 ; PWR9: cost of 2 {{.*}} add