brintos

brintos / llvm-project-archived public Read only

0
0
Text · 658 B · c276515 Raw
25 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc -mtriple=mipsel -relocation-model=pic -O0 -mcpu=mips32 < %s | FileCheck %s3 4define void @test(i32 %x, ptr %p) nounwind {5; CHECK-LABEL: test:6; CHECK:       # %bb.0:7; CHECK-NEXT:    move $1, $48; CHECK-NEXT:    move $4, $19; CHECK-NEXT:    andi $1, $1, 110; CHECK-NEXT:    sb $1, 0($5)11; CHECK-NEXT:    andi $1, $4, 112; CHECK-NEXT:    bgtz $1, $BB0_113; CHECK-NEXT:    nop14; CHECK-NEXT:  $BB0_1: # %foo15; CHECK-NEXT:    jr $ra16; CHECK-NEXT:    nop17  %y = and i32 %x, 118  %c = icmp eq i32 %y, 119  store i1 %c, ptr %p20  br i1 %c, label %foo, label %foo21 22foo:23  ret void24}25