brintos

brintos / llvm-project-archived public Read only

0
0
Text · 599 B · d82d3f6 Raw
24 lines · plain
1; RUN: llc -mtriple=mipsel -mcpu=mips32r2 -mattr=+micromips \2; RUN:   -relocation-model=pic -O3 < %s | FileCheck %s3; RUN: llc -O0 -mtriple=mips -mcpu=mips32r2 -mattr=+micromips \4; RUN:   -asm-show-inst < %s | FileCheck %s5 6; Branch instruction added to enable FastISel::selectOperator7; to select OR instruction8define i32 @f1(i32 signext %a, i32 signext %b) {9; CHECK-LABEL: f110; CHECK-NOT: OR16_MMR611      %1 = or i32 %a, %b12       br label %b113b1:14       ret i32 %115}16 17define i32 @f2(i32 signext %a, i32 signext %b) {18entry:19; CHECK-LABEL: f220; CHECK: or1621  %0 = or i32 %a, %b22  ret i32 %023}24