1 ; RUN: llc < %s -march=nvptx64 -mcpu=sm_75 -mattr=+ptx70 | FileCheck %s
2 ; RUN: %if ptxas-11.0 %{ llc < %s -march=nvptx64 -mcpu=sm_75 -mattr=+ptx70 | %ptxas-verify -arch=sm_75 %}
4 declare half @llvm.nvvm.ex2.approx.f16(half)
5 declare <2 x half> @llvm.nvvm.ex2.approx.f16x2(<2 x half>)
7 ; CHECK-LABEL: exp2_half
8 define half @exp2_half(half %0) {
10 ; CHECK: ex2.approx.f16
11 %res = call half @llvm.nvvm.ex2.approx.f16(half %0);
15 ; CHECK-LABEL: exp2_2xhalf
16 define <2 x half> @exp2_2xhalf(<2 x half> %0) {
18 ; CHECK: ex2.approx.f16x2
19 %res = call <2 x half> @llvm.nvvm.ex2.approx.f16x2(<2 x half> %0);