1 ; RUN: llc -O0 -mtriple=spirv64-unknown-unknown %s -o - | FileCheck %s
3 define spir_func float @Test(float %x, float %y) {
5 %0 = call float @llvm.maxnum.f32(float %x, float %y)
10 ; CHECK: %[[#x:]] = OpFunctionParameter %[[#]]
11 ; CHECK: %[[#y:]] = OpFunctionParameter %[[#]]
12 ; CHECK: %[[#res:]] = OpExtInst %[[#]] %[[#]] fmax %[[#x]] %[[#y]]
13 ; CHECK: OpReturnValue %[[#res]]
15 declare float @llvm.maxnum.f32(float, float)