1 ; RUN: not --crash llc -mtriple=amdgcn -mcpu=gfx1030 -verify-machineinstrs -o /dev/null %s 2>&1 | FileCheck %s --ignore-case --check-prefix=FAIL
2 ; RUN: not --crash llc -global-isel -mtriple=amdgcn -mcpu=gfx1030 -verify-machineinstrs -o /dev/null %s 2>&1 | FileCheck %s --ignore-case --check-prefix=FAIL
4 define amdgpu_gs void @test_fptrunc_round_legalization(double %a, i32 %data0, <4 x i32> %data1, ptr addrspace(1) %out) {
5 ; FAIL: LLVM ERROR: Cannot select
6 %res = call half @llvm.fptrunc.round.f64(double %a, metadata !"round.upward")
7 store half %res, ptr addrspace(1) %out, align 4
11 declare half @llvm.fptrunc.round.f64(double, metadata)