You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.167
Former-commit-id: 289509151e0fee68a1b591a20c9f109c3c789d3a
This commit is contained in:
parent
e19d552987
commit
b084638f15
18
external/llvm/test/CodeGen/AVR/trunc.ll
vendored
18
external/llvm/test/CodeGen/AVR/trunc.ll
vendored
@ -1,18 +0,0 @@
|
||||
; RUN: llc < %s -march=avr | FileCheck %s
|
||||
|
||||
define i8 @trunc8_loreg(i16 %x, i16 %y) {
|
||||
; CHECK-LABEL: trunc8_loreg:
|
||||
; CHECK: mov r24, r22
|
||||
; CHECK-NEXT: ret
|
||||
%conv = trunc i16 %y to i8
|
||||
ret i8 %conv
|
||||
}
|
||||
|
||||
define i8 @trunc8_hireg(i16 %x, i16 %y) {
|
||||
; CHECK-LABEL: trunc8_hireg:
|
||||
; CHECK: mov r24, r23
|
||||
; CHECK-NEXT: ret
|
||||
%shr1 = lshr i16 %y, 8
|
||||
%conv = trunc i16 %shr1 to i8
|
||||
ret i8 %conv
|
||||
}
|
Reference in New Issue
Block a user