1 ; RUN: llc -O2 -march=hexagon < %s | FileCheck %s
3 define i32 @foo(i32 %x) {
5 br i1 %p, label %zero, label %nonzero
8 %c = icmp eq i32 %x, %v1
9 ; This branch will be rewritten by HCP. A bug would cause both branches to
10 ; go away, leaving no path to "ret -1".
11 br i1 %c, label %zero, label %other