1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -mtriple=mipsel -relocation-model=pic -O0 -mcpu=mips32 < %s | FileCheck %s
4 define void @test(i32 %x, ptr %p) nounwind {
7 ; CHECK-NEXT: move $1, $4
8 ; CHECK-NEXT: move $4, $1
9 ; CHECK-NEXT: andi $1, $1, 1
10 ; CHECK-NEXT: sb $1, 0($5)
11 ; CHECK-NEXT: andi $1, $4, 1
12 ; CHECK-NEXT: bgtz $1, $BB0_1
14 ; CHECK-NEXT: # %bb.1: # %foo
18 %c = icmp eq i32 %y, 1
20 br i1 %c, label %foo, label %foo