1 ; Test the Test Data Class instruction on z14
3 ; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z14 | FileCheck %s
5 declare i32 @llvm.s390.tdc.f128(fp128, i64)
7 ; Check using as i32 - f128
8 define i32 @f3(fp128 %x) {
10 ; CHECK: vl %v0, 0(%r2)
11 ; CHECK: vrepg %v2, %v0, 1
12 ; CHECK: tcxb %f0, 123
15 %res = call i32 @llvm.s390.tdc.f128(fp128 %x, i64 123)