blob: c689944d386b158efa8ce649b26f443c3fc1c471 [file] [log] [blame]
Jozef Kolek3b8ddb62014-11-21 22:04:35 +00001; RUN: llc %s -march=mipsel -mattr=micromips -filetype=asm -O3 \
2; RUN: -disable-mips-delay-filler -relocation-model=pic -o - | FileCheck %s
3
4define void @main() nounwind uwtable {
5entry:
6 %x = alloca i32, align 4
David Blaikiea79ac142015-02-27 21:17:42 +00007 %0 = load i32, i32* %x, align 4
Jozef Kolek3b8ddb62014-11-21 22:04:35 +00008 %cmp = icmp eq i32 %0, 0
9 br i1 %cmp, label %if.then, label %if.end
10
11if.then:
12 store i32 10, i32* %x, align 4
13 br label %if.end
14
15if.end:
16 ret void
17}
18
19; CHECK: bnezc