• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc  -march=mipsel -mattr=mips16 -relocation-model=pic -O3 < %s | FileCheck %s -check-prefix=16
2
3@i = global i32 5, align 4
4@result = global i32 0, align 4
5
6define void @test() nounwind {
7entry:
8  %0 = load i32, i32* @i, align 4
9  %cmp = icmp eq i32 %0, 0
10  br i1 %cmp, label %if.end, label %if.then
11; 16:	beqz	${{[0-9]+}}, $[[LABEL:[0-9A-Ba-b_]+]]
12; 16: $[[LABEL]]:
13if.then:                                          ; preds = %entry
14  store i32 1, i32* @result, align 4
15  br label %if.end
16
17if.end:                                           ; preds = %entry, %if.then
18  ret void
19}
20
21