1 ; RUN: llc -march=hexagon < %s
4 ; Test that the compiler does not assert because the DAG is not correct.
7 %returntype = type { i1, i32 }
9 define i32 @test(ptr %a0, ptr %a1, ptr %a2) #0 {
11 br i1 undef, label %b6, label %b4
14 %v5 = call %returntype @foo(ptr nonnull undef, ptr %a2, ptr %a0) #0
21 declare %returntype @foo(ptr, ptr, ptr) #0
23 attributes #0 = { nounwind }