1 ; RUN: llc -march=r600 -mcpu=SI -verify-machineinstrs< %s | FileCheck -check-prefix=SI %s
4 ; Most SALU instructions ignore control flow, so we need to make sure
5 ; they don't overwrite values from other blocks.
9 define void @sgpr_if_else(i32 addrspace(1)* %out, i32 %a, i32 %b, i32 %c, i32 %d, i32 %e) {
11 %0 = icmp eq i32 %a, 0
12 br i1 %0, label %if, label %else
23 %3 = phi i32 [%1, %if], [%2, %else]
25 store i32 %4, i32 addrspace(1)* %out