1 ; RUN: llc < %s -march=ptx32 | FileCheck %s
3 define ptx_device i32 @test_selp_i32(i1 %x, i32 %y, i32 %z) {
4 ; CHECK: selp.u32 r0, r1, r2, p1;
5 %a = select i1 %x, i32 %y, i32 %z
9 define ptx_device i64 @test_selp_i64(i1 %x, i64 %y, i64 %z) {
10 ; CHECK: selp.u64 rd0, rd1, rd2, p1;
11 %a = select i1 %x, i64 %y, i64 %z
15 define ptx_device float @test_selp_f32(i1 %x, float %y, float %z) {
16 ; CHECK: selp.f32 r0, r1, r2, p1;
17 %a = select i1 %x, float %y, float %z
21 define ptx_device double @test_selp_f64(i1 %x, double %y, double %z) {
22 ; CHECK: selp.f64 rd0, rd1, rd2, p1;
23 %a = select i1 %x, double %y, double %z