1; Test 128-bit floating-point square root on z14.
2;
3; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z14 | FileCheck %s
4
5declare fp128 @llvm.sqrt.f128(fp128 %f)
6
7define void @f1(fp128 *%ptr) {
8; CHECK-LABEL: f1:
9; CHECK-DAG: vl [[REG:%v[0-9]+]], 0(%r2)
10; CHECK: wfsqxb [[RES:%v[0-9]+]], [[REG]]
11; CHECK: vst [[RES]], 0(%r2)
12; CHECK: br %r14
13  %f = load fp128, fp128 *%ptr
14  %res = call fp128 @llvm.sqrt.f128(fp128 %f)
15  store fp128 %res, fp128 *%ptr
16  ret void
17}
18