• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: opt < %s -cost-model -analyze -mtriple=systemz-unknown -mcpu=z10
2;
3; Check that some costs can be returned for vector instructions also without
4; vector support.
5
6define void @fun(<2 x double>* %arg) {
7entry:
8   %add = fadd <2 x double> undef, undef
9   shufflevector <2 x i32> undef, <2 x i32> undef, <2 x i32> <i32 1, i32 0>
10   %conv = fptoui <4 x float> undef to <4 x i32>
11   %cmp = icmp eq <2 x i64> undef, undef
12  ret void
13}
14