1 ; RUN: llc < %s -march=ptx32 | FileCheck %s
3 define ptx_device void @test_bra_direct() {
4 ; CHECK: bra $L__BB0_1;
11 define ptx_device i32 @test_bra_cond_direct(i32 %x, i32 %y) {
13 ; CHECK: setp.le.u32 %p0, %r[[R0:[0-9]+]], %r[[R1:[0-9]+]]
14 %p = icmp ugt i32 %x, %y
15 ; CHECK-NEXT: @%p0 bra
17 br i1 %p, label %clause.if, label %clause.else
19 ; CHECK: mov.u32 %ret{{[0-9]+}}, %r[[R0]]
22 ; CHECK: mov.u32 %ret{{[0-9]+}}, %r[[R1]]