You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
23
external/llvm/test/CodeGen/Mips/micromips-or16.ll
vendored
Normal file
23
external/llvm/test/CodeGen/Mips/micromips-or16.ll
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
; RUN: llc -march=mipsel -mcpu=mips32r2 -mattr=+micromips \
|
||||
; RUN: -relocation-model=pic -O3 < %s | FileCheck %s
|
||||
; RUN: llc -O0 -march=mips -mcpu=mips32r2 -mattr=+micromips \
|
||||
; RUN: -asm-show-inst < %s | FileCheck %s
|
||||
|
||||
; Branch instruction added to enable FastISel::selectOperator
|
||||
; to select OR instruction
|
||||
define i32 @f1(i32 signext %a, i32 signext %b) {
|
||||
; CHECK-LABEL: f1
|
||||
; CHECK-NOT: OR16_MMR6
|
||||
%1 = or i32 %a, %b
|
||||
br label %b1
|
||||
b1:
|
||||
ret i32 %1
|
||||
}
|
||||
|
||||
define i32 @f2(i32 signext %a, i32 signext %b) {
|
||||
entry:
|
||||
; CHECK-LABEL: f2
|
||||
; CHECK: or16
|
||||
%0 = or i32 %a, %b
|
||||
ret i32 %0
|
||||
}
|
Reference in New Issue
Block a user