1; Test vector negation on z14. 2; 3; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z14 | FileCheck %s 4 5; Test a v4f32 negation. 6define <4 x float> @f1(<4 x float> %dummy, <4 x float> %val) { 7; CHECK-LABEL: f1: 8; CHECK: vflcsb %v24, %v26 9; CHECK: br %r14 10 %ret = fneg <4 x float> %val 11 ret <4 x float> %ret 12} 13 14; Test an f32 negation that uses vector registers. 15define float @f2(<4 x float> %val) { 16; CHECK-LABEL: f2: 17; CHECK: wflcsb %f0, %v24 18; CHECK: br %r14 19 %scalar = extractelement <4 x float> %val, i32 0 20 %ret = fneg float %scalar 21 ret float %ret 22} 23