• 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, 10
10  br i1 %cmp, label %if.end, label %if.then
11; 16:	cmpi	${{[0-9]+}}, {{[0-9]+}}
12; 16:	bteqz	$[[LABEL:[0-9A-Ba-b_]+]]
13; 16: $[[LABEL]]:
14if.then:                                          ; preds = %entry
15  store i32 1, i32* @result, align 4
16  br label %if.end
17
18if.end:                                           ; preds = %entry, %if.then
19  ret void
20}
21
22
23