brintos

brintos / llvm-project-archived public Read only

0
0
Text · 454 B · 3def1a3 Raw
14 lines · plain
1; RUN: opt < %s -passes="print<cost-model>" 2>&1 -disable-output -mtriple=systemz-unknown -mcpu=z102;3; Check that some costs can be returned for vector instructions also without4; vector support.5 6define void @fun(ptr %arg) {7entry:8   %add = fadd <2 x double> undef, undef9   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, undef12  ret void13}14