mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
391ac08575
Summary: This adds all of the CodeGen tests which currently pass. Reviewers: arsenm, kparzysz Subscribers: japaric, wdng Differential Revision: https://reviews.llvm.org/D26388 llvm-svn: 286418
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
|
|
}
|