xref: /aosp_15_r20/external/llvm/test/CodeGen/Hexagon/compound.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: llc -march=hexagon -filetype=obj -o - %s | llvm-objdump -d - | FileCheck %s
2
3; CHECK: p0 = cmp.gt(r0,#-1); if (!p0.new) jump:nt
4
5declare void @a()
6declare void @b()
7
8define void @foo(i32 %a) {
9%b = icmp sgt i32 %a, -1
10br i1 %b, label %x, label %y
11x:
12call void @a()
13ret void
14y:
15call void @b()
16ret void
17}