1 ; RUN: llc -O0 -mtriple=spirv64-unknown-unknown %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV
3 ; CHECK-SPIRV: OpBitwiseAnd
4 ; CHECK-SPIRV-NEXT: OpINotEqual
6 define spir_kernel void @test(i32 %op1, i32 %op2, i8 %op3) {
8 %0 = trunc i8 %op3 to i1
9 %call = call spir_func i32 @_Z14__spirv_Selectbii(i1 zeroext %0, i32 %op1, i32 %op2)
13 declare spir_func i32 @_Z14__spirv_Selectbii(i1 zeroext, i32, i32)