mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-15 16:09:02 +00:00
619ca04281
Summary: This adds all of the CodeGen tests which currently pass. Reviewers: arsenm, kparzysz Subscribers: japaric, wdng Differential Revision: https://reviews.llvm.org/D26388 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286418 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
144 B
LLVM
9 lines
144 B
LLVM
; RUN: llc < %s -march=avr | FileCheck %s
|
|
|
|
define i8 @neg8(i8 %x) {
|
|
; CHECK-LABEL: neg8:
|
|
; CHECK: neg r24
|
|
%sub = sub i8 0, %x
|
|
ret i8 %sub
|
|
}
|