Clang] Fix expansion of response files in -Wp after integrated-cc1 change
[llvm-project.git] / llvm / test / Analysis / CostModel / PowerPC / future-cost-model.ll
blob3e4fb82e600c6d95c6d9bc6f80a987f8d8b04b6d
1 ; RUN: opt < %s -cost-model -analyze -mtriple=powerpc64le-unknown-linux-gnu \
2 ; RUN:       -mcpu=future | FileCheck %s --check-prefix=FUTURE
3 ; RUN: opt < %s -cost-model -analyze -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) {
7   %i1 = add i16 %p1, %p2
8   %v1 = add <4 x i16> %p3, %p4
9   ret void
10   ; FUTURE: cost of 1 {{.*}} add
11   ; FUTURE: cost of 1 {{.*}} add
13   ; PWR9: cost of 1 {{.*}} add
14   ; PWR9: cost of 2 {{.*}} add