1; RUN: llc < %s -march=amdgcn -mcpu=tahiti -debug 2; RUN: llc < %s -march=amdgcn -mcpu=tonga -debug 3; REQUIRES: asserts 4 5; Check that SelectionDAGDumper does not crash on int_SI_if. 6define void @add64_in_branch(i64 addrspace(1)* %out, i64 addrspace(1)* %in, i64 %a, i64 %b, i64 %c) { 7entry: 8 %0 = icmp eq i64 %a, 0 9 br i1 %0, label %if, label %else 10 11if: 12 %1 = load i64, i64 addrspace(1)* %in 13 br label %endif 14 15else: 16 %2 = add i64 %a, %b 17 br label %endif 18 19endif: 20 %3 = phi i64 [%1, %if], [%2, %else] 21 store i64 %3, i64 addrspace(1)* %out 22 ret void 23} 24 25