1 ; RUN: llc < %s -mtriple=amdgcn -mcpu=tahiti -debug
2 ; RUN: llc < %s -mtriple=amdgcn -mcpu=tonga -debug
5 ; Check that SelectionDAGDumper does not crash on int_SI_if.
6 define amdgpu_kernel void @add64_in_branch(ptr addrspace(1) %out, ptr addrspace(1) %in, i64 %a, i64 %b, i64 %c) {
9 br i1 %0, label %if, label %else
12 %1 = load i64, ptr addrspace(1) %in
20 %3 = phi i64 [%1, %if], [%2, %else]
21 store i64 %3, ptr addrspace(1) %out